Forum Stats

  • 3,872,487 Users
  • 2,266,432 Discussions
  • 7,911,221 Comments

Discussions

zfs

User_X6IRI
User_X6IRI Member Posts: 42 Green Ribbon
edited Feb 3, 2022 3:27PM in Solaris 10

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?