When is a directory too big, too full?

I have a design question.  I have a search that returns info and loads a varriable amount of jpg's and .txt files.  For different catagories I have seperated the jpg's and txt files into seperate directories.

i.e.  jpg_10  and txt_10,  jpg_20  and txt_20

then I use a varriable to find the correct directory

this has limited other things I am trying to do, because of constantly changing paths.

MY QUESTION;

Is there an advantage or disadvantage to spliting up my jps's into seperate directories.  If I combine them I could have 10,000 files in one directory.  If I keep seperate $2,000 max in a directory.

rwhubbard996Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jaime OlivaresSoftware ArchitectCommented:
You could gain a little performance by dividing your files into several directories, also you gain in order and manual handling, but the answer is hard because it is highly Operating System/File System dependent.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.