This is an old revision of the document!


Benchmark plan

Benchmark result

KVM-QEMU TAP versus User mode network stack

  • This benchmark is addressed on the difference between user-mode-network-stack and tap interface of qemu-kvm.
  • Image is placed on Host OS, to minimize the real network effect.
  • Parameters for user mode network stack: -net nic -net user,tftp=/tftproot,bootfile=gpxe_script
  • Parameters for TAP network: -net nic -net tap,ifname=tap0,script=no
  • Default interface for guest OS is Realtek 8139.
  • Get a disk image with 268,435,456 bytes.
Network type Linux wget gPXE 8K Window gPXE 64K Window
User mode 476KB/s 550s 298KB/s 880s 298KB/s 879s
TAP 36MB/s 7s 5243KB/s 50s 495KB/s 529s

Port wscale branch against current gPXE master

Recent TCP updates is a lot different from previous base of wscale branch. Still working on it.

Window size difference

Window Size tcpfix2 branch wscale branch
KVM TAP/NAT Native KVM TAP/NAT Native
8K 17KB/s
16K 43KB/s
32K 94KB/s
64K 198KB/s
128K
256K
512K
1024K

QR Code
QR Code soc:2010:cooldavid:journal:week11 (generated for current page)