"ZFS ate half of my RAM." - ![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
That's pretty much how it started.
Diving deeper to this subject it appeared that it's very common problem. Here are few topics on this forum that I read to understand what's going with ram:
All this can be pretty confusing and it is pretty much "one time" operation, that requires ton of reading to be set properly.
To simplify matter I wrote script that does everything itself and allows either to set size manually or set recommended size automatically.
Here's repo with script.
https://github.com/geoai777/zfs_arc
I did initial testing and it should work fine, but if there will be any bugs, feel free to let me know.
That's pretty much how it started.
Diving deeper to this subject it appeared that it's very common problem. Here are few topics on this forum that I read to understand what's going with ram:
- "Disable ZFS ARC or limiting it"
- "zfs_arc_max does not seem to work"
- "zfs_arc_max realtime"
- "ZFS RAM usage more than 90% of the system"
- "Recommended RAM for ZFS"
- and more others
All this can be pretty confusing and it is pretty much "one time" operation, that requires ton of reading to be set properly.
To simplify matter I wrote script that does everything itself and allows either to set size manually or set recommended size automatically.
Here's repo with script.
https://github.com/geoai777/zfs_arc
I did initial testing and it should work fine, but if there will be any bugs, feel free to let me know.