performance - The max number of files in one directory? -


is there limitation on number of files in 1 directory (in host) ?
if have directory 30k (named 1 3ok) files , 1 10 there major difference in performance fetch specific files ?
thanx

it depends file system type. answer on question find out in current file system type spec.

archlinux wiki perfomance optimizing page

summary:

  • xfs: excellent performance large files. low speed small files. choice /home. -reiserfs: excellent performance small files. choice /var.
  • ext3: average performance, reliable.
  • ext4: great overall performance, reliable,has performance issues sqlite , other databases.
  • jfs: overall performance, low cpu usage, extremely fast resume after power failure.
  • btrfs: best overall performance (with compression) , lots of features. still in heavy development , supported, considered unstable. not use filesystem yet unless know doing , prepared potential data loss.

fsck time vs inode count


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -