The class was on OS design and others where we would deal with directories on disks you learned that the more files there were the longer it could take for the OS to find and return from the open() api call.
You've shot right past any reasonable number (it was less than 256 files per directory back then) and should be suffering a system slowdown as the OS "works" to find your file.
Even today I keep our file server in under 1K directory entries except where it doesn't matter.
Bob
Hello Guys,
I have a huge site, and the problem is a few directories in the site have as many as hundred thousand files linked directly under it. I am very confused. Is this standard? Or should I have lower number of files in each directory? Is there an advisable organization pattern when it comes to number of pages I include under each node?
I hope this makes sense. Thanks. Sam.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic