Bao nhiêu file trên 1 folder là tốt

Discussion in 'Thảo Luận Chung' started by Dung Vuong, Oct 27, 2017.

  1. Dung Vuong

    Dung Vuong Sơ Nhập Giang Hồ

    Các thánh cho em hỏi là em đang cache file trên vps. Vậy bao nhiêu file/folder thì nó chạy ok vậy các bác. Thank a lot @@{big_smile}
     
  2. Phan Thị

    Phan Thị Bang Chúng

    FAT32:
    • Maximum number of files: 268,173,300
    • Maximum number of files per directory: 216 - 1 (65,535)
    • Maximum file size: 2 GiB - 1 without LFS, 4 GiB - 1 with
    NTFS:
    • Maximum number of files: 232 - 1 (4,294,967,295)
    • Maximum file size
      • Implementation: 244 - 26 bytes (16 TiB - 64 KiB)
      • Theoretical: 264 - 26 bytes (16 EiB - 64 KiB)
    • Maximum volume size
      • Implementation: 232 - 1 clusters (256 TiB - 64 KiB)
      • Theoretical: 264 - 1 clusters
    ext2:
    • Maximum number of files: 1018
    • Maximum number of files per directory: ~1.3 × 1020 (performance issues past 10,000)
    • Maximum file size
      • 16 GiB (block size of 1 KiB)
      • 256 GiB (block size of 2 KiB)
      • 2 TiB (block size of 4 KiB)
      • 2 TiB (block size of 8 KiB)
    • Maximum volume size
      • 4 TiB (block size of 1 KiB)
      • 8 TiB (block size of 2 KiB)
      • 16 TiB (block size of 4 KiB)
      • 32 TiB (block size of 8 KiB)
    ext3:
    • Maximum number of files: min(volumeSize / 213, numberOfBlocks)
    • Maximum file size: same as ext2
    • Maximum volume size: same as ext2
    ext4:
    • Maximum number of files: 232 - 1 (4,294,967,295)
    • Maximum number of files per directory: unlimited
    • Maximum file size: 244 - 1 bytes (16 TiB - 1)
    • Maximum volume size: 248 - 1 bytes (256 TiB - 1)
    source:https://stackoverflow.com/questions/466521/how-many-files-can-i-put-in-a-directory
     
  3. money

    money Hương Chủ

    10.568 files là tốt nhất nha pé
     
  4. Luxifer

    Luxifer Sơ Nhập Giang Hồ

    Tùy theo Filesystem, file không cần quản lý như cache thì cứ thả ga đi, đừng xả rác vượt inode là dc.