[SLL] limit on number of files in a directory and hashed dir vs. flat dir file access time

Andrew Sweger andrew at sweger.net
Sat Nov 3 17:19:04 PDT 2007


On Sat, 3 Nov 2007, Ana wrote:

> I'm attempting a new test, using a simple C program.
> 
> It looks like there is a small increase with every 10x increase of the
> file count, until the 1,000,000 file count attempt.  There's a 3x
> increase in system time spent between 100,000 and 1,000,000 file-count
> tests.  At least that's how I'm reading the result.  I'm open to other
> interpretations and to all suggestions about how to improve the test.
> If you want more information (about my system or whatnot) just ask.

I think you mean a more than 30-fold increase on the last test.  Any
chance your program would block on disk-io from another process?  Running
in single-user mode?

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.






More information about the linux-list mailing list