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-devel

[Xen-devel] RE: About ping latency in SR-IOV

To: XiaYubin <xiayubin@xxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: [Xen-devel] RE: About ping latency in SR-IOV
From: "Rose, Gregory V" <gregory.v.rose@xxxxxxxxx>
Date: Fri, 29 Oct 2010 14:58:42 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Oct 2010 15:00:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik=96NizrHUR0WMBUGtsxrFtirx175nE46Z-31W@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik=96NizrHUR0WMBUGtsxrFtirx175nE46Z-31W@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Act3Q7C8URQekxiPSn6NQVwov8C6DAAcKhdg
Thread-topic: About ping latency in SR-IOV
Yes, it is dependent on the Interrupt Throttling setting.  Use modinfo on the 
driver or check the readme for more information on how to use the module 
parameter.

- Greg

> -----Original Message-----
> From: XiaYubin [mailto:xiayubin@xxxxxxxxx]
> Sent: Friday, October 29, 2010 1:31 AM
> To: Rose, Gregory V; Dong, Eddie
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: About ping latency in SR-IOV
> 
> Hi, Greg, Eddie,
> 
> I found that in SR-IOV + HVM environment, ping latency depends on ping
> interval.
> 
> The NIC is Intel 82576 (1000Mbps), server uses xen-4.0.1, domain-0 is
> kernel-2.6.32
> and HVM is kernel-2.6.31. The server and client are connected through
> a 1000Mbps switch.
> 
> The data is as following:
> 
> # ping -i 1 192.168.0.21
> 
> PING 192.168.0.21 (192.168.0.21) 56(84) bytes of data.
> 64 bytes from 192.168.0.21: icmp_seq=1 ttl=64 time=0.117 ms
> 64 bytes from 192.168.0.21: icmp_seq=2 ttl=64 time=0.100 ms
> 64 bytes from 192.168.0.21: icmp_seq=3 ttl=64 time=0.102 ms
> 64 bytes from 192.168.0.21: icmp_seq=4 ttl=64 time=0.100 ms
> 64 bytes from 192.168.0.21: icmp_seq=5 ttl=64 time=0.105 ms
> 
> --- 192.168.0.21 ping statistics ---
> 5 packets transmitted, 5 received, 0% packet loss, time 3998ms
> rtt min/avg/max/mdev = 0.100/0.104/0.117/0.014 ms
> 
> # ping -i 0 192.168.0.21
> 
> PING 192.168.0.21 (192.168.0.21) 56(84) bytes of data.
> 64 bytes from 192.168.0.21: icmp_seq=1 ttl=64 time=0.114 ms
> 64 bytes from 192.168.0.21: icmp_seq=2 ttl=64 time=0.418 ms
> 64 bytes from 192.168.0.21: icmp_seq=3 ttl=64 time=0.455 ms
> 64 bytes from 192.168.0.21: icmp_seq=4 ttl=64 time=0.456 ms
> 64 bytes from 192.168.0.21: icmp_seq=5 ttl=64 time=0.455 ms
> 
> --- 192.168.0.21 ping statistics ---
> 5 packets transmitted, 5 received, 0% packet loss, time 1ms
> rtt min/avg/max/mdev = 0.114/0.379/0.456/0.135 ms, ipg/ewma 0.400/0.252 ms
> 
> The ping latency of PF (in domain-0) is about 0.08ms in both tests.
> Is this caused by something related to interrupt throttle configuration?
> If so, can we adjust its threshold?
> 
> Thanks!
> 
> --
> Yubin

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

<Prev in Thread] Current Thread [Next in Thread>