top(1) Laundry memory ?

pete wright nomadlogic at gmail.com
Tue Nov 21 17:21:09 UTC 2017


On Tue, Nov 21, 2017 at 12:34 AM, Patrick Lamaiziere
<patfbsd at 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


More information about the freebsd-questions mailing list