System memory cache is consistently at zero

Started by camellia, July 10, 2026, 12:02:33 AM

Previous topic - Next topic
Hi everyone

System memory cache in "Reporting Health" is always zero.

You cannot view this attachment.

Should the graph show "laundry" instead of "cache"?
Is the graph always zero because it doesn't reflect the value of "laundry"?

Are you running ZFS? ZFS ARC (adaptive replacement cache) is shown as wired, not cache. Only traditional UFS buffer cache woukd ever show up as cache.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I am running UFS.

It appears that the "cache" metric no longer exists in the memory line of the top command. "Laundry" exists in place of "cache," and it shows a non-zero value.

If the "System memory" in "Reporting Health" follows the memory metrics used by the top command, I believe it would be better to eliminate "cache" and introduce "laundry."

Is it not possible to change the cache display, given the need to maintain compatibility with past data?

Quote from: camellia on July 10, 2026, 09:04:53 PMIt appears that the "cache" metric no longer exists in the memory line of the top command. "Laundry" exists in place of "cache," and it shows a non-zero value.

If the "System memory" in "Reporting Health" follows the memory metrics used by the top command, I believe it would be better to eliminate "cache" and introduce "laundry."
If you are adventurous you could edit it in the source code of the component(s) responsible for the function :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Quote from: camellia on July 10, 2026, 09:04:53 PMI am running UFS.

It appears that the "cache" metric no longer exists in the memory line of the top command. "Laundry" exists in place of "cache," and it shows a non-zero value.

If the "System memory" in "Reporting Health" follows the memory metrics used by the top command, I believe it would be better to eliminate "cache" and introduce "laundry."

Is it not possible to change the cache display, given the need to maintain compatibility with past data?

In case you want to try it: opnsense-core -a sopex 5bfd77c

Otherwise it will be in some following release.
https://github.com/opnsense/core/commit/5bfd77cff2fcaf995db88cc5d4bef1eb070c95d7

Quote from: sopex on July 16, 2026, 04:35:53 PMIn case you want to try it: opnsense-core -a sopex 5bfd77c

You cannot view this attachment.

Cache is back!

Thanks.