1 hour ago · Tech · hide

Here’s a chunk from the caching chapter of OpenZFS Mastery. The ARC surrenders memory readily upon request, but freeing memory doesn’t happen instantaneously. While the process of releasing memory from the ARC has been accelerated in recent OpenZFS, it will always take longer than allocating free memory. On a host with a very large ARC, dumping gigabytes of objects from the cache might take a measurable fraction of a second. Depending on your host’s purpose you might need to restrict the ARC’s maximum size, or require the kernel to preserve at least a minimum amount of RAM for the ARC. Proxmox is intended for virtualization, and automatically caps the ARC at 10% of available memory. Linux OpenZFS defaults to capping the ARC at 50% of memory. FreeBSD goes the other direction and reserves 1 GiB of RAM for core system functions like sshd and Emacs, allowing ZFS to claim as much as it needs. No operating system vendor knows your specific workload, so all of these are equally incorrect. I…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town