[ovs-dev] [PATCH] ovsdb: Strong references cascade fix
Ben Pfaff
blp at ovn.org
Thu Jun 23 23:24:53 UTC 2016
On Fri, Jun 10, 2016 at 04:35:09PM +0000, Rodriguez Betancourt, Esteban wrote:
> Improves the performance of OVSDB avoiding the chain
> reaction produced when modifing rows with a strong
> reference and the pointed rows have more strong
> references.
>
> The approach taken was using the change bitmap to avoid
> triggering a change count when the column hasn't changed.
>
> One way to trigger the issue is emulating a simple linked list
> with strong references within a table, where each new row
> points to the previous.
>
> Without the fix OVSDB creates a ovsdb_txn_row (and a copy
> of the row) for each row in the table.
> With the fix it only creates two ovsdb_txn_row: the new row and
> the directly pointed row.
>
> Signed-off-by: Esteban Rodriguez Betancourt <estebarb at hpe.com>
This seems like a useful optimization. Thanks for thinking of it.
I applied this to master, thanks!
More information about the dev
mailing list