Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
What are you doing with so many invalid files? – soandos Jul 25 '11 at 20:12
1  
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

closed as not a real question by Tom Wijsman, Journeyman Geek, Randolph West, Nifle, techie007 Jul 20 '12 at 0:44

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

2 Answers

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.

share|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

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

share|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

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