[SLL] limit on number of files in a directory and hashed dir vs. flat dir file access time
Brian Hatch
bri at ifokr.org
Thu Nov 1 06:20:00 PDT 2007
Nigh 2007-10-31 20:20 -0800, Chuck Wolber interposed:
> I disagree with the premise of his test. You cannot use "ls" and "rm" in a
You can use 'ls -f' to disable sorting. It's the sorting that kills you
with large numbers of files. If you don't care about showing them in
order, '-f' is your friend.
That said, I thinking rolling your own use of 'opendir / readdir' is
better than relying on a separate tool when writing performance tests.
--
Brian Hatch Roses are #FF0000
Systems and Violets are #0000FF
Security Engineer All my base
http://www.ifokr.org/bri/ are belong to you.
Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20071101/90e83ade/attachment.sig
More information about the linux-list
mailing list