This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Why two netback drivers? (netback/0 and netback/1)

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Why two netback drivers? (netback/0 and netback/1)
From: "Blazej Adamczyk" <blazej.adamczyk@xxxxxxxxx>
Date: Sun, 14 Nov 2010 17:02:26 +0100
Delivery-date: Mon, 15 Nov 2010 05:58:48 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=bs03zFNrlzN6JaieypTSpV/ZyhAxNObVz9G7VzXraj4=; b=oJECKYm99jSiKyhlcAjLr6JeudNnKi+SgRI87U1F1WZJ+eZGm1ymw2DwpTY1PobcpQ mP7vjKEVFYJFSVDfIqZ0Cd63Nepz2vzZdP/D6SJwrYE2lww/QRuOuVCIuKa0YDI8KaAm JJ0OqGeSSXMDWtFaQixS4HKMOxt/tvMb8dfxI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=wekFCUNKkMKzAmB1dMhe7RY9mkNyLWBidRPf7B9HZoagcVqZkm61FwzSaCPVdqX+Vb Rvgzt+BrE3wuGSut37fDl98oZ6hG/gK4lR7S8tOg1BKcEIzHKusAkFgFDMpUe6i57yjt TyEICxxWrXsWuejFABrIhU+dj4RLZ6MzD6UJ0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuEFVSeD/KsSpUlT1icWvqyAA/O6A==

Hello everyone,


I was looking at Xen networking IO architecture and I really don’t understand one thing. On Dom0 right after booting up there are two netback kernel threads (netback/0 and netback/1). As I have noticed, they both share the tasks related with scheduling the traffic for all DomUs. Having two guest domains assigns each netback to a single domain (from my observations). But having more guest domains makes them share these two processes.


Can anyone tell me why there are exactly two netback processes? What part of the Xen code is responsible for creating them and if I can change configuration to have more of them?


There are also loop0, loop1.. processes but they are created for each DomU created and as I can guess they are responsible for connecting eth0 interface with vif interfaces.


The reason I ask this question is that I was wondering if I can set priorities on each DomU network IO operations by changing the scheduling policy on the driver domain.


My configuration is simple:

Domain 0 is also the driver domain. The netback drivers are compiled into the kernel. I use Linux Gentoo and Xen 4.0.


Thanks in advance for any help and comments.


Best regards,


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>