Project

General

Profile

Actions

Feature #14012

open

ZFS memory usage graphs

Added by Jim Pingle almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
RRD Graphs
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default

Description

It's becoming increasingly relevant for users to monitor ZFS memory usage, especially ARC usage. This is ideal as a separate RRD graph under Status > Monitoring but might also be a nice addition to the ZFS widget or a separate ZFS Memory widget.

Currently users have to look at the output of top to see it:

ARC: 1202M Total, 743M MFU, 384M MRU, 916K Anon, 14M Header, 59M Other
     1041M Compressed, 3148M Uncompressed, 3.02:1 Ratio

Or dig through sysctl OIDs:

kstat.zfs.misc.arcstats.mfu_ghost_size: 0
kstat.zfs.misc.arcstats.mfu_size: 778736128
kstat.zfs.misc.arcstats.mru_ghost_size: 0
kstat.zfs.misc.arcstats.mru_size: 402139648
kstat.zfs.misc.arcstats.anon_size: 989184
kstat.zfs.misc.arcstats.other_size: 62153984
kstat.zfs.misc.arcstats.bonus_size: 13352960
kstat.zfs.misc.arcstats.dnode_size: 35653000
kstat.zfs.misc.arcstats.dbuf_size: 13148024
kstat.zfs.misc.arcstats.metadata_size: 138728448
kstat.zfs.misc.arcstats.data_size: 1043136512
kstat.zfs.misc.arcstats.hdr_size: 14482464
kstat.zfs.misc.arcstats.overhead_size: 90355200
kstat.zfs.misc.arcstats.uncompressed_size: 3300402688
kstat.zfs.misc.arcstats.compressed_size: 1091509760
kstat.zfs.misc.arcstats.size: 1260264224
kstat.zfs.misc.abdstats.linear_data_size: 114316288
kstat.zfs.misc.abdstats.scatter_data_size: 977197568
kstat.zfs.misc.abdstats.struct_size: 6681872

The exact set of data to graph is open for debate here, but we should at least go with the equivalent values to those shown in top output.

Actions #1

Updated by Patch Public over 1 year ago

This feature request is probably related: zfs GUI functionality - alerts https://redmine.pfsense.org/issues/9226 but depending on the final implementation maybe separate and better integrated into the "Disk" widget

Actions

Also available in: Atom PDF