VirtualBox

Opened 14 years ago

Closed 8 years ago

#8683 closed defect (obsolete)

TSO broken with 82540EM

Reported by: Christian Spann Owned by:
Component: other Version: VirtualBox 4.0.4
Keywords: networking TSO loss dup ack Cc:
Guest type: Linux Host type: Linux

Description (last modified by Frank Mehnert)

DiskDumps to a NFS Share on the host via a bridged network are super slow due to heavy loss, dup acks and out of order packets.

Disabling TSO with ethtool --offload eth0 tso off fixes the issue

Attachments (3)

VBox.log (52.5 KB ) - added by Christian Spann 14 years ago.
Logfile of the corresponding vm
slownfs_small.pcap (156.4 KB ) - added by Christian Spann 14 years ago.
Pcap network log of the slow discdump showing the dup acks and retransmissions
netflt_rhel_csum.patch (996 bytes ) - added by Aleksey Ilyushin 13 years ago.
TSO checksum fix for RHEL kernels

Download all attachments as: .zip

Change History (16)

by Christian Spann, 14 years ago

Attachment: VBox.log added

Logfile of the corresponding vm

by Christian Spann, 14 years ago

Attachment: slownfs_small.pcap added

Pcap network log of the slow discdump showing the dup acks and retransmissions

comment:1 by Christian Spann, 14 years ago

Same behaviour occurs when using the virtio drivers.

The PCNET Drivers have the TSO automatically disabled in Scientific Linux 5.5 so everything works fine here.

comment:2 by Aleksey Ilyushin, 14 years ago

I noticed that you are using the latest kernel on the host from not-yet-released 5.6. Could you try if the same problem appears with 2.6.18-194? Also could you check if disabling TSO on host's interface solves the problem?

comment:3 by Aleksey Ilyushin, 14 years ago

I was able to reproduce the problem locally. No need to try older kernels nor disable TSO on the host. Thanks!

comment:4 by Frank Mehnert, 13 years ago

#7182 marked as duplicate of this one.

comment:5 by Diputación de Ávila, 13 years ago

I'm not sure that #7182 is duplicated of this one. Disabling tso on hosts doesn't solves the problem, works fine disabling tso on the guests.

by Aleksey Ilyushin, 13 years ago

Attachment: netflt_rhel_csum.patch added

TSO checksum fix for RHEL kernels

comment:6 by Aleksey Ilyushin, 13 years ago

Could you apply the attached patch to see if it fixes the problem for you? You can apply the patch in the VirtualBox directory (most likely /usr/share/virtualbox) with

patch -p0 -i <path_to_downloaded_patch_file>

Then you need to rebuild modules with

/etc/init.d/vboxdrv setup

comment:7 by Diputación de Ávila, 13 years ago

The patch doesn't fix the problem. Nor for windows or linux guests.

Results using scp:

remote_server -> guest 64MB 21.5MB/s 00:03

guest -> remote_server 64MB 5.0MB/s 00:13

host -> guest 64MB 21.5MB/s 00:03

guest -> host 64MB 59.3KB/s 18:31 !!!

comment:8 by Aleksey Ilyushin, 13 years ago

Could you please attach VM log and send me at aleksey dot ilyushin at oracle dot com the capture file of 'guest->host' case obtained as described in http://www.virtualbox.org/wiki/Network_tips ?

comment:9 by Aleksey Ilyushin, 13 years ago

Sorry for such long pauses in replying, we are limited in resources. Thank you for providing the packet capture file, we will definitely investigate the problem further. Does the problem still appear in more recent versions of VirtualBox?

comment:10 by Diputación de Ávila, 13 years ago

With VBox version 4.1.4r74291 is working better

host -> guest: 70MB 35.0MB/s 00:02

guest -> host: 70MB 17.5MB/s 00:04

comment:11 by hoeferbe, 12 years ago

Is there a way to add myself to the CC: field of this ticket? I'd like to be kept informed of any fixes for this issue. Thank you.

comment:12 by Frank Mehnert, 12 years ago

Description: modified (diff)

hoeferbe, just adding a comment like you did will add you on the cc list.

comment:13 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette