[Box Backup] Directories in store file

Johann Glaser boxbackup@fluffy.co.uk
Wed, 12 Sep 2007 16:03:39 +0200


Hi!

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
  Hansi

-- 
Johann Glaser                          <glaser@ict.tuwien.ac.at>
             Institute of Computer Technology, E384
Vienna University of Technology, Gusshausstr. 27-29, A-1040 Wien
Phone: ++43/1/58801-38444                Fax: ++43/1/58801-38499