Date: Sun, 31 Aug 2025 20:01:55 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-pkg@freebsd.org Cc: freebsd-pkgbase@freebsd.org Subject: Re: pkg upgrade, vfs.zfs.arc.free_target, vfs.zfs.arc.sys_free, vm.pageout_oom_seq Message-ID: <6d1606ac-8ad0-4f15-96c7-30c6f50ca9b9@gmail.com> In-Reply-To: <9300201D-9D53-449B-9F0A-DFF6194B2830@yahoo.com> References: <D2C64F39-B6EA-47BD-B88E-B4D729BE0150@yahoo.com> <0dbf8c95-7697-4887-a890-335c3ccd80f1@gmail.com> <29ff7f7e-12ef-4d10-8ca4-15ae35ce6bae@gmail.com> <19251E67-BC92-4D71-9E71-6C7546A46D8C@yahoo.com> <ef9ca09f-72e0-4489-a779-2debc161d770@gmail.com> <9300201D-9D53-449B-9F0A-DFF6194B2830@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On 31/08/2025 09:38, Mark Millard wrote: > … > > So 4 GiBytyes of RAM is insufficient, even with use of: vm.pageout_oom_seq=120 > > Note: In this context increases is not going to help: it is way too little RAM > for pkg. (I was observing via top at the time.) > > If pkg continues to require such RAM+SWAP usage, FreeBSD is going to end up > requiring more than, say, 5 GiBytes of RAM+SWAP, even for UFS contexts. > >> … > > For reference, see: > > https://lists.freebsd.org/archives/freebsd-pkgbase/2025-August/000804.html > > with details of my test context (where swap was in use). Interesting. Here, with faster storage for a new guest, 1,024 MB base memory was enough – for both UFS and ZFS – as outlined below. ---- VirtualBox bidirectional shared clipboard 1 GB memory EFI four processors PAE/NX VBoxSVGA FreeBSD-14.3-RELEASE-amd64-dvd1.iso disable host I/O cache vm.pageout_oom_seq=120 UFS 3 G swap install all components pkbasify conversion before first boot (519 packages) first boot vm.pageout_oom_seq=120 pkg install -Fy firefox gitup htop hw-probe kde lsblk lynx nano pciutils plasma6-sddm-kcm roxterm sddm stressdisk uclcmd usbutils virtualbox-ose-additions xfce xorg pkg install -Uy firefox gitup htop hw-probe kde lsblk lynx nano pciutils plasma6-sddm-kcm roxterm sddm stressdisk uclcmd usbutils virtualbox-ose-additions xfce xorg pkg upgrade -fFqy pkg upgrade -fUy 1353 packages 2601 steps success vm.pageout_oom_seq=12 pkg upgrade -fUy success ---- The same with ZFS. Success with, then without, the increased vm.pageout_oom_seqhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6d1606ac-8ad0-4f15-96c7-30c6f50ca9b9>
