chrcol said:so if kmem is increased and ARC left to auto, does the system set a bigger ARC but always 1 gig less then kmem?
AndyUKG said:In many places I have read that in 8.x that you dont have to tune memory for ZFS.
But from digging a bit deeper that seems true with the exception of "vm.kmem_size".
My understanding is that if you have a system with a lot of RAM and you want to use that RAM for ZFS then you should set "vm.kmem_size" to some value slightly higher than you want your ARC cache to be.
Ie you have 8GB RAM and only need 2GB for user land applications, then set vm.kmem_size to 6GB.
phoenix said:On 64-bit systems, kmem_size should be larger than your total RAM, in order to avoid memory fragmentation leading to "kmem_map too small" errors even when you have tonnes of free mem. One of the leading recommendations on the mailing lists is 1.5x RAM.
On 32-bit systems, you want to keep kmem_size under the RAM size, with arc_max limited to 1/2 kmem_size.