aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2016-11-25 12:37:26 +0800
committerDavid S. Miller <[email protected]>2016-11-28 13:17:40 -0500
commit4490001029012539937ff02778fe6180613fa949 (patch)
treee018bb203971ae93f7bc42b51a692af891b495d2 /tools/perf/scripts/python/netdev-times.py
parent06b3ccfbb71ed585a00c9d643f2b07ccc7fcc6ba (diff)
virtio-net: enable multiqueue by default
We use single queue even if multiqueue is enabled and let admin to enable it through ethtool later. This is used to avoid possible regression (small packet TCP stream transmission). But looks like an overkill since: - single queue user can disable multiqueue when launching qemu - brings extra troubles for the management since it needs extra admin tool in guest to enable multiqueue - multiqueue performs much better than single queue in most of the cases So this patch enables multiqueue by default: if #queues is less than or equal to #vcpu, enable as much as queue pairs; if #queues is greater than #vcpu, enable #vcpu queue pairs. Cc: Hannes Frederic Sowa <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Neil Horman <[email protected]> Cc: Jeremy Eder <[email protected]> Cc: Marko Myllynen <[email protected]> Cc: Maxime Coquelin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Acked-by: Neil Horman <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions