I'm guessing there's no hard limit, but I know that performance degrades when you put too many files into a single Windows folder. Does anybody have any good rules of thumb for when it becomes noticeably slow to open a file?
feedback
|
|
Assuming NTFS here, in which case the technical limit is around 4 billion files. And until you go over 10s of thousands per directory you really should not worry too much. Note however that programs like Explorer suffer much sooner than 10s of thousands, because they try to access all files in a given directory to get meta-data, etc. | |||||
feedback
|
|
Look here. It says for files per volume, not per folder.
| |||
|
feedback
|
|
Opening a file won't be very slow regardless of how many files you have in a folder. What certainly is going to kill you is enumerating files in that folder. So taking a look at the contents of that folder with Explorer, Far, dir, Get-ChildItem, whatever. That being said, I have around 2.5k files and folders in my temp folder and display is instantaneous, so that's apparently still a small number. ETA: Ok, just tried it, 10000 files in a folder take around one second to open that folder in Far, this and 20000 files don't even matter in Explorer. | |||||||||
feedback
|
|
While aware of the technical "official" limitations, I just want to echo the comments of a previous post. Even in Windows 7, when you start getting beyond 10's of thousands of files, you risk corrupting whatever passes for a FAT table in NTFS (MFT, the exalted acronym for Master File Table). It is constantly thrown in my face, yes, because of what I try to get away with when pushing the system, that these computers are NOT what they're cracked up to be. And I mean pushing WITHIN DEFINED LIMITS! They just don't do what they're supposed to! Let me also add that my difficulties may have also been aggravated by moving files - I suspect one is better off copying and deleting manually. Now if I could only follow my own advice... | ||||
|
feedback
|
|
It depends on the file system. NTFS is way better than FAT32. FAT32 has a hard limit. However, the rule of thumb I go by is about 500 per directory. | |||
feedback
|
|
I had trouble some years ago with a directory which had about 30000 files, and new files couldn't be written (it was the "temp" directory of eMule...), it was on a FAT32 partition, but it's possible that I was using Win98 at the time, and that it was a limit of the OS itself. | |||
feedback
|
