Bug 1304818
Summary: | Slow networking performance on Windows guests | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Mohammed Gamal <mohammed.gamal> | ||||
Component: | virtio-win | Assignee: | Yvugenfi <yvugenfi> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | ghammer, juzhang, lijin, michen, sapandit, virt-maint, vrozenfe, wquan, yama, yvugenfi | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-08-01 08:39:30 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 950611 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Mohammed Gamal
2016-02-04 17:20:39 UTC
Created attachment 1121169 [details]
iperf stats for Windows 2012
Any progress on this? Re-assigning wquan@ and yama@ to follow up this issue. (In reply to Mohammed Gamal from comment #3) > Any progress on this? Just come back from spring festival holiday. And the machine is busy now, we will reproduce it once the machine is free. QE CAN reproduce this issue with virtio-win-prewhql-112:win2012 and rhel7 guest show different results when do iperf,rhel7 guest 19Gbits/sec,win2012 4.97 Gbits/sec. rhel7 guest: # iperf3 -c 10.73.69.2 -p 5201 Connecting to host 10.73.69.2, port 5201 [ 4] local 10.73.68.159 port 53360 connected to 10.73.69.2 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 1.93 GBytes 16.6 Gbits/sec 0 2.88 MBytes [ 4] 1.00-2.00 sec 2.27 GBytes 19.5 Gbits/sec 0 3.07 MBytes [ 4] 2.00-3.00 sec 2.26 GBytes 19.5 Gbits/sec 0 3.07 MBytes [ 4] 3.00-4.00 sec 2.17 GBytes 18.6 Gbits/sec 0 3.07 MBytes [ 4] 4.00-5.00 sec 2.16 GBytes 18.6 Gbits/sec 0 3.07 MBytes [ 4] 5.00-6.00 sec 2.46 GBytes 21.1 Gbits/sec 0 3.07 MBytes [ 4] 6.00-7.00 sec 2.29 GBytes 19.7 Gbits/sec 0 3.07 MBytes [ 4] 7.00-8.00 sec 2.16 GBytes 18.5 Gbits/sec 0 3.07 MBytes [ 4] 8.00-9.00 sec 2.20 GBytes 18.9 Gbits/sec 0 3.07 MBytes [ 4] 9.00-10.00 sec 2.20 GBytes 18.9 Gbits/sec 0 3.07 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 22.1 GBytes 19.0 Gbits/sec 0 sender [ 4] 0.00-10.00 sec 22.1 GBytes 19.0 Gbits/sec receiver iperf Done. windows server2012 guest: Connecting to host 10.73.69.2, port 5201 [ 4] local 10.73.68.126 port 49203 connected to 10.73.69.2 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 591 MBytes 4.95 Gbits/sec [ 4] 1.00-2.00 sec 641 MBytes 5.38 Gbits/sec [ 4] 2.00-3.00 sec 624 MBytes 5.23 Gbits/sec [ 4] 3.00-4.00 sec 678 MBytes 5.69 Gbits/sec [ 4] 4.00-5.00 sec 616 MBytes 5.17 Gbits/sec [ 4] 5.00-6.00 sec 508 MBytes 4.27 Gbits/sec [ 4] 6.00-7.00 sec 580 MBytes 4.87 Gbits/sec [ 4] 7.00-8.00 sec 612 MBytes 5.14 Gbits/sec [ 4] 8.00-9.00 sec 532 MBytes 4.46 Gbits/sec [ 4] 9.00-10.00 sec 547 MBytes 4.59 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 5.79 GBytes 4.97 Gbits/sec sender [ 4] 0.00-10.00 sec 5.79 GBytes 4.97 Gbits/sec receiver iperf Done. package info: kernel-3.10.0-335.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.5.x86_64 virtio-win-prewhql-112 qemu cli: /usr/libexec/qemu-kvm -cpu SandyBridge -M pc -enable-kvm -m 2G -smp 2 -nodefconfig -nodefaults -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=112BLK201264KJ9,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga cirrus -qmp tcp:0:4444,server,nowait -monitor stdio -drive file=en_windows_server_2012_x64_dvd_915478.iso,if=none,id=drive-ide0-0-1,format=raw,cache=none,media=cdrom -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:3b:65:ee:ff According to performance team,windows guest performance is indeed slower than linux guest with netperf tool,let's wait for the detailed data. (In reply to lijin from comment #6) > QE CAN reproduce this issue with virtio-win-prewhql-112:win2012 and rhel7 > guest show different results when do iperf,rhel7 guest 19Gbits/sec,win2012 > 4.97 Gbits/sec. > > rhel7 guest: > # iperf3 -c 10.73.69.2 -p 5201 > Connecting to host 10.73.69.2, port 5201 > [ 4] local 10.73.68.159 port 53360 connected to 10.73.69.2 port 5201 > [ ID] Interval Transfer Bandwidth Retr Cwnd > [ 4] 0.00-1.00 sec 1.93 GBytes 16.6 Gbits/sec 0 2.88 MBytes > > [ 4] 1.00-2.00 sec 2.27 GBytes 19.5 Gbits/sec 0 3.07 MBytes > > [ 4] 2.00-3.00 sec 2.26 GBytes 19.5 Gbits/sec 0 3.07 MBytes > > [ 4] 3.00-4.00 sec 2.17 GBytes 18.6 Gbits/sec 0 3.07 MBytes > > [ 4] 4.00-5.00 sec 2.16 GBytes 18.6 Gbits/sec 0 3.07 MBytes > > [ 4] 5.00-6.00 sec 2.46 GBytes 21.1 Gbits/sec 0 3.07 MBytes > > [ 4] 6.00-7.00 sec 2.29 GBytes 19.7 Gbits/sec 0 3.07 MBytes > > [ 4] 7.00-8.00 sec 2.16 GBytes 18.5 Gbits/sec 0 3.07 MBytes > > [ 4] 8.00-9.00 sec 2.20 GBytes 18.9 Gbits/sec 0 3.07 MBytes > > [ 4] 9.00-10.00 sec 2.20 GBytes 18.9 Gbits/sec 0 3.07 MBytes > > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bandwidth Retr > [ 4] 0.00-10.00 sec 22.1 GBytes 19.0 Gbits/sec 0 sender > [ 4] 0.00-10.00 sec 22.1 GBytes 19.0 Gbits/sec > receiver > > iperf Done. > > windows server2012 guest: > Connecting to host 10.73.69.2, port 5201 > [ 4] local 10.73.68.126 port 49203 connected to 10.73.69.2 port 5201 > [ ID] Interval Transfer Bandwidth > [ 4] 0.00-1.00 sec 591 MBytes 4.95 Gbits/sec > [ 4] 1.00-2.00 sec 641 MBytes 5.38 Gbits/sec > [ 4] 2.00-3.00 sec 624 MBytes 5.23 Gbits/sec > [ 4] 3.00-4.00 sec 678 MBytes 5.69 Gbits/sec > [ 4] 4.00-5.00 sec 616 MBytes 5.17 Gbits/sec > [ 4] 5.00-6.00 sec 508 MBytes 4.27 Gbits/sec > [ 4] 6.00-7.00 sec 580 MBytes 4.87 Gbits/sec > [ 4] 7.00-8.00 sec 612 MBytes 5.14 Gbits/sec > [ 4] 8.00-9.00 sec 532 MBytes 4.46 Gbits/sec > [ 4] 9.00-10.00 sec 547 MBytes 4.59 Gbits/sec > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bandwidth > [ 4] 0.00-10.00 sec 5.79 GBytes 4.97 Gbits/sec sender > [ 4] 0.00-10.00 sec 5.79 GBytes 4.97 Gbits/sec > receiver > > iperf Done. > > package info: > kernel-3.10.0-335.el7.x86_64 > qemu-kvm-rhev-2.3.0-31.el7_2.5.x86_64 > virtio-win-prewhql-112 > > qemu cli: > /usr/libexec/qemu-kvm -cpu SandyBridge -M pc -enable-kvm -m 2G -smp 2 > -nodefconfig -nodefaults -rtc base=localtime,driftfix=slew -boot > order=cd,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive > file=112BLK201264KJ9,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao, > cache=none -device > ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -chardev > pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 > -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga cirrus -qmp > tcp:0:4444,server,nowait -monitor stdio -drive > file=en_windows_server_2012_x64_dvd_915478.iso,if=none,id=drive-ide0-0-1, > format=raw,cache=none,media=cdrom -device > ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev > tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0,vhost=on -device > virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:3b:65:ee:ff > > According to performance team,windows guest performance is indeed slower > than linux guest with netperf tool,let's wait for the detailed data. Are those guest to guest results? Both sides are Windows and both sides are RHEL? Windows ha deficiency without enabled RSC on receive side and will definitely be slower than Linux. While we have implemented RSC - it can be enabled only in compile time because we cannot yet certify such a driver. Can you test Windows as iperf client (TX only)? Any progress with this? Test 10 virtio-win-prewhql builds, it's not a regression issue. is an old issue from following results. rhel 7 guest as iperf3 receiver (iper3 -s) win2012 64 bits as iperf3 sender (iper3 -c $rhel7_guest_ip -p 5201) package info: host/guest 3.10.0-327.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.7.x86_64 +---------------+---------------+---------------+---------------+---------------+ | rhel7 guest |2012-build112 |2012-build109 |2012-build106 |2012-build103 | +---------------+---------------+---------------+---------------+---------------+ | 17.4 Gbits/sec|8.92 Gbits/sec | 8.84 Gbits/sec| 8.76 Gbits/sec| 8.87 Gbits/sec| +---------------+---------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+ |2012-build100 |2012-build97 |2012-build94 | 2012-build91 | +---------------+---------------+---------------+---------------+ |8.84 Gbits/sec | 9.07 Gbits/sec| 9.07 Gbits/sec| 8.91 Gbits/sec| +---------------+---------------+---------------+---------------+ (In reply to Mohammed Gamal from comment #11) > Any progress with this? please look at comment12. (In reply to Yanhui Ma from comment #13) > (In reply to Mohammed Gamal from comment #11) > > Any progress with this? > > please look at comment12. Does this mean it's a known issue? Is there an intention to fix it? (In reply to Mohammed Gamal from comment #14) > (In reply to Yanhui Ma from comment #13) > > (In reply to Mohammed Gamal from comment #11) > > > Any progress with this? > > > > please look at comment12. > > Does this mean it's a known issue? Is there an intention to fix it? Sure, we will look into performance issues for next release. Any updates on this? (In reply to Mohammed Gamal from comment #16) > Any updates on this? It is in our development queue. The receive side performance is related to RSC feature that is currently disabled in our driver (see BZ #950611). We are working to have certified driver with this feature turned on. What's the latest state of this bug? I am not sure exactly what is the state of BZ #950611 (In reply to Mohammed Gamal from comment #25) > What's the latest state of this bug? I am not sure exactly what is the state > of BZ #950611 In progress. Patches will be pushed to upstream soon. *** This bug has been marked as a duplicate of bug 950611 *** |