https://bugs.kde.org/show_bug.cgi?id=512225

Leah B. <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Leah B. <[email protected]> ---
Hi! I'd be interested in implementing the ZFS disk cache part of this.

If I understand correctly, due to the way ZFS allocates memory for its disk
cache (via SLAB), the memory used by the ZFS disk cache ("ARC") is reported as
'Used memory' in the kernel.
The btop TUI system monitor works around this by querying ZFS's `spl` module
for the ARC's size and adding it to both the 'cached' and 'available' memory
counters:
https://github.com/aristocratos/btop/blob/d3389d74e88644c50907e84314c3c7c973ba5be9/src/linux/btop_collect.cpp#L2393-L2398

I doesn't seem terribly difficult to implement, so I could give it a try.
Currently, KDE's source code is very hard to navigate and search, so I would
appreciate if someone could point me in the right direction.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to