Take the 2-minute tour ×  I need to store 100k files (around
40GB) in a USB drive. Each file has a unique int id (e.g 45000).
Option one is to put all files in a single folder:   Option two
is to create a [1-9][0-9]* folder hierarchy based on that id:
Which option will scale better? I can understand that the second
option will require tons of folders but each folder will at most
contain 10 folders and 1 file. Maintenance will not be an issue
since everything will be controlled by an application.  Note
that this is a USB drive on linux and based on the above I'd
also like to know whether I should go with FAT32 or NTFS.
share|improve this question FAT32 or NTFS? For preference,
neither - JFFS2 is the best option for disk life, and
ext4/reiser for read speed. –  symcbean Dec 29 '10 at 17:06
Wouldn't it be just easier to empirically test the different
scenarios instead of guessing? –  Marcin Dec 29 '10 at 17:37 add
comment  4 Answers  up vote 6 down vote accepted  I would
recommend ext3/4 for use with Linux a