Bug 1191836

Summary: [whql][netkvm][mq]job "NDISTest 6.5 - [2 Machine] - GlitchFreeDevice" failed due to "not received the expected number of packets" w/ 4 queues
Product: Red Hat Enterprise Linux 7 Reporter: lijin <lijin>
Component: virtio-winAssignee: Yvugenfi <yvugenfi>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: ailan, jen, juzhang, lijin, lmiksik, michen, rbalakri, virt-maint, vrozenfe, yvugenfi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
NO_DOCS
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-24 08:49:50 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:

Description lijin 2015-02-12 05:20:15 UTC
Description of problem:
run on bridge env and with 4 queues,job "NDISTest 6.5 - [2 Machine] a- GlitchFreeDevice" failed due to "Test adapter received 26% of packets,required 40% to pass"

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.1.2-20.el7.x86_64
kernel-3.10.0-223.el7.x86_64
seabios-1.7.5-4.el7.x86_64
virtio-win-prewhql-100

How reproducible:
win7-64 guest hit this issue 100%,run 8 times,all failed
other guest also hit this issue,but not 100%,job can pass after run 2~3 times

Steps to Reproduce:
1.boot guest with:
nic1:
/usr/libexec/qemu-kvm -name 100NICWIN764CLI -enable-kvm -m 2G -smp 4 -uuid 0161d5f0-b665-4db3-84d3-6614a6875300 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/100NICWIN764CLI,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=100NICWIN764CLI,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 -drive file=en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=100NICWIN764CLI.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0 -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:49:39:4c:21,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:4 -vga cirrus -netdev tap,script=/etc/qemu-ifup-private,downscript=no,id=hostnet1,vhost=on,queues=4 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:52:76:52:db:7c,bus=pci.0,mq=on,vectors=10

nic2:
/usr/libexec/qemu-kvm -name 100NICWIN764SLI -enable-kvm -m 2G -smp 4 -uuid 76e51ef1-ef2b-4511-9398-90fcca948759 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/100NICWIN764SLI,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=100NICWIN764SLI,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 -drive file=en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=100NICWIN764SLI.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0 -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:1d:0e:51:31,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:5 -vga cirrus -netdev tap,script=/etc/qemu-ifup-private,downscript=no,id=hostnet1,vhost=on,queues=4 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:52:01:38:e4:2d,bus=pci.0,mq=on,vectors=10

2.submit job in hck

Actual results:
job failed due to "Test adapter received 26% of packets,required 40% to pass"

Expected results:
job can pass

Additional info:
increase the txqueuelen also does NOT help
ifconfig eno1 txqueuelen 2048
ifconfig switch txqueuelen 2048

Comment 5 Mike Cao 2015-02-13 03:01:38 UTC
Also can repdroduced on libvirt bridge after  #ifconfig virbr0 txquequlen 2048

Comment 6 lijin 2015-02-13 08:12:26 UTC
reinstall two win7-64 images and re-run this job,job can pass but still need to run a few times

Comment 10 lijin 2015-03-10 02:54:24 UTC
with build 101,increase bridge/tap txqueuelen to 8192,job can pass smoothly :-)

Comment 11 Yvugenfi@redhat.com 2015-03-10 08:52:16 UTC
Great!

Comment 13 lijin 2015-07-17 08:05:19 UTC
change status to verified according to comment#10

Comment 16 errata-xmlrpc 2015-11-24 08:49:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2513.html