Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 09:21:04 -0800
From:      pete wright <nomadlogic@gmail.com>
To:        Patrick Lamaiziere <patfbsd@davenulle.org>
Cc:        freebsd-questions <questions@freebsd.org>
Subject:   Re: top(1) Laundry memory ?
Message-ID:  <CAGBmCT7q4N73HbM-U9FQ%2BdXTvXu86VJLVDhW1TwmVT-H_dWSew@mail.gmail.com>
In-Reply-To: <20171121093459.4508a629@mr185083>
References:  <20171121093459.4508a629@mr185083>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 21, 2017 at 12:34 AM, Patrick Lamaiziere
<patfbsd@davenulle.org> wrote:
> Hi,
>
> In FreeBSD 11, there is something new in top(1) : laundry memory stats.
>
> Ex:
> Mem: 884M Active, 1330M Inact, 415M Laundry, 5175M Wired, 782M Buf, 84M
> Free
>
> Can someone explain what is this memory please ?
>
> man top:
>    Physical Memory Stats
>        Active:
>               number of bytes active
>
>        Inact: number of clean bytes inactive
>
>        Laundry:
>               number of dirty bytes queued for laundering
>

this is probably something that should be added to the FreeBSD memory
wiki and/or handbook.  My understanding of it comes from this thread:
http://freebsd.1045724.x6.nabble.com/PQ-LAUNDRY-td6142103.html

"The PQ_LAUNDRY branch adds a new page queue, PQ_LAUNDRY, to store dirty
pages that have passed once through the inactive queue."

It also references this diff:
https://reviews.freebsd.org/D8302

hope this helps!
-pete


-- 
pete wright
www.nycbug.org
@nomadlogicLA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBmCT7q4N73HbM-U9FQ%2BdXTvXu86VJLVDhW1TwmVT-H_dWSew>