[Samba] Slow performance with lots of files in one directory

Roberto João Lopes Garcia roberto at mha.com.br
Thu Jan 9 18:21:01 GMT 2003


At 15:04 09/01/2003, Chris Palmer wrote:
>Anders Nordby writes:
>
>> I've got performance problems with copying small files over to a Samba
>> share in a directory that has lots of small files (10000 to 20000
>> files). It takes too long time to copy new files (they drip in at a
>> fast pace), and smbd eats a lot of CPU time.
>
>This could be not so much a Samba problem as a Unix kernel problem.
>Traditional Unix filesystems (UFS, FFS, ext2, et c.) do not deal well
>with very full directories. See Maurice Bach's book *Design of the Unix
>Operating System* and M. K. McKusick's *Design and Implementation of the
>4.4BSD Operating System*. These are both just great books.
>
>If you are on Linux, try using one of the new filesystems like ReiserFS,
>XFS or JFS. Among other abilities, they can handle extremely full
>directories better.

What about EXT3 file system?

Thank you 

Roberto




>-- 
>Chris Palmer   Systems Programmer   GeneEd
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba 




More information about the samba mailing list