From owner-svn-src-stable@freebsd.org Wed Dec 13 18:52:35 2017 Return-Path: Delivered-To: svn-src-stable@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 EE460E8366C; Wed, 13 Dec 2017 18:52:35 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2F537DF32; Wed, 13 Dec 2017 18:52:35 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id vBDIqKNW057884 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=OK); Thu, 14 Dec 2017 05:52:26 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id vBDIqFrT012087 (version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO); Thu, 14 Dec 2017 05:52:15 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id vBDIqFBZ012086; Thu, 14 Dec 2017 05:52:15 +1100 (AEDT) (envelope-from peter) Date: Thu, 14 Dec 2017 05:52:15 +1100 From: Peter Jeremy To: Baptiste Daroussin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: Re: svn commit: r326619 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <20171213185214.GA12026@server.rulingia.com> References: <201712061001.vB6A12Ot032201@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <201712061001.vB6A12Ot032201@repo.freebsd.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 18:52:36 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-Dec-06 10:01:02 +0000, Baptiste Daroussin wrote: >Author: bapt >Date: Wed Dec 6 10:01:02 2017 >New Revision: 326619 >URL: https://svnweb.freebsd.org/changeset/base/326619 > >Log: > MFC r325851: > =20 > remove the poor emulation of the IllumOS needfree global variable to pre= vent > the ARC reclaim thread running longer than needed. > =20 This change appears to break the backpressure mechanism that forces ARC to release wired memory. Running FreeBSD/amd64 r326743, I found that my system was thrashing badly with almost all memory (~31GB out of 32GB) wired (including 19GB ARC, 7GB VBox guests). Running a tool that just allocates and dirties a large amount of memory had no effect on the ARC size. Reverting this change only restores normal behaviour where ARC will shrink under pressure. My ZFS boot tunables are: vfs.zfs.arc_max=3D"24G" vfs.zfs.arc_meta_limit=3D"12G" --=20 Peter Jeremy --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJaMXbeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0qBEP/jgEyTai46NhxOuUzzxI6y2g rwnxgAAX+yMOU4ZdaK0SuSQUsmCS1SHQnuORG1Ay1CCaWcf6vtKEt0Ce90+zTMjZ qqmWLvBOOCfBSCTQzcVs1ICcKtML/zsXEO2wxyZu94yIc4kwa5Az4R5J5RCeCb9w 1iGSFWbeyTevC0QReKgj2NKhVZ6Lb9281GXq3aZJH1cONG1xDCOb9V8kw9VRtj/G sy5gaUK8ph+BWySd/PJ02cibJBPUptHSBUQdJGnU2h7HLuy/dO0tFrb2WmDozsFE CXeuPtdE8bOlJVEMFj7w1KYPIXjKBUP6g+y1ZI7hFWrecbwLWVWCiO0AmB5/bZTT +D79/c7DxLMIXwjN8iaRwJiAfMeFJcZQFVu7RtKHHb9gEpAU5QRt57RjJtqTuhXn 5tC5M1DDv5lwz6cACFG7dlRfaLvAcJgfhG0hJKtWlFlSUSfpX/Mlcv2gJUWZz/4t K/wE1iRX+EvRkmFnBThJtzizyu1NIyT+CZu4PbwiL6WJdesoO3f+vfcBnQaDR2gL /bHSofISm/GKhpCbzmbaZ7Xw1Fp/S6TBthKBESYFTExKze4Am6EdayqphIa9Sytj J9euCfAxags1d3IJ30GF7pNzqYBgXmobd4Wfca1F8P1ZQRtPtqHg6wb1kIOKYyAm rTQkYjlzaOmbjMrz0H4Y =fypZ -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--