On 05/28/2011 12:18 AM, Sasha Levin wrote: > Use ioeventfds to receive notifications of IO events in virtio-net. > Doing so prevents an exit every time we receive/send a packet. > > Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx> Hi, Sasha Here below are the test results you asked yesterday with your ioeventfd changes. ---------------------------------- TAP based network performance with ioeventfd (host -> guest) hj:~# netperf -c -t TCP_STREAM -H guest TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to guest (192.168.33.15) port 0 AF_INET : demo Recv Send Send Utilization Service Demand Socket Socket Message Elapsed Send Recv Send Recv Size Size Size Time Throughput local remote local remote bytes bytes bytes secs. 10^6bits/s % S % U us/KB us/KB 87380 16384 16384 10.00 5477.07 60.01 -1.00 3.590 -1.000 hj:~# netperf -c -t UDP_STREAM -H guest UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to guest (192.168.33.15) port 0 AF_INET : demo Socket Message Elapsed Messages CPU Service Size Size Time Okay Errors Throughput Util Demand bytes bytes secs # # 10^6bits/sec % SU us/KB 114688 65507 10.00 221207 0 11592.2 73.33 8.368 110592 10.00 54793 2871.4 -1.00 -1.000 (guest-> host) root@sid2:~# netperf -c -t TCP_STREAM -H host TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to host (192.168.33.2) port 0 AF_INET : demo Recv Send Send Utilization Service Demand Socket Socket Message Elapsed Send Recv Send Recv Size Size Size Time Throughput local remote local remote bytes bytes bytes secs. 10^6bits/s % S % U us/KB us/KB 87380 16384 16384 10.00 1724.30 98.70 -1.00 4.689 -1.000 root@sid2:~# netperf -c -t UDP_STREAM -H host UDP UNIDIRECTIONAL SEND TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to host (192.168.33.2) port 0 AF_INET : demo Socket Message Elapsed Messages CPU Service Size Size Time Okay Errors Throughput Util Demand bytes bytes secs # # 10^6bits/sec % SU us/KB 110592 65507 10.00 117986 0 6182.8 99.90 1.364 114688 10.00 114480 5999.1 -1.00 -1.000 -- Best Regards, Asias He -- 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