RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 626185 - Interrupted system call when running netperf from external to guest.
Summary: Interrupted system call when running netperf from external to guest.
Keywords:
Status: CLOSED DUPLICATE of bug 684127
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Michael S. Tsirkin
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-22 15:12 UTC by Quan Wenli
Modified: 2012-01-09 16:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-09 16:58:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
netperf strace on the external (9.00 KB, text/plain)
2010-08-22 15:25 UTC, Quan Wenli
no flags Details
netserver strace on the guest (4.63 KB, text/plain)
2010-08-22 15:25 UTC, Quan Wenli
no flags Details

Description Quan Wenli 2010-08-22 15:12:43 UTC
Description of problem:

virtio-net/vhost user space,set MTU 9000 on external nic ,host-breth nic,guest nic.Interrupted system call when running netperf from external to guest with 10G bnx2x driver.

But there is no interruped when set the guest nic to default MTU 1500.


# ethtool -i eth3
driver: bnx2x
version: 1.52.1-7
firmware-version: BC:5.0.13 PHY:0aa0:0406
bus-info: 0000:03:00.1

# ethtool -k eth3
Offload parameters for eth3:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off


Version-Release number of selected component (if applicable):

kernel-2.6.32-63.el6.x86_64
qemu-kvm-0.12.1.2-2.109.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Set mtu 9000 on external nic, host-breth0 nic
2.boot guest 
/usr/libexec/qemu-kvm -m 20G -smp 8 -drive file=/root/rhel6-tree0811.2.img,cache=none,format=raw,if=none,id=drive-ide0-0-0 -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,mac=00:00:11:12:31:4A,bus=pci.0,addr=0x3 -boot c -uuid `uuidgen` -rtc base=utc -no-kvm-pit-reinjection -cpu qemu64,+sse2,+x2apic -balloon none -monitor stdio -vnc :1
3.set mut 9000 on the guest nic
4.running netserver on the guest
5.running netperf -H 192.168.0.13 -l 10 on the exteranl host.

  
Actual results:

Interrupted system call when running netperf from external to guest with 10G bnx2x driver.

Expected results:


Additional info:

Comment 1 Quan Wenli 2010-08-22 15:25:04 UTC
Created attachment 440223 [details]
netperf strace on the external

error message on the external host:Interrupted system call netperf: remote error 4

Comment 2 Quan Wenli 2010-08-22 15:25:38 UTC
Created attachment 440224 [details]
netserver strace on the guest

Comment 5 Michael S. Tsirkin 2010-10-15 11:23:50 UTC
You need to use -f flag to trace netserver, the trace
does not include any info after clone.

Comment 6 Quan Wenli 2010-10-22 09:41:59 UTC
Retest it with kernel-2.6.32-71.el6.x86_64 & qemu-kvm-0.12.1.2-2.113.el6_0.3.x86_64.
whatever vhost or virtio userspace ,there is no interrupted system call anymore.

1 >when virtio userspace on  netperf site ,the throughput on external site is belowing :

# ./netperf -H 192.168.0.23 -l 10
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.23 (192.168.0.23) port 0 AF_INET
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.02    1456.57 

2>when virtio userspace on netperf site ,the throughput on external site is belowing :

# ./netperf -H 192.168.0.23 -l 10
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.23 (192.168.0.23) port 0 AF_INET
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.01    4883.73  

So it could be notbug now.

Comment 7 Michael S. Tsirkin 2010-11-10 16:36:54 UTC
Gone in latest kernel, but we don't know why...
Let's close for now.

Comment 8 Golita Yue 2011-12-26 03:10:58 UTC
Hit this bug with guest RHEL-Server-6.2-64 virtio nic again.

host info:
qemu-kvm-0.12.1.2-2.209.el6_2.1.x86_64
kernel-2.6.32-220.el6.x86_64

How reproducible:
5%

Steps:
Run multiple netperf clients on host, they connect with the
netperf-server in guest.
clients fail to execute cmds and output "interrupted system call"

1. boot up a guest 
2. setup and launch netperf server in guest
guest)# ./netserver
3. setup and launch multiple netperf client in host.
host)# while true;do ./netperf -t TCP_STREAM -H $guest_ip ;echo Tcp:$?;done &
host)# while true;do ./netperf -t UDP_STREAM -H $guest_ip;echo Udp:$?;done &
host)# while true;do ./netperf -H $guest_ip -- -m 200; echo $? Other:$?;done &

Actual results:
netperf clients outputted:
interrupted system call 
netperf remote error 4

additional info:
job link:
https://virtlab.englab.nay.redhat.com/job/43082/details/

Comment 9 RHEL Program Management 2011-12-26 07:00:16 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 10 Ronen Hod 2012-01-09 16:58:33 UTC

*** This bug has been marked as a duplicate of bug 684127 ***


Note You need to log in before you can comment on or make changes to this bug.