[RFC] Removing hash prefix in storage vastly improves performance

Matthew D. Fuller fullermd at over-yonder.net
Fri Aug 18 08:37:31 BST 2006


On Fri, Aug 18, 2006 at 09:51:49AM +1000 I heard the voice of
Robert Collins, and lo! it spake thus:
> 
> What are the performance changes on kernel sized trees for
>  - BSD (perhaps)

I can't speak for trying it (my systems would revolt against me), but
here's some stats size-wise for FreeBSD.

Fresh "cvs export -rHEAD":

src (kernel + userland):
    % find src -type d -print | wc -l
        3286
    % find src -type f -print | wc -l
       22600

ports tree:
    % find ports -type d -print | wc -l
       22969
    % find ports -type f -print | wc -l
       84257
(obviously, this is the far side of the curve from "put everything in
one directory   ;)


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.




More information about the bazaar mailing list