Re: very large directories

From: Alexander Viro (viro@math.psu.edu)
Date: Tue Feb 29 2000 - 09:55:13 EST


On 29 Feb 2000 nbecker@fred.net wrote:

> A coworker has an application that produces 10's of thousands of small
> files. It seems the performance of even a simple operation, such as
> 'rm -rf' or find | xargs rm is very very slow.

"Doctor, it hurts me when I do it"...

> What are the mechanisms that limit performance? Is it the type of
> data structure used to represent directories?

Mostly it's a format of on-disk representation. IOW, introduce your
cow-orker to clue-by-4 - keeping a lot of files in on directory is _BAD_
idea.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:22 EST