WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Bad TCP accept performance

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: RE: [Xen-users] Bad TCP accept performance
From: "Russ Purinton" <rpurinton@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 May 2011 11:49:21 -0400
Cc: Carl Byström <cgbystrom@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 May 2011 08:51:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110525140811.GH32595@xxxxxxxxxxx>
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: <BANLkTim68TbZLrCVZcK8VWQxErYHkC56vA@xxxxxxxxxxxxxx><37A3FE5EB8938A499D07FA505DD32ED2BEFA75@xxxxxxxxxxxxxxxxxxxxxxx> <20110525140811.GH32595@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acwa5WgqY1QFHIFsROiO68IX4cInrQADTk0A
Thread-topic: [Xen-users] Bad TCP accept performance
I thought that even 127.0.0.0/8 traffic still went thru the NIC to loop.  I 
can't seem to find anything on the net supporting this one way or the other, 
though I've seen multiple posts about pinging 127.0.0.1 to test and verify the 
NIC card and drivers working properly.  Not sure what this means.

Also, if it doesn't pass to the NIC, the NIC then the question arises how the 
IP and TCP checksums are being applied if offloading is enabled and it doesn't 
pass thru the NIC.  

I had thought that on a physical host, the loopback ping would hit the network 
card.  I'm guessing with a virtual host, the loopback ping would only hit the 
Virtual NIC but likely not the physical NIC.  If it goes to the virtual NIC, 
then it would be passing thru the PV drivers to the QEMU layer supporting the 
virtual networking right?

The packets shouldn't be visible even from Dom0 because they should stay within 
the vNIC.  Again, not finding any supporting documentation on the 'net, one way 
or the other, so feel free to prove me wrong.

Thanks

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pasi Kärkkäinen
Sent: Wednesday, May 25, 2011 10:08 AM
To: Russ Purinton
Cc: Carl Byström; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Bad TCP accept performance


Using localhost (127.0.0.1) goes thru loopback device only, ie. interface 'lo',
so it does NOT go through NIC card or xen/PV drivers..

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