[ovs-dev] [RFC 1/3] ovn-controller: Count calls to lflow_run()

Ben Pfaff blp at ovn.org
Wed May 23 20:27:27 UTC 2018


On Fri, May 18, 2018 at 06:55:35PM +0200, Jakub Sitnicki wrote:
> lflow_run() is the main logical flows processing routine that we spend
> most of the CPU time in when testing at scale.
> 
> With the switch to incremental processing approach in the controller,
> we will be trying to avoid calling to lflow_run() as much as possible.
> 
> A counter lets us confirm that we are doing logical flow processing
> only when it's expected, without resorting to profiling under stress.
> 
> It can also serve as a hint as to why ovn-controller process is
> consuming CPU time.
> 
> Signed-off-by: Jakub Sitnicki <jkbs at redhat.com>

This one seemed obviously correct so I applied it to master even though
it's an RFC.


More information about the dev mailing list