[Box Backup] Directories in store file

Chris Wilson boxbackup@fluffy.co.uk
Wed, 12 Sep 2007 20:17:14 +0100 (BST)


Hi Johann,

On Wed, 12 Sep 2007, Johann Glaser wrote:

> I've observed that bbstored is writing some files extremely often. This 
> particular file is associated with a directory which holds a lot of 
> files which are compared.
>
> I've watched the file for a while. It makes a (similar) copy of the file 
> with the extension ".rfwX" which grows from 0 to the size of the 
> original ".rfw" file, then starts over again.
>
> Probably this file is re-written for every file in the client directory. 
> Since we have SVN repositories with several thousand revisions (and 
> therefore entries in the db/revs/ directory), this file is written quite 
> often and seems to be a bottle-neck.
>
> Is there potential for optimization that?

Thanks for spotting that. I'm sure there is a potential to optimise it, 
but I don't think we should do it before releasing 0.11.

Could you file a feature request for it on the Wiki?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |