[ovs-dev] staged match question.

Jarno Rajahalme jrajahalme at nicira.com
Fri Dec 6 00:42:28 UTC 2013


On Dec 5, 2013, at 1:02 PM, Ethan Jackson <ethan at nicira.com> wrote:

> I'm working on a patch to disable wildcard calculation when we're
> doing things like pushing stats and don't actually need to know what
> the mask should be.  I had a question for you about your staged match
> patch on this.  I notice that you disable the staged matching when
> wildcards aren't passed in.  My guess would be, that even if we don't
> need the wildcards the staged matching would be slightly faster than
> the old algorithm because on average we have to compute less hash.  If
> this is true (again not sure either way), should we change the code to
> *always* do the staged lookup?
> 

We should test wether there is a performance advantage even when the wildcards are not needed, and depending on the results maybe change as you suggest.

  Jarno


More information about the dev mailing list