ARC Size: 86.85% 19.11 GiB
Target Size: (Adaptive) 86.85% 19.11 GiB
Min Size (Hard Limit): 12.50% 2.75 GiB
Max Size (High Water): 8:1 22.00 GiB
L2 ARC Size: (Adaptive) 3.88 TiB
Header Size: 0.27% 10.70 GiB
belon_cfy said:Is it possible your 10GB L2ARC header are part of your 19GB of ARC? Based on my calculation the consequence is same as yours.
Mem: 225M Active, 124M Inact, 28G Wired, 337M Cache, 1250M Free
ARC: 17G Total, 180M MFU, 4462M MRU, 185M Anon, 13G Header, 486M Other
...
MRU: number of ARC bytes holding most recently used data
...
Header: number of ARC bytes holding headers
# zfs-stats -L...
L2 ARC Size: (Adaptive) 4.70 TiB
Header Size: 0.27% 13.02 GiB
...
top:last pid: 4973; load averages: 0.00, 0.00, 0.00 up 20+20:10:36 12:07:45
106 processes: 1 running, 102 sleeping, 3 stopped
CPU: 0.0% user, 0.0% nice, 1.0% system, 0.0% interrupt, 99.0% idle
Mem: 357M Active, 263M Inact, 3101M Wired, 60M Cache, 417M Buf, 137M Free
ARC: 2458M Total, 1309M MFU, 964M MRU, 1810K Anon, 26M Header, 157M Other
Swap: 16G Total, 125M Used, 16G Free
vmstat -m:% vmstat -m | perl -ne 'if (/(\d+)K/) { $sum += $1; } END { print int(0.5+$sum/1024),"M\n"; }'
2432M
vmstat -z:vmstat -z | perl -ne 'if (/(\d+),\D+(\d+),\D+(\d+),\D+(\d+),/) { $sum += ($1*($3+$4)); } END {print int(0.5+($sum/(1024*1024))),"M\n";}'
512 M
sysctl:% sysctl hw.physmem | awk '{print $2 / (1024*1024)"M"}'
4070.74M
% sysctl hw.usermem | awk '{print $2 / (1024*1024)"M"}'
969.766M
4071M Total - SUM(Mem: 357M Active, 263M Inact, 3101M Wired, 60M Cache, 137M Free) => ~153M unaccounted
3101M Wired - 2432M Malloc - 512M UMA => ~157M unaccounted
970M User - SUM(Mem: 357M Active, 263M Inact, 60M Cache, 137M Free) => ~153M unaccounted
2458M ARC - SUM(1309M MFU, 964M MRU, 1810K Anon, 26M Header, 157M Other) => ~0M unaccounted
Mem: 18M Active, 35M Inact, 15G Wired, 2712K Cache, 242M Free
ARC: 11G Total, 4696M MFU, 536M MRU, 80M Anon, 6749M Header, 63M Other
L2 ARC Summary: (HEALTHY)
Passed Headroom: 8.02m
Tried Lock Failures: 337.93k
IO In Progress: 83.31k
Low Memory Aborts: 37
Free on Write: 1.72m
Writes While Full: 190.52k
R/W Clashes: 7.76k
Bad Checksums: 0
IO Errors: 0
SPA Mismatch: 49.17m
L2 ARC Size: (Adaptive) 889.28 GiB
Header Size: 0.73% 6.51 GiB
L2 ARC Evicts:
Lock Retries: 5.52k
Upon Reading: 0
L2 ARC Breakdown: 385.54m
Hit Ratio: 35.94% 138.56m
Miss Ratio: 64.06% 246.98m
Feeds: 370.29k
L2 ARC Buffer:
Bytes Scanned: 24.61 TiB
Buffer Iterations: 370.29k
List Iterations: 22.40m
NULL List Iterations: 3.61m
L2 ARC Writes:
Writes Sent: 100.00% 353.11k