On 08/20/2009 08:00 PM, Michael S. Tsirkin wrote:
Surprisingly, I seem to get better-than-userspace throughput with this benchmark as well. Here's a test run locally, host-to-guest, over a veth link: vhost: [root@qus19 ~]# ping -c 1000000 -f -q 11.0.0.4 PING 11.0.0.4 (11.0.0.4) 56(84) bytes of data. --- 11.0.0.4 ping statistics --- 1000000 packets transmitted, 1000000 received, 0% packet loss, time 10230ms rtt min/avg/max/mdev = 0.005/0.006/0.035/0.000 ms, ipg/ewma 0.010/0.006 ms
6 microseconds is very impressive for round-trip time.
[root@qus19 ~]# ping -s 1024 -l 120 -c 1000000 -f -q 11.0.0.4 PING 11.0.0.4 (11.0.0.4) 1024(1052) bytes of data. --- 11.0.0.4 ping statistics --- 1000000 packets transmitted, 1000000 received, 0% packet loss, time 11270ms rtt min/avg/max/mdev = 0.006/0.006/0.022/0.002 ms, pipe 120, ipg/ewma 0.011/0.007 ms
That's only 100MB/sec, but understandable given the lack of interrupt mitigation.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html