summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-11-01 09:16:51 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-02 21:29:58 -0400
commiteaae8132ef6032ffe612e789e8ff145dcf5bc2bb (patch)
treef2c8d0d2ae6ef1caa474abff4430eaedb189f193 /drivers/vhost/Makefile
parentb211616d712551874db3ce0fb44196f6faad2c34 (diff)
downloadlinux-eaae8132ef6032ffe612e789e8ff145dcf5bc2bb.tar.bz2
vhost-net: select tx zero copy dynamically
Even when vhost-net is in zero-copy transmit mode, net core might still decide to copy the skb later which is somewhat slower than a copy in user context: data copy overhead is added to the cost of page pin/unpin. The result is that enabling tx zero copy option leads to higher CPU utilization for guest to guest and guest to host traffic. To fix this, suppress zero copy tx after a given number of packets triggered late data copy. Re-enable periodically to detect workload changes. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/Makefile')
0 files changed, 0 insertions, 0 deletions