[ovs-git] [openvswitch/ovs] 448b20: ovsdb: Use previous snapshot size as an additional...
noreply at github.com
Fri Apr 1 04:50:50 UTC 2016
Author: Ben Pfaff <blp at ovn.org>
Date: 2016-03-31 (Thu, 31 Mar 2016)
ovsdb: Use previous snapshot size as an additional factor for compaction.
Until now, the minimum database size before automatically compacting has
been 10 MB, regardless of the inherent size of the data in the database.
A couple of people have pointed out that this won't scale well to larger
databases. This commit changes this criterion to 4 times the previously
compacted size of the database, with 10 MB as a minimum.
The 4x factor is suggested by Diego Ongaro's thesis, "Consensus: Bridging
Theory and Practice", section 5.1.2 "When to snapshot".
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
More information about the git