Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore.

Lev Serebryakov lev at FreeBSD.org
Thu Nov 22 13:33:34 UTC 2018


On 20.11.2018 23:45, Mark Johnston wrote:

>>  Where is other 11G of memory?!
>>
>> I've checked USED and FREE in "vmstat -z" output and got this:
>>
>> $ vmstat -z | tr : , | awk -F , '1{print $2*$4,$2*$5,$1}' | sort -n |
>> tail -20
>> 23001088 9171456 MAP ENTRY
>> 29680800 8404320 VM OBJECT
>> 34417408 10813952 256
>> 36377964 2665656 S VFS Cache
>> 50377392 53856 sa_cache
>> 50593792 622985216 zio_buf_131072
>> 68913152 976896 mbuf_cluster
>> 73543680 7225344 mbuf_jumbo_page
>> 92358552 67848 zfs_znode_cache
>> 95731712 51761152 4096
>> 126962880 159581760 dmu_buf_impl_t
>> 150958080 233920512 mbuf_jumbo_9k
>> 165164600 92040 VNODE
>> 192701120 30350880 UMA Slabs
>> 205520896 291504128 zio_data_buf_1048576
>> 222822400 529530880 zio_data_buf_524288
>> 259143168 293476864 zio_buf_512
>> 352485376 377061376 zio_buf_16384
>> 376109552 346474128 dnode_t
>> 2943016960 5761941504 abd_chunk
>> $
>>
>>  And total USED/FREE numbers is very strange for me:
>>
>> $ vmstat -z | tr : , | awk -F , '1{u+=$2*$4; f+=$2*$5} END{print u,f}'
>> 5717965420 9328951088
>> $ One more datapoint: I needed to reboot system and right after reboot
ARC becomes 14GiB (what was expected) and now it slows defalate, though
I didn't get more "Free" memory. So, ARC becomes smaller and smaller
after first fill-up, but all memory is "Wired".

-- 
// Lev Serebryakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20181122/6c5bd06b/attachment.sig>


More information about the freebsd-fs mailing list