On 2003-01-17 07:48:48 -0500, Sam Varshavchik wrote:
> Vizitiu, Ciprian writes:
> 
> >... Can I get to 10.000? 50.000? 100.000? Any hints about the Linux machine
> >that would support this kind of load? What tweaks should I make to the fs?
> >Should I use Reiser instead of ext3?
> 
> The Linux ext2/ext3 filesystem is limited to about 30,000 files in a 
> directory.

Put a big stress on "about". I did some tests about a year ago (results
on http://www.hjp.at/os/largedir/ - the text is German, but the graphs
are international :-) and from that and experience I'd say that the
point where performance becomes horrible is somewhere between less than
10,000 and more than 100,000 files, depending on the kernel version, how
much RAM the machine has and how it is used. 

If you expect 10000 or more files in a directory to be normal, go for a
filesystem with tree-structured directories (Reiserfs or XFS).

        hp

-- 
   _  | Peter J. Holzer      | Unser Universum w�re betr�blich
|_|_) | Sysadmin WSR / LUGA  | unbedeutend, h�tte es nicht jeder
| |   | [EMAIL PROTECTED]        | Generation neue Probleme bereit.
__/   | http://www.hjp.at/   |  -- Seneca, naturales quaestiones

Attachment: msg09670/pgp00000.pgp
Description: PGP signature

Reply via email to