Measured: btrfs COW and sqlite exclusive locking
From: Mattias Engdegård <mattiase_at_bredband.net>
Date: Sun, 8 Jul 2012 18:47:15 +0200
Out of curiosity, I modified the svn client to use the btrfs facility
Using the btrfs COW mechanism will make the copied files share the
The changes were straightforward; please tell me if you want to see
All tests were done against a dedicated svnserve on another machine.
The client is based on a fairly recent 1.7.x (r1357273). The server
Times for checking out a fresh tree, in seconds:
default exclusive locking
The biggest surprise was that COW actually made the checkout slightly
However, the disk usage (as reported by df(1)) was almost halved with
disk usage (MiB)
These savings could very well be worth the performance penalties.
Also interesting were the gains of exclusive sqlite locking even on
Times for a null update (hot cache):
default exclusive locking
Times for a slightly less null update (1000 revisions, roughly as many
default exclusive locking
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.