Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 16:33:26 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>, FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore.
Message-ID:  <6c41605a-81b4-c436-6114-98f1c802fbd3@FreeBSD.org>
In-Reply-To: <20181120204537.GB2630@raichu>
References:  <e2422965-0890-2d15-4716-0a31426b0a66@FreeBSD.org> <20181120204537.GB2630@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--nqLE7tjI1KuD3G9rbxMAvS8uhOHDiUvcO
Content-Type: multipart/mixed; boundary="sMcdeZmo5JPzFDejptSBbyacLa6uXWwKb";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: Mark Johnston <markj@freebsd.org>
Cc: FreeBSD FS <freebsd-fs@freebsd.org>,
 FreeBSD stable <freebsd-stable@freebsd.org>
Message-ID: <6c41605a-81b4-c436-6114-98f1c802fbd3@FreeBSD.org>
Subject: Re: Where is my memory on 'fresh' 11-STABLE? It should be used by
 ARC, but it is not used for it anymore.
References: <e2422965-0890-2d15-4716-0a31426b0a66@FreeBSD.org>
 <20181120204537.GB2630@raichu>
In-Reply-To: <20181120204537.GB2630@raichu>

--sMcdeZmo5JPzFDejptSBbyacLa6uXWwKb
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

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+=3D$2*$4; f+=3D$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".

--=20
// Lev Serebryakov


--sMcdeZmo5JPzFDejptSBbyacLa6uXWwKb--

--nqLE7tjI1KuD3G9rbxMAvS8uhOHDiUvcO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlv2sCZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R49uzQ/+OaCSQrUCF1+3crHJJqygHkvy3vdAplEpZJG3QfXOniLnX/9n3J95gGGm
CXS1n2zTLy+KzEXTR3slNRqZsuK6rXYHfN6+7J4N2xmsMaYrEDudieAc10uhu2/8
fsjw19I5fPCEzVhu3cL6td2yvY/KndRCrUrCp1llTZ8WSumWty2oxG+e4YBsWLKb
GWNP4sTb7ut4PthPm5ZGRnuFBIOjp7dGfSPp6BrN8+k0OVtLJqHt3F88ZHcaQ8nz
s7KR0F7UzKcF2bI39NCfOW6zH8dOcUQzTt+oJ6C3G8YCgHKxZt77rclfZzfpQQLp
arOGbHAcWq85+7kgyeBNKLUUO2PFnSXKTsO2rwH3ibUbCjmFZF0Cv5DlrUW/BLCd
MZgohUewgPYU9j5TCx7XsCS1DwRPY9dDIUpavBgZRXfMDYq7KEsVlFpZT6c7bt/C
NR6M1LIRCcq81XnlM2ur3fUlAOh2SUgHAWXwwgR7iI/tN+ZHJL3SXVpGYgTiZzpB
JBnYkKaXbktK617HwmZKV2/OXDX4bwIHqhjMcxM/oWpdHRxDwKYuMEuZnwxVAxqX
OVk3mhdOeTFVEvMYn/S2mr5S+m8jLwilh2qFDbtHsnMPAoETM6q73jIiVDfpkPzb
T9AEiUrc7CKnXT3oXJEFLZZdhmdfePArn69X6IRPSpcHZ2LdHG4=
=C1fk
-----END PGP SIGNATURE-----

--nqLE7tjI1KuD3G9rbxMAvS8uhOHDiUvcO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c41605a-81b4-c436-6114-98f1c802fbd3>