Date: Sat, 30 Aug 2025 08:50:03 -0700 From: Mark Millard <marklmi@yahoo.com> To: Graham Perrin <grahamperrin@gmail.com> Cc: freebsd-pkg@freebsd.org, freebsd-pkgbase@freebsd.org Subject: Re: pkg upgrade, vfs.zfs.arc.free_target, vfs.zfs.arc.sys_free (was: CFT: pkgbase support in 15.0) Message-ID: <F20E210F-B290-4EF3-8464-831E9F2BBFB3@yahoo.com> In-Reply-To: <0dbf8c95-7697-4887-a890-335c3ccd80f1@gmail.com> References: <D2C64F39-B6EA-47BD-B88E-B4D729BE0150@yahoo.com> <0dbf8c95-7697-4887-a890-335c3ccd80f1@gmail.com>
index | next in thread | previous in thread | raw e-mail
On Aug 29, 2025, at 19:46, Graham Perrin <grahamperrin@gmail.com> wrote: > > <https://lists.freebsd.org/archives/freebsd-pkgbase/2025-May/000543.html> > > On 30/05/2025 17:02, Mark Millard wrote: > >> … Did you do any tuning of the ZFS-in-use examples > > Recent test results, with a VirtualBox snapshot of: > > - FreeBSD 14.3-RELEASE-p2, AMD64, 525 packages from FreeBSD-base > > - x11/kde, x11/sddm, x11/xorg,and ten others from FreeBSD-ports Your pictured count of non-base "prime-origins" indicates 11 of them. > - all packages cached – pkg upgrade -fFqy, repeatedly. > > > pkg upgrade -fUy > > a) failed at least once with 12 GB memory without tuning > > b) succeeded at least once with 13 GB without tuning > > c) succeeded at least twice with 2 GB, ARC tuned. > > > Failure (a): <https://i.imgur.com/YKhwv8O.png> That shows, in part (warning: the text extraction may have inaccuracies): QUOTE [3156/3246] Installing webkit2-gtk_40-2.46.6_1... [3156/3246] Extracting webkit2-gtk_40-2.46.6_1: 100% Child process pid=895 terminated: Killed . . . root@pkg:~ # pkg prime-origins | grep -u base | we -1 11 . . . END QUOTE Without the list of 11, it messy for anyone else to (approximately) replicate the consequence list of (around) 3246 for independent testing of such via a close match --or, alternately, that include at least those (and possibly more from an existing environment). > Temporarily set before (c): > > sysctl vfs.zfs.arc.free_target=256000 > > > Success here means _not_ encountering: > >> Child process … terminated abnormally: Killed > > – with /var/log/messages showing the pkg context: > >> killed: failed to reclaim memory > > ---- > > I can not compare with 15.0-PRERELEASE until after completion of p9652f95ce8e4_sb45a181a74c main-amd64 on beefy18, <https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p9652f95ce8e4_sb45a181a74c>. > > Comparison with 15.0-ALPHA1 will be more meaningful. > > Not yet tested: vfs.zfs.arc.sys_free in lieu of vfs.zfs.arc.free_target === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F20E210F-B290-4EF3-8464-831E9F2BBFB3>
