Date: Thu, 4 Sep 2025 01:14:24 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-pkg@freebsd.org Cc: freebsd-pkgbase@freebsd.org Subject: pkg upgrade, vm.pageout_oom_seq: swap off: UFS, ZFS Message-ID: <2f455675-609b-40b5-9dab-5f006156bac6@gmail.com> In-Reply-To: <73877048-A3B4-4920-AC92-A8C7A4FF83B5@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> <6d1606ac-8ad0-4f15-96c7-30c6f50ca9b9@gmail.com> <73877048-A3B4-4920-AC92-A8C7A4FF83B5@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On 02/09/2025 19:19, Mark Millard wrote: > On Aug 31, 2025, at 12:01, Graham Perrin <grahamperrin@gmail.com> wrote: > >> … > The notes here are about the following sequence of 4 commands: > >> 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 > In a 14.3-Stable amd64 UFS context the above command sequence: > > 1) Will probably OOM on a system with 1 GiByte of RAM but no swap space, > even for the first install command. > > 2) The sequence of 4 commands used (RAM+SWAP): > 1024 MiBytes + 2312 MiBytes (observed maximum) > (So between 3 and 4 GiBytes of RAM+SWAP overall.) > > 3) So will OOM on a system with 2 GiByte of RAM but no swap space, > overall. > > … Here, with 3 G, fast storage, and swap off: UFS and ZFS seemed much the same. RELEASE, quarterly. UFS (dmesg: 2928 MB avail memory) ================================= Fourth command (pkg upgrade -fUy). First run failed. vm.pageout_oom_seq=120 Second and third runs (not consecutive to the first): success. For the third run, I reduced vm.pageout_oom_seq to its default (12). ZFS (dmesg: 2920 MB avail memory) ================================= Four consecutive runs of the fourth command. Two runs with vm.pageout_oom_seq=120: success. Third and fourth runs with vm.pageout_oom_seq=12: - the third run failed almost immediately, before step 1 of 2601 - the fourth run succeeded.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f455675-609b-40b5-9dab-5f006156bac6>
