On Fri, 17 May 2024 at 22:23, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > Smaller is always better, but for a meaningful improvement, we'd want > to see more. I think one of the more interesting metrics for inodes is actually not necessarily size per se, but cache footprint. A *lot* of the inode is never actually touched in normal operation. Inodes have all these fields that are only used for certain types, or perhaps only for IO. So inodes are big, but more important than shrinking them is likely to try to make them dense in the cache for normal operations (ie open/close/stat in particular). They cache very well, and actual memory use - while still somewhat relevant - is less relevant than cache misses. Linus