Skip to Main Content

Infrastructure Software

Announcement

Testing banner

zfs

User_X6IRIFeb 3 2022 — edited Feb 3 2022

hi,
In my server i set up echo "set zfs:zfs_arc_max = 104857600" >> /etc/system ->100mb.
i rebooted and dd if=/dev/zero of=/y/y bs=1024 count=1000000000000
then
mdb -k
Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp cpu.generic ufs mpt sockfs ip hook neti dls sctp arp usba fctl nca md lofs zfs audiosup cpc random crypto fcip ptm sppp nfs ]
> ::memstat
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 61675 240 12%
ZFS File Data 86755 338 17%
Why ZFS File Data is not limited up to 100mb?
kstat -p zfs|grep size
zfs:0:arcstats:size 104839320 ->99m
why zfs file data from mdb is different from zfs:0:arcstatL:size?
which one show the correct zfs arc buffer?

Comments
Post Details
Added on Feb 3 2022
0 comments
26 views