diff mbox

[ovs-dev,3/5] Documentation: Update DPDK doc EMC conditional insert section.

Message ID 1489340008-77897-3-git-send-email-bhanuprakash.bodireddy@intel.com
State Accepted
Delegated to: Darrell Ball
Headers show

Commit Message

Bodireddy, Bhanuprakash March 12, 2017, 5:33 p.m. UTC
Update the documentation with the information on the megaflow hits
observed with the default 'emc-insert-inv-prob' value. Also add the
recommended setting for achieving higher forwarding performance.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
CC: Ciara Loftus <ciara.loftus@intel.com>
CC: Georg Schmuecking <georg.schmuecking@ericsson.com>
---
 Documentation/howto/dpdk.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Ben Pfaff May 18, 2017, 9:15 p.m. UTC | #1
On Sun, Mar 12, 2017 at 05:33:26PM +0000, Bhanuprakash Bodireddy wrote:
> Update the documentation with the information on the megaflow hits
> observed with the default 'emc-insert-inv-prob' value. Also add the
> recommended setting for achieving higher forwarding performance.
> 
> Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
> CC: Ciara Loftus <ciara.loftus@intel.com>
> CC: Georg Schmuecking <georg.schmuecking@ericsson.com>

Thanks for updating the documentation!  I applied this to master.

(However, I think it's better if we can make the switch self-tuning
rather than requiring the user to understand traffic patterns and then
tune it by hand.  I hope that we can improve that later--and then delete
the tuning documentation.)
diff mbox

Patch

diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index dc63f7d..3bd9e07 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -398,6 +398,14 @@  where:
 If ``N`` is set to 1, an insertion will be performed for every flow. If set to
 0, no insertions will be performed and the EMC will effectively be disabled.
 
+With default ``N`` set to 100, higher megaflow hits will occur initially
+as observed with pmd stats::
+
+    $ ovs-appctl dpif-netdev/pmd-stats-show
+
+For certain traffic profiles with many parallel flows, it's recommended to set
+``N`` to '0' to achieve higher forwarding performance.
+
 For more information on the EMC refer to :doc:`/intro/install/dpdk` .
 
 .. _dpdk-ovs-in-guest: