Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 11:34:17 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>, Robert <robert.ayrapetyan@gmail.com>
Cc:        FreeBSD <freebsd-hackers@freebsd.org>, Mark Johnston <markj@freebsd.org>
Subject:   Re: Sudden grow of memory in "Laundry" state
Message-ID:  <981C887D-78EB-46D2-AEE5-877E269AF066@yahoo.com>
In-Reply-To: <20181024211237.302b72d9@gmail.com>
References:  <55b0dd7d-19a3-b566-0602-762b783e8ff3@gmail.com> <20180911005411.GF2849@raichu> <ce38cbfa-e1c5-776e-ef2e-2b867c9a520f@gmail.com> <20180911150849.GD92634@raichu> <104be96a-c16b-7e7c-7d0d-00338ab5a106@gmail.com> <20180928152550.GA3609@raichu> <e705099c-ea42-4985-1012-50e9fa11addd@gmail.com> <20181024211237.302b72d9@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Oct-24, at 11:12 AM, Rozhuk Ivan <rozhuk.im at gmail.com> wrote:

> On Wed, 24 Oct 2018 10:19:20 -0700
> Robert <robert.ayrapetyan@gmail.com> wrote:
>=20
>> So the issue is still happening. Please check attached screenshot.
>> The green area is "inactive + cached + free".
>>=20
>>  . . .
>=20
> +1
> Mem: 845M Active, 19G Inact, 4322M Laundry, 6996M Wired, 1569M Buf, =
617M Free
> Swap: 112G Total, 19M Used, 112G Free

Just a limited point based on my understanding of "Buf" in
top's display . . .

If "cached" means "Buf" in top's output, my understanding of Buf
is that it is not a distinct memory area. Instead it totals the
buffer space that is spread across multiple states: Active,
Inactive, Laundry, and possibly Wired(?).

In other words: TotalMemory =3D Active+Inact+Laundry+Wired+Free.
If Buf is added to that then there is double counting of
everything included in Buf and the total will be larger
than the TotalMemory.

Also Inact+Buf+Free may double count some of the Inact space,
the space that happens to be inactive buffer space.

I may be wrong, but that is my understanding.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?981C887D-78EB-46D2-AEE5-877E269AF066>