Re: ffs dirpref speedup

2001-04-06 Thread Brian Somers
There's a (maybe overly simple) avoidance algorithm for this. It attempts to ensure that it doesn't end up filling up cgs with directories and no files. There are also two tunables int32_t fs_avgfilesize; /* expected average file size */ int32_t fs_avgfpdir; /* expe

Re: ffs dirpref speedup

2001-04-06 Thread Mike Smith
We discussed this a while back; it has some interesting (and in some cases) undesirable side-effects. FFS tries to balance directories across CGs in order to balance the use of CGs for file allocation. The approach being advocated here will tend to use CGs one at a time, resulting in poor d