[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen Performance


  • To: Dustin.Henning@xxxxxxxxxxx
  • From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
  • Date: Fri, 16 Oct 2009 07:36:49 -0700
  • Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, Fasiha Ashraf <feehapk@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 16 Oct 2009 07:37:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=KKlNS3UAxPsU9UWMYf5BoG+O3s14AIAP5L7G1q2sftxBxssculAkvxKAvL7CqkYjTM zpCLrUOB0PPTNeMjZQKRqIujW92xqtpnhXqJxbva9/gt415qwdlfHC1R5xOzbz1k7TGN GmCdNbltOZ+3v2tKf3TqacinMGjJhmWiF06ys=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, Oct 16, 2009 at 5:43 AM, Dustin Henning <Dustin.Henning@xxxxxxxxxxx> wrote:
<snip> DomU to DomU performance is 1/3 to 2/3 that of DomU to Dom0 even though that the DomU to DomU traffic is probably traversing the same path as DomU to Dom0. <snip>

Cheers!
Grant McWilliams
______________________________________

Seeing as how each domU nic exists in dom0, as does the bridge, I would argue that traffic between domU and domU take 50% more steps than traffic between domU and dom0. ÂLooking at it the other way, that would be 33% less steps between domU and dom0 than domU and domU. ÂHere is why:

Between domU A and domU B, the traffic has to traverse domU A's vif in dom0, the bridge in dom0, and domU B's vif in dom0. ÂThat is three virtual devices.

Between domU A and dom0, the traffic only has to traverse domU A's vif and the bridge, it has then arrived in dom0, that is only two virtual devices.

I could be wrong, and would love to be given a more detailed and technical answer as to how I am if that is the case. ÂRegarding the performance difference, my opinion is that we could always use more performance in all aspects, period. ÂSure, eventually costs are prohibiting and we have to settle, but more performance wouldn't hurt no matter how many people think performance is good enough, and only seeing notably better performance can convince some people that any given performance isn't good enough.

Dustin

Dustin,
 This is how it works... :-) This entire thread exists somewhere else since I went through the exact same process the first time I was doing my testing. I understand how Xen works and it's unfortunate that this limitation will never be replaced. Maybe it will but by then everyone will have migrated to KVM which doens't seem to suffer from it. It's very inefficient to pass all traffic to Dom0 then pass it back to another domU. It's like you always have a router to go through even if the DomUs are on the same physical network.

It also seems that it's the return trip that's slow (even without the broken pipe) and my testing before (and the resulting message thread before) showed that data going to the Dom0 was fast but data back wasn't. If we throw enough hardware at it we get wire speed or we assign a nic to each DomU but then we can only get wire speed.


Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.