Hallo Jochen, Am 2008-07-14 00:31:03, schrieb Jochen Schulz: > I don't see a problem with several thousand files in one directory: Me too > # echo 3 > /proc/sys/vm/drop_caches > > $ time ls -1 ~/Maildir/.debian.user/cur | wc -l > 10997 > > real 0m2.529s > user 0m0.284s > sys 0m0.332s > > $ du -hs ~/Maildir/.debian.user/cur > 87M . My "~/Maildir/.ML_devel.linux-kernel@vger_kernel_org/cur" has currently 153.000 messages with arround 3 GByte and even mutt open it localy in less then 4 minutes without "hcache" > The first line flushes the filesystem cache. Subsequent runs take about > 0.3 seconds. Filesystem is XFS on a 2.6.18 kernel from etch. It > shouldn't be significantly worse with ext3 (at least when it is created > with -O dir_index). I am using ext3 and used "tune2fs" to add the "dir_index" which increased the speed by faktor 6. I should note, that I am already using a Raid-1 with two 74 GByte SCA drives plus Hotfix of 15.000 RpM. Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature