Every metadata unit within the Content Software for File system demands 4 KB of SSD space (excluding tiered storage) and occupies 20 bytes of RAM.
Throughout this documentation, the restriction on metadata per filesystem is denoted as the max-files parameter. This parameter includes the files' count and respective sizes.
The following table outlines the requisite metadata units based on file size. These specifications apply to files stored on SSDs or tiered to object stores.
File size | Number of metadata units | Example |
---|---|---|
< 0.5 MB | 1 | A filesystem with 1 billion files of 64 KB each requires 1 billion metadata units. |
0.5 MB - 1 MB | 2 | A filesystem with 1 billion files of 750 KB each, requires 2 billion metadata units. |
> 1 MB | 2 for the first 1 MB plus 1 per MB for the rest MBs |
|
Note: Each directory requires two metadata units instead of one for a small file.