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


Re: [Xen-users] Performance of network block devices (iSCSI)

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Performance of network block devices (iSCSI)
From: Ross Walker <rswwalker@xxxxxxxxx>
Date: Thu, 13 Nov 2008 18:51:27 -0500
Cc: Xen Users Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 Nov 2008 15:52:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=fiyjDgFYfqhkvlHaCvmqtkpXK3L7cdKRucAszk/IEDA=; b=sYG0663siYAcRlUQhsWzsuX6lqVa9PPmgh88nvAn5Ksxv9IDAY4Tp41ANaL9Y33+Pv aC4BMUdSSwmgOtQB8leFDMQ/grn2OJyiaI6wUihqbM47lMJhNcJpPV0NK0V3O2X6zTRS aU5A2xIfPl1XCBUZy6EFol5QYMEj4P0Ed2DWo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=yEVWmw3+DXonP8o4vKyLDPqjLgJGGINn7fhb0JdfUBaXiAoXOwCwPAqAsT6NsmXkz3 Olesq/1mlCIbtHwrTcTU5+uYtessOhVKXFao8vAU9jUSOgu9F7rkzLp9JJopeeVAZ+fn AcnnnL+7/Kq1e99Oi/HTaJ/mGB2p/rsril32M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a0624080cc5425f8abec8@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <a06240809c542456d400a@xxxxxxxxxxxxxxxxxxxxxx> <200811131615.55008.jmadden@xxxxxxxxxxx> <a0624080ac54250ed5210@xxxxxxxxxxxxxxxxxxxxxx> <200811131735.33697.jmadden@xxxxxxxxxxx> <a0624080cc5425f8abec8@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Nov 13, 2008, at 5:58 PM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:

John Madden wrote:

I'd try moving it to dom0 so only the block i/o component of the picture goes over the hypervisor. You're doing a lot of double-work by doing both block i/o and the networking needed for iscsi when you do the initiator in domU.
Configuration will be easier, too.

Not sure what you are saying about the double work - with the DomU doing the iSCSI, all the Dom0 has to do is pass the network packets through. Moving the iSCSI initiator to the Dom0 means that the Dom0 has to do the iSCSI stuff and then route the virtual block device to the DomU.

I've deliberately not put the iSCSI initiator in Dom0 as I want to run the absolute minimum in Dom0. Also, putting the iSCSI initiator in Dom0 makes it harder to move a VM to another host - having it in the DomU means that the VM can be moved without any config changes.

Try running netperf between dom0 and domU to see how well the networking is working, then between domU and the iSCSI target (or another external host).

There have been weird problems with vlans too, dropping ids on forwards depending on the source card and how it pads and such. Google for Xen network performance issue/problem.


Xen-users mailing list