u/AnorocFote

▲ 16 r/truenas

Truenas Core - Full NVME Storage - Memory usage Problem

Good morning,

we have a full nvme storage on our truenas core. The system has 256 GB of Memory (RAM). The ARC hits are very low (80%) but the zfs Cache only uses 25 GiB and there are still 195 GiB free Ram.

Yesterday i set the sysctl vfs.zfs.arc_max and sysctl vfs.zfs.arc_min to 200 GiB and 150 GiB. Over the night the zfs Cache only took 5 GiB and not more. Now its stuck again and the hit rate is at 85%. The NVME Storage is used as a VM datastore.

Is FreeBSD limiting something?

Thank you.

SOLUTION: The solution came from @Aggravating_Work_848 - the primary cache was set to metadata only. Now after i changed it to ALL the ZFS Cache fills up quiet fast and the ARC hit rate is at 96-99% :)

reddit.com
u/AnorocFote — 3 days ago