dpif-netdev: Increase the number of EMC entries
authorCiara Loftus <ciara.loftus@intel.com>
Wed, 13 May 2015 13:54:56 +0000 (14:54 +0100)
committerEthan Jackson <ethan@nicira.com>
Thu, 21 May 2015 20:46:43 +0000 (13:46 -0700)
commitfc82e877efc03400e65b44588fb40eb507a98bf4
tree668cb4162e836d07dc2a4c6947ce6eb8bcb42177
parent1190bedaeaaa11c9098fc1ddbe5b01ec7efbc8f4
dpif-netdev: Increase the number of EMC entries

Prior to this commit, the number of possible entries in the Exact
Match Cache stood at 1024 per thread exacting to 0.18Mb. A typical
server system will have 2.5Mb cache per core meaning a larger EMC will
comfortably fit in. This patch increases the number of entries to 8192
per thread (1.4Mb) which in turn yields improved throughput when
processing multiple flows of traffic.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c