the system currently have a directory with all the invalid files. how bad is it to move a single file to a directory containing 3 million files already?

link|improve this question
What are you doing with so many invalid files? – soandos Jul 25 '11 at 20:12
Bad enough to relegate you to the 5 ring of hell. At least. – music2myear Jul 25 '11 at 20:14
What is the filesystem format for that volume? ReiserFS? ext? umsdos? … – JdeBP Jul 26 '11 at 12:39
feedback

2 Answers

It would depend upon the filesystem, but probably pretty bad. Few filesystems are designed to handle folders of that size.

link|improve this answer
which filesystem do you suggest for such operations? – Tusker Jul 28 '11 at 5:14
I'd recommend XFS myself, but in any filesystem what you're trying to do is going to be a nightmare. This might be of some help though. – Darth Android Jul 28 '11 at 14:12
feedback

If dir_index is enabled for the filesystem, not too bad. Otherwise, look out. In either case, reading from that directory will be painful regardless.

link|improve this answer
Is it enabled for mac os hfs? How to enable that? – Tusker Jul 28 '11 at 5:15
It does not exist for HFS/HFS+; it is found on ext3/ext4. – Ignacio Vazquez-Abrams Jul 28 '11 at 7:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.