From owner-freebsd-questions@freebsd.org Tue Nov 21 17:21:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B10BDF4912 for ; Tue, 21 Nov 2017 17:21:09 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2916476C06 for ; Tue, 21 Nov 2017 17:21:09 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 27E23DF4911; Tue, 21 Nov 2017 17:21:09 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 278D1DF4910 for ; Tue, 21 Nov 2017 17:21:09 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A20FF76C01 for ; Tue, 21 Nov 2017 17:21:08 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id m1so15009209lfj.9 for ; Tue, 21 Nov 2017 09:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CZk7esTv7jJ+FTbsgM1bFim/PPDau1Zn6hyY7jQgrrs=; b=VMADBW29ka6MVU1I4iFjcxI/CwI1pp/e5aKXnhdtn4vUEylug8gm8tFx0073hzOvXX ZB8XU5sM6IEZIeSpjYUEjB7QYwZyk8CxBpYiUjbFvxM9O0h2Q+k1PaPrclDoG2aJA5X8 mkGQXUX02o4kVtZuOoTugfH15qoNNzVxn6rKet1ni/+grGVfc8QkIWaT682jE5grOTjN 1QIIGE0KRtyFA5Ga6XS5Zbpn/tz6hMWCr0frfvhpsdK2NVHElihNLKc0ap6t6MHs8CNB dcgNYSRPnegstH/BbRGGhkk/l2MrZNP9ZA6ipC9AeLE0EaH1KfDt0q5RqOHlp5/TYsxA PnZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CZk7esTv7jJ+FTbsgM1bFim/PPDau1Zn6hyY7jQgrrs=; b=dTGg1sYuvktLAwGNSr5mol1IUEsImWis9B3XWALtCLXwMk/LgBq934kXzX+UAvlpUT ns3Q2u1RsOS9XwGo2pu+O4pQfoKA53Lor7sl8ljsY+kizpQSkvAj/D5EnkA2c9xMMmf8 yQ/5LfK4RcL5KBmVf0ehpYNkxmN6FDme5jiTf9RAps7mrWGwm8ZOpoBnVDbtldKKeJv3 6iyAUmtnotKEt7RUCDTshOPTJbRfdUnr/K1lVX05w/m+9NQ1T3Ra3rI+11oCZ/F1FWma cx3x8dyHIOX6xuRIorPovsudrvTptfeFJVjWWBNIQ6pVq9RBq7ia1LkjBkU++ep8vHwZ AgyA== X-Gm-Message-State: AJaThX6/zm1XDTy9A2m1ueqhiZVHZEe5sEDcafeaHC9L5SypzYFSW3IH SxcYHWPZtDVwGWD6E1LvvAHGmDXUOfTuvl92+61tNMtk X-Google-Smtp-Source: AGs4zMZ0DVWlfqMfJp4D0CLIIhPsEVGlK1qMxdokpXjHZO59wd3bnItmt5l+szZzpOqTb01eKreCADpIv6zebn2tk68= X-Received: by 10.46.97.10 with SMTP id v10mr3568077ljb.48.1511284865593; Tue, 21 Nov 2017 09:21:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.42.149 with HTTP; Tue, 21 Nov 2017 09:21:04 -0800 (PST) In-Reply-To: <20171121093459.4508a629@mr185083> References: <20171121093459.4508a629@mr185083> From: pete wright Date: Tue, 21 Nov 2017 09:21:04 -0800 Message-ID: Subject: Re: top(1) Laundry memory ? To: Patrick Lamaiziere Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 17:21:09 -0000 On Tue, Nov 21, 2017 at 12:34 AM, Patrick Lamaiziere 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