High Memory Usage for Zpool with multiple datasets. #16663
Replies: 1 comment
-
I don't have a rule for number of datasets, but IIRC in TrueNAS we have a rule of warning users about having more than 10K of snapshots before management becomes difficult. It is difficult to say what exactly consumes the memory, since part might be kernel outside of ZFS, part may be ZFS memory that is held by kernel references (that may depend not only on number of datasets, but also on number of files and ongoing activity) and finally part may be normal voluntary caching. I've recently updated |
Beta Was this translation helpful? Give feedback.
-
I am observing a significant memory usage issue in my ZFS setup that I hope to get some insights on. Specifically, I have around 3,000 datasets, and I'm noticing an additional 4.4 GB of memory usage, alongside 2.2 GB being used by the ARC.
Setup Details:
ZFS version: 2.2
OS: Rocky Linux 8.9
Why does ZFS require such a high amount of memory for managing datasets, especially with no data present in them?
Are there specific configurations or properties I should consider adjusting to reduce memory overhead?
Is there a general rule of thumb for memory usage per dataset that I should be aware of?
Any insights or recommendations would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions