Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Linux: Large Directories and Performance

I need to store about ten thousand files on a Linux web server.  The web path to the files will be stored in a database.  Would it be best for performance to place all the images in a single directory or would it be better to place them in randomly named sub-directories with less files in each sub-directory?  
ASKER CERTIFIED SOLUTION
Avatar of edster9999
edster9999
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kerem ERSOY
Kerem ERSOY

Only I am not sure EXT3 would perform better than EXT2. They are the same except for EXT3 has a journal file over the top of EXT2.

EXT4 is a different story and it can support so many files and perform faster than EXT3 so I suggest you to use EXT4.

Cheers,
K.