Red Hat Bugzilla – Bug 859882
Current default TX offload settings lead to low performance on guests from Windows server 2008 and up
Last modified: 2013-05-28 01:48:52 EDT
Description of problem:
Current default offload setting on Windows include both IP checksum and TCP\UDP checksum offload. It is done in order to pass HCK tests on variety of OSes (this default is a requirement for HCK).
Such setting wasn't required on the previous test kit - WLK 1.6. Also in this case IP checksum is calculated by the driver anyway as virtio header cannot contain information need to calculate two checksums for one packet.
In some cases Windows will not only set checksum in IP header but also will not indicate packet size in the header. In those cases driver will fail to calculate the checksum and the performance will be badly effected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This is a regression from previous versions.
Although the MSDN clearly states that the TCPIP stack fills the length in IP header, it seems the MSFT decided to ignore this statement (possible, for LSO V2) because the packet will be fragmented anyway, so they think the HW does not need this field and they expect us to use the length value in NET_BUFFER struct.
We are going to populate the length anyway.
dengmin ,pls run netkvm whql test for win2k8 to verify this bug
Based on comment #7 and comment #8 move status to verified.
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.
The drivers included in the virtio-win ISO don't appear to have been updated. Where can we get the current version of the driver?
57240 57240 0 100% /mnt/disc1
85418 85418 0 100% /mnt/disc2
I apologize, I was working on the impression that the former ISO was obtained through RHEL channels, but I may be mistaken.
Using driver NetKVM driver 18.104.22.16800 on 2k8R2, we see gigabit throughput on UDP (e.g. CIFS) but only about 3Mbps on TCP flows. I thought that might have been due to this bug. I'll continue to gather information and submit a new bug.