[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ext3 2.4.21 htree tests



Hi,

On Wed, 2003-06-18 at 12:02, glen wrote:


> Files spread over 100 directories:
> 
> Create : 1764, N/A, 1078
> Remove : 611, N/A, 1310
> 
> Ok so results are not that great - better to use more directories.
> 
> Files spread over 1000 directories:
> 
> Create: 409, 305, 284
> Remove: 138, 96, 141

Why use more directories?  That just means that you spend more time
updating more metadata for more directories.  The point of htree is to
let the fs do this work itself, as efficiently as possible: if you try
with _1_ directory, you should see the best benefit from htree.

However, the performance still doesn't look that good, especially on the
100 dirs case (10,000 files per dir) --- are you sure you set the
dir-index flag on the filesystem to enable htree operation?

Cheers,
 Stephen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]