diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-01-20 14:49:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-23 18:01:58 -0800 |
commit | 1650d5455bd2dc6b5ee134bd6fc1a3236c266b5b (patch) | |
tree | ade96080aac11eaf88a50f000a60c46ef633fb39 /drivers/net/ethernet/chelsio/cxgb4 | |
parent | f4ac8292b09350868418983fc1b85a6c6e48a177 (diff) | |
download | op-kernel-dev-1650d5455bd2dc6b5ee134bd6fc1a3236c266b5b.zip op-kernel-dev-1650d5455bd2dc6b5ee134bd6fc1a3236c266b5b.tar.gz |
xen-netback: always fully coalesce guest Rx packets
Always fully coalesce guest Rx packets into the minimum number of ring
slots. Reducing the number of slots per packet has significant
performance benefits when receiving off-host traffic.
Results from XenServer's performance benchmarks:
Baseline Full coalesce
Interhost VM receive 7.2 Gb/s 11 Gb/s
Interhost aggregate 24 Gb/s 24 Gb/s
Intrahost single stream 14 Gb/s 14 Gb/s
Intrahost aggregate 34 Gb/s 34 Gb/s
However, this can increase the number of grant ops per packet which
decreases performance of backend (dom0) to VM traffic (by ~10%)
/unless/ grant copy has been optimized for adjacent ops with the same
source or destination (see "grant-table: defer releasing pages
acquired in a grant copy"[1] expected in Xen 4.6).
[1] http://lists.xen.org/archives/html/xen-devel/2015-01/msg01118.html
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4')
0 files changed, 0 insertions, 0 deletions