Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2025 03:10:02 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-pkg@freebsd.org
Cc:        freebsd-pkgbase@freebsd.org
Subject:   pkg upgrade, ZFS, swap on, vm.pageout_oom_seq
Message-ID:  <4e12afdc-7bcf-4a25-94b3-fe1562469ed9@gmail.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

Kubuntu host, VirtualBox guest, pkg 2.2.2, 15.0-PRERELEASE.

Slow physical storage for the virtual drive: a mobile HDD on USB.

bsdinstall, ZFS, 8 G swap, pkgbase, all components, then:

|pkg install --glob 'FreeBSD-kernel-generic-nodebug*'|

= 568 base packages.

vm.pageout_oom_seq=120

After base installation: 1 G memory given to the guest, GENERIC-NODEBUG, 
dmesg showed 932  MB avail.

Fetch then install some FreeBSD-ports packages. From 
<https://gist.github.com/grahamperrin/c1518052ef0c6822dab62f38ea5545c7?permalink_comment_id=5749571#gistcomment-5749571>:

|drm-kmodfirefoxgitupgothtophw-probekdelsblklynxnanopciutilsplasma6-sddm-kcmroxtermsddmuclcmdusbutilsvirtualbox-ose-additionsxfcexorg|

= 965 non-base packages installed in 4 minutes, 33 seconds.

Then, at ttyv3:

htop

at ttyv2:

tail -f -n 0 /var/log/messages

at ttyv1:

|/usr/bin/time -h pkg upgrade -fqUy|

= a quiet forced upgrade of all packages, complete in 17 minutes, 2.62 
seconds.

<https://i.imgur.com/mvFvcyX.png>;

With htop, I observed swap usage sometimes above 2 G. Never 3 or more, 
although I did not watch constantly.



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e12afdc-7bcf-4a25-94b3-fe1562469ed9>