This patch allows the user to specify the number of Exact Match Cache entries they wish to have available for their instance of the vswitch. This is a achieved by means of a 'configure' flag.
At the moment, the default number of EMC entries is 1024, for which the switch should perform optimally up to this number of flows. However, if the user expects say roughly 2000 flows of traffic, an EMC with 2048 entries will perform better, allbeit with a larger demand on memory and time spent flushing the cache. If these requirements are acceptable to the user, they may choose to allocate 2048 entries like so, and in turn receive improved performance for their specific use case: './configure --with-emcsize=11' The number of entries is calculated as 2^11 = 2048. acinclude.m4 | 15 +++++++++++++++ configure.ac | 1 + lib/dpif-netdev.c | 1 - 3 files changed, 16 insertions(+), 1 deletion(-) -- 1.9.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev