From owner-freebsd-stable@freebsd.org Sun Jul 26 20:59:19 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E343836BB3B for ; Sun, 26 Jul 2020 20:59:19 +0000 (UTC) (envelope-from SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4BFFfv2WGzz44f9 for ; Sun, 26 Jul 2020 20:59:19 +0000 (UTC) (envelope-from SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4BFFft2F3rz2fjQQ for ; Sun, 26 Jul 2020 13:59:18 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: Laundry Date: Sun, 26 Jul 2020 13:59:18 -0700 References: <20200726203112.GB2551@kib.kiev.ua> To: List Mailing FreeBSD-STABLE In-Reply-To: <20200726203112.GB2551@kib.kiev.ua> Message-Id: X-Mailer: Apple Mail (2.3445.104.15) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4BFFfv2WGzz44f9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.893]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.81)[-0.811]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.88)[-0.884]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,SRS0=sRaI=BF=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 20:59:19 -0000 > On 26 July 2020, at 13:31, Konstantin Belousov = wrote: >=20 > On Sun, Jul 26, 2020 at 01:11:33PM -0700, Doug Hardie wrote: >> I have a production system (12.1-RELEASE-p6) that is showing around 1 = GB of Laundry pages. There are over 6 Gb Inact and 1 Gb free. I can = understand why the system would want to not prioritize laundering those = pages as there is plenty of available pages. However, does that mean = that I have about 1 GB of updated files that have not been written back = to disk? If so, then there is a significant issue with power failures = and loss of data. >>=20 > Laundry keeps both file-backed (named) pages and swap-backed = (anonymous) > pages. Most likely it means that you have 1G of anonymous dirty > mappings, for instance programs data/bss and malloced. I don't believe there are very man anonymous pages, but there are lots = of named pages. If those are dirty, does that mean they have not yet = been written back to disk? The loss of those would be quite detrimental = if not written back to disk. -- Doug