[ovs-dev] [PATCH V2 3/3] ofproto: Use netdev's 'change_seq' to reduce port modification check.

Ben Pfaff blp at nicira.com
Thu Apr 10 20:12:38 UTC 2014


On Thu, Apr 10, 2014 at 11:06:16AM -0700, Alex Wang wrote:
> This commit uses the 'change_seq' in 'struct netdev' to determine
> whether to update the 'ofport'.  This helps eliminate unnecessary
> update.
> 
> In the experiment of configuring 5K internal port, there is neither
> observable configuration overhead nor additional cpu consumption
> after configuration finishes.  When one internal port state is
> flapped every 0.3 second, this commit reduces the cpu utilization
> of ovs-vswitchd thread from 40 to 12.
> 
> Signed-off-by: Alex Wang <alexw at nicira.com>

Very nice results, thank you for measuring.

Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list