diff options
author | Daniele Di Proietto <ddiproietto@vmware.com> | 2014-07-22 17:09:10 -0700 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-07-22 20:06:02 -0700 |
commit | 3a10026527a9ed8bee6a5f0b218b406c10650290 (patch) | |
tree | ac63313370a47bdf5ef352ebde4379122c4d2d13 | |
parent | 113062740cb7c2c0ba5613832ae5bc3e1f18caab (diff) | |
download | openvswitch-3a10026527a9ed8bee6a5f0b218b406c10650290.tar.gz |
netdev-dpdk: Increase tx queue size and rx batch size
These values has been found to give the best throughput
in simple cases (1 flow 64 bytes UDP packets).
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
-rw-r--r-- | lib/netdev-dpdk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 62c9a0c76..b45e36733 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -123,8 +123,8 @@ static const struct rte_eth_txconf tx_conf = { .txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS|ETH_TXQ_FLAGS_NOOFFLOADS, }; -enum { MAX_RX_QUEUE_LEN = 64 }; -enum { MAX_TX_QUEUE_LEN = 64 }; +enum { MAX_RX_QUEUE_LEN = 192 }; +enum { MAX_TX_QUEUE_LEN = 384 }; enum { DRAIN_TSC = 200000ULL }; static int rte_eal_init_ret = ENODEV; |