Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: (OT) should i limit number of files in a directory

by leocharre (Priest)
on Sep 11, 2008 at 16:52 UTC ( [id://710688]=note: print w/replies, xml ) Need Help??


in reply to Re: (OT) should i limit number of files in a directory
in thread (OT) should i limit number of files in a directory

Yes, doing ls on ext3 slows stuff down- still. I've not seen a slowdown that looks like a crash- but.. I have seen a pause.

I keep my sshd running just in case of stuff like that.

Your multilevel system makes more sense. I had the idea that if I had, say, two levels, I would pre write 256 dirs at level 1, then 256 more at each one of those, and then all the possible dirs would be made already. Helping the system along, so I wouldn't have to check that the target absolute location is there or not.

(I'm so glad I asked about this- really impressed by the responses and ideas.)

Hm... may be time to start scripting some .t s .. :-)

  • Comment on Re^2: (OT) should i limit number of files in a directory

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://710688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-18 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found