I notice my ARC is not being fully utilised. My understanding is that ZFS ARC memory allocations are now identical to TrueNAS CORE (NAS-123034) as of build 24.04-BETA.1. Has this changed in subsequent builds or do I have a mis-configuration or misunderstanding? I am on build Dragonfish-24.04.2.
So if you were to reboot, you would see your ARC (ZFS Cache) at a very small value.
Without context, there’s no way to guess why your ARC hasn’t filled up beyond 11 GiB. Maybe you just haven’t been using the server long enough since the last reboot? Maybe you haven’t been reading much data from the ZFS pools?
I’m noticing the same, even after weeks of uptime on a fairly-active server. ARC isn’t limited to 50% of RAM any more as it was pre-Dragonfish, but it’s definitely smaller than it had been under CORE:
The behavior is a bit strange from what I am use to under Core. I was using Robocopy to copy from Window 10 to SMB on TrueNAS Dragonfish-24.04.2. Over 10 TB.
For some reason, ARC seems to get flushed almost completely out every so often or just even when machine is just idle for long periods.
Graphs over a day. Not sure if this was normal behavior but I did not put in a bug.
Now I’m more confused. I thought iX intentionally overrode the Linux default of arc_max, otherwise, it will be limited to 50% of available physical RAM.[1]
The rest appear fine.
Another thing I noticed is that “arc_meta_balance” appears to have been removed from the official docs. (But I doubt it has something to do with this behavior.)
so, half my 512GB is empty and only 104GB is even being used for ARC.
I’ve also seen it collapse worse, etc… this isn’t exactly predictable aside from high I/O being a contributing factor.
I do not set arc max. It’s set to about my memory size but not by me.
I definitely see collapses also. They have tuned some other settings, not just arc_max. But not sure which. Mine collapse (at least) when I start a VM. I recall before Dragonfish, starting a VM did something also with arc, I suspect the code is still there.
Added more comments above, I mostly see it when starting a VM from the UI (or command line). I have a few VMs that I only start here and there. An example is Electric Eel nightly. I’ve seen IX post other ZFS settings I believe they changed for Dragonfish latest due to other issues. I’ve seen a couple in tickets as well, but didn’t keep track.
Ditto, min looks the same as others. I assume this means that the ARC can be any size but reserves 10% for system padding? Any update on this, or is this all as expected?
Yeah, and no idea why! Maybe starting a VM after bootup does that, not sure. It definitely does something as the system flushes a lot of the cache immediately.