From owner-svn-src-head@freebsd.org Wed Apr 11 04:52:07 2018 Return-Path: Delivered-To: svn-src-head@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 178AFF9511A; Wed, 11 Apr 2018 04:52:07 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB994871DE; Wed, 11 Apr 2018 04:52:06 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 6948B146C0; Wed, 11 Apr 2018 04:52:00 +0000 (UTC) Subject: Re: svn commit: r332365 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs To: Mark Johnston , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201804101356.w3ADu6Jr072766@repo.freebsd.org> From: Allan Jude Openpgp: preference=signencrypt Message-ID: <33ea9236-2442-10d6-95d0-9e4d33c4613e@freebsd.org> Date: Wed, 11 Apr 2018 00:51:55 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <201804101356.w3ADu6Jr072766@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bv5MZTSXhBrZQG7Ah1pQNP4qbfe0jggFx" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 04:52:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Bv5MZTSXhBrZQG7Ah1pQNP4qbfe0jggFx Content-Type: multipart/mixed; boundary="NbJClafTHxD5uEnny03GpV5P87esparfL"; protected-headers="v1" From: Allan Jude To: Mark Johnston , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <33ea9236-2442-10d6-95d0-9e4d33c4613e@freebsd.org> Subject: Re: svn commit: r332365 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs References: <201804101356.w3ADu6Jr072766@repo.freebsd.org> In-Reply-To: <201804101356.w3ADu6Jr072766@repo.freebsd.org> --NbJClafTHxD5uEnny03GpV5P87esparfL Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2018-04-10 09:56, Mark Johnston wrote: > Author: markj > Date: Tue Apr 10 13:56:06 2018 > New Revision: 332365 > URL: https://svnweb.freebsd.org/changeset/base/332365 >=20 > Log: > Set zfs_arc_free_target to v_free_target. > =20 > Page daemon output is now regulated by a PID controller with a setpoi= nt > of v_free_target. Moreover, the page daemon now wakes up regularly > rather than waiting for a wakeup from another thread. This means that= > the free page count is unlikely to drop below the old > zfs_arc_free_target value, and as a result the ARC was not readily > freeing pages under memory pressure. Address the immediate problem by= > updating zfs_arc_free_target to match the page daemon's new behaviour= =2E > =20 > Reported and tested by: truckman > Discussed with: jeff > X-MFC with: r329882 > Differential Revision: https://reviews.freebsd.org/D14994 >=20 On a somewhat unrelated note, can we rename this sysctl and change to be counted in bytes? When users are tuning ZFS, every other ZFS value is in bytes, not pages. Maybe keep the currently variable as it is, in pages, and adjust it by dividing the user set value by the page size. The current name is great, but I wouldn't want anyone to end up setting it to 4096x the value they actually want if we just changed it out from under them. --=20 Allan Jude --NbJClafTHxD5uEnny03GpV5P87esparfL-- --Bv5MZTSXhBrZQG7Ah1pQNP4qbfe0jggFx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJazZRvAAoJEBmVNT4SmAt+fDoQAOjY4MAP17oUWGUo0zgfqWww Yt2f2TUwzB5p61EscwIkhUo/4LalQWihnkm3EM0jF7piiaa+Kzei0aWX0Ky4Adv+ mcfU8CYbOakvqJ6PpxEBK0NZGkzTETCzLRxBA0RDtZnZJW4GddwuACp1D7LZHl5e TbFh0kWETs9kt/ADxPbjIMfyRUoxyh1bVnR4eeSTRHF/uuB2chmrVxTJBTG0kVU8 t2VpvefRee1X1XPJNKKIqOSsWLiN/VaEljEcwRmPTy/LDwLCxOnwkbMs0mFFOm71 OzZerSIMUI3e7irhQB9DDtyY5I98aybCKpEQqC8ctzRyaGVOhcNxuprLy5+w4UUO SvOkHMebMSOMxtgSjxJZYyy3b43CSggTXMtWQVVvdSI0++gz9RhtTy4diqF32oXq N9jOiWPn9J9cvjiKYai+SCwQoHrAFXPx+/SdVMuRu1+81nwFD8MAVzitlpxBK6XS mh6pBDIVOycqeGbiswMl2RT60n2AgazWHameR/mo27nWm0m5hqMV2MynjvIEVMOv YIdta3DYUVcdSTCt/jbr2HdsL+M34U/7q5A1MT5NoI1y6NGLk2JLEORa+EdljxHt 2M53vBZgW8712Jj5p34+z/+PPSzbkKDfpR6M6bD3fmqgC73/oHCDR/JkDB+oNAGc PO23nvJNRT89ukWXiw1q =X8iN -----END PGP SIGNATURE----- --Bv5MZTSXhBrZQG7Ah1pQNP4qbfe0jggFx--