From owner-freebsd-hackers@freebsd.org Wed Oct 24 18:35:33 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8D0F103601F for ; Wed, 24 Oct 2018 18:35:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-3.consmr.mail.bf2.yahoo.com (sonic306-3.consmr.mail.bf2.yahoo.com [74.6.132.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60B037433A for ; Wed, 24 Oct 2018 18:35:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: WRVCOzAVM1lyxpw.ifC1ps.vVaoGzSTzPbGf1U_opJQw1OgGE9c73b9VnhKSsI_ iZ8oJWftl.cqDnLX6TJWrtv6ijycxyz5J0CW_fXLudy75baEBEbrK7Lyrc3CIuqm4YiweWesrymH wmP1o7eHQgf.euQg1pEeoN8Ztk2L4J7oTYKwsN0HzGtGU4Al.g1iXe9rr.saJwgBrdO7fcPcB.oZ oEGI1kA_MdBpEEZYonpR.SXGftKJdGMKAM0Ij.hQDbXVGd.QudmV5PYEsE1FWGtBlLXVA9EqalVl JeIsg6GdmFZSP_qNiReZueS3rk3k91LsCb0awEQVAnkHxl0gWsSQm7fnw4wmWBqoQ4AntjdKZSSC 4R.Avy70v_0ctCIoK9wToLsQc1yyVUxPLkDcH.nTGqZHgdXPO1N9QvahEjUbotNeAByt241RMngn RfCtsVppd9.Wu0IDYj0tLEoq5xhIXaERcWG2JRlUcqEWkN9DXPOUSYZmPBmGjyGtb5xdw_qxHQv1 hTFcHLiaKZkJNYToU6UAfmU.JJa5a0Iq3qYRtEFmRGV_hymXz65Ui6z44LZdDgE1OFYnLyCi6GD6 QLf0GBULEiuUMod7EbJDAz1l9o9rG9GAMG3mL09fpPF_SDs6SevNpcHmGKPClStLuCxCHf3DOr58 fczPVDEpYb1vgRZzggAVm87z1k_xGVYUKtQwo2KEN86sXadaAQhogFzUHUT7wvOjoF33_UHR2hMk xOpU_hRDAa1vSMgGzdzL3TAofhszjnISNfJKlwLnR91h1riSvKqawO20aUXT8wSfn.5InzIyt02b GiNH8qmKilpm9wYyGKiqlAZSYdps3UsEFj4Z_93hfppBSFlcOoHAqMUJIFb4OwXvfnFnSigIKBPf olXdWio2It3jZNpRHSTHgNOn5WCvDNkthUr8D6hHx7lmmYf5K5VeZNGwJD.eArRl1YWK_g5kCzpR waDDunIBg5yQgtGWRGFCKv0rUoTYpwOoULK7a5Y_pDyWBZOjhKtMZTUNHtcPoaiYwQ20Rm4rKBJ_ DqKBysjABp85_eQadLqbndHA0amgmk78jBLNwMTy1gE_C9yyt0kOzczooag-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Wed, 24 Oct 2018 18:35:32 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp415.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 35478f8b76af0edb5c16d5260be74c32; Wed, 24 Oct 2018 18:35:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Sudden grow of memory in "Laundry" state From: Mark Millard In-Reply-To: <20181024211237.302b72d9@gmail.com> Date: Wed, 24 Oct 2018 11:34:17 -0700 Cc: FreeBSD , Mark Johnston Content-Transfer-Encoding: quoted-printable Message-Id: <981C887D-78EB-46D2-AEE5-877E269AF066@yahoo.com> References: <55b0dd7d-19a3-b566-0602-762b783e8ff3@gmail.com> <20180911005411.GF2849@raichu> <20180911150849.GD92634@raichu> <104be96a-c16b-7e7c-7d0d-00338ab5a106@gmail.com> <20180928152550.GA3609@raichu> <20181024211237.302b72d9@gmail.com> To: Rozhuk Ivan , Robert X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2018 18:35:34 -0000 On 2018-Oct-24, at 11:12 AM, Rozhuk Ivan wrote: > On Wed, 24 Oct 2018 10:19:20 -0700 > Robert 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)