Bug 1223426 - [NetKVM] Performance degradation with multi-queue
Summary: [NetKVM] Performance degradation with multi-queue
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win
Version: 7.3
Hardware: Unspecified
OS: Windows
Target Milestone: rc
: ---
Assignee: Yan Vugenfirer
QA Contact: Virtualization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2015-05-20 13:34 UTC by Yan Vugenfirer
Modified: 2016-11-04 08:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-11-04 08:46:28 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2609 normal SHIPPED_LIVE virtio-win bug fix and enhancement update 2016-11-03 15:27:12 UTC

Description Yan Vugenfirer 2015-05-20 13:34:51 UTC
Description of problem:

Reported for upstream code by Google:

We pulled the latest netkvm changes last week and the performance droped from around 7 Gbps to 2.8. It is a huge drop. Just wanted to let you know.... we will probably revert the February changes if we cant' figure out what is causing this.

On our side, perf was still good at 592fc9e7c428237cebd34baae5231aea5bcc96d8, and it went back on 630ae942aaa7b7a3f3a76bc0a46041f2873e3893. Given the fact that the perf keep normal with vhost+mq on your side, I will also look at our device side which is a virtio-net compatible implementation to cross-check any possible cause. (The perf degradation was measure with exact same device code though).


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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Yu Wang 2016-03-23 08:57:02 UTC
Hi Yan,

Could you tell me what is the detail steps and test tool for reproducing this bug? And what is the virtio-win-prewhql version that cause Performance degradation ?


Comment 2 Yan Vugenfirer 2016-03-23 09:15:05 UTC
Hi Wyu,

You can use netperf or iperf to test the performance. Run the tools with 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 packet sizes.
In NetKVM code there is even Tests directory with wrapper for netperf, but you don't have to use it - you can use your own script if it is more convenient.


Builds to compare - latest released driver https://brewweb.devel.redhat.com/buildinfo?buildID=467728 (we still don't have MQ in the release) with 
latest virtio-win-prewhql driver.

Best regards,

Comment 7 Yu Wang 2016-05-17 02:16:58 UTC
Hi Yan,

compared above two versions on comment#3, there is no obvious degradation and increase with multiqueue, is that OK? Or the performance should be increased with multiqueue?


Comment 8 Yan Vugenfirer 2016-05-22 09:03:29 UTC
(In reply to wangyu from comment #7)
> Hi Yan,
> compared above two versions on comment#3, there is no obvious degradation
> and increase with multiqueue, is that OK? Or the performance should be
> increased with multiqueue?
> Thanks
> wyu

Hi Wyu,

With multi-queue when using several streams we should see some performance improvement. With one stream, it should be the same.

Best regards,

Comment 9 Yu Wang 2016-05-27 03:21:20 UTC
change status to "VERIFIED"  according to comment#3 and comment#8

Comment 12 errata-xmlrpc 2016-11-04 08:46:28 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.


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