Ticket #15295 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Networking extremely slow with Intel PRO/1000

Reported by: yardas Owned by:
Component: network Version: VirtualBox 5.0.16
Keywords: gro, slow, regression Cc:
Guest type: Linux Host type: Linux


I tested only NAT but it is probably similar in other modes.

Data flow of download (to guest) is mostly 40-50 kB/s no matter where the download originates from (including the VM host itself). Sometimes it peaks to MB/s but shortly it returns to 40-50 kB/s. Sometimes it is even slower.

The download speed returns to normal if GRO is disabled, i.e. the following command run in the guest fixes the problem:

# ethtool -K NIC gro off

I think if the GRO is broken in the driver it should be switched off by default. IIRC it was, but the problem started to manifest recently, so there may be an regression.

Host kernel: 4.4.6-300.fc23.x86_64

Guest kernel: 3.10.0-349.el7.x86_64


Change History

comment:1 Changed 6 years ago by yardas

The Host/Guest networking is even so slow.

comment:2 Changed 6 years ago by aleksey

Please try bridged attachment mode. You may get quite different results. When you use NAT the segmentation is done in our code, when you use bridged the GRO packet is supposed to be passed to the host kernel as is, given that GRO is enabled on the host adapter.

comment:3 Changed 6 years ago by frank

Sems to be related to the guest Linux kernel version. Not so old kernels (at least 4.2.0 from Ubuntu/Wily and also 3.16.0 Debian/Sid) show this behavior. Thanks for the heads-up.

comment:4 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Only VMs with I/O-APIC enabled were affected. The I/O-APIC implementation had bugs which were fixed in 5.0.22. These fixes should also fix the network performance issues.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use