Created
November 6, 2010 03:02
-
-
Save kbarber/665153 to your computer and use it in GitHub Desktop.
vhost_net performance in kvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
without vhost_net: | |
throughput test | |
root@web1:~# ping -s 1024 -l 120 -c 1000000 -f -q 10.22.100.129 | |
PING 10.22.100.129 (10.22.100.129) 1024(1052) bytes of data. | |
--- 10.22.100.129 ping statistics --- | |
1000000 packets transmitted, 1000000 received, 0% packet loss, time 12944ms | |
rtt min/avg/max/mdev = 0.092/0.899/2.238/0.178 ms, pipe 120, ipg/ewma 0.012/0.719 ms | |
root@web1:~# | |
latency test | |
root@web1:~# ping -c 1000000 -f -q 10.22.100.129 | |
PING 10.22.100.129 (10.22.100.129) 56(84) bytes of data. | |
--- 10.22.100.129 ping statistics --- | |
1000000 packets transmitted, 1000000 received, 0% packet loss, time 751418ms | |
rtt min/avg/max/mdev = 0.257/0.724/12.125/0.083 ms, pipe 2, ipg/ewma 0.751/0.689 ms | |
root@web1:~# | |
netperf | |
root@web1:~# netperf -H 10.22.100.129 | |
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.22.100.129 (10.22.100.129) port 0 AF_INET : demo | |
Recv Send Send | |
Socket Socket Message Elapsed | |
Size Size Size Time Throughput | |
bytes bytes bytes secs. 10^6bits/sec | |
87380 16384 16384 10.00 1286.45 | |
root@web1:~# | |
after vhost_net: | |
throughput test | |
root@web1:~# ping -s 1024 -l 120 -c 1000000 -f -q 10.22.100.129 | |
PING 10.22.100.129 (10.22.100.129) 1024(1052) bytes of data. | |
--- 10.22.100.129 ping statistics --- | |
1000000 packets transmitted, 1000000 received, 0% packet loss, time 8627ms | |
rtt min/avg/max/mdev = 0.046/0.448/1.487/0.100 ms, pipe 120, ipg/ewma 0.008/0.349 ms | |
root@web1:~# | |
latency test | |
root@web1:~# ping -c 1000000 -f -q 10.22.100.129 | |
PING 10.22.100.129 (10.22.100.129) 56(84) bytes of data. | |
--- 10.22.100.129 ping statistics --- | |
1000000 packets transmitted, 1000000 received, 0% packet loss, time 97174ms | |
rtt min/avg/max/mdev = 0.052/0.077/4.824/0.018 ms, ipg/ewma 0.097/0.073 ms | |
root@web1:~# | |
netperf | |
root@web1:~# netperf -H 10.22.100.129 | |
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.22.100.129 (10.22.100.129) port 0 AF_INET : demo | |
Recv Send Send | |
Socket Socket Message Elapsed | |
Size Size Size Time Throughput | |
bytes bytes bytes secs. 10^6bits/sec | |
87380 16384 16384 10.00 13450.63 | |
root@web1:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment