From nobody Sun Aug 31 07:37:39 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cF3kq3qpYz66W7F for ; Sun, 31 Aug 2025 07:37:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-23.consmr.mail.gq1.yahoo.com (sonic311-23.consmr.mail.gq1.yahoo.com [98.137.65.204]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cF3kq0Kw8z3SXn for ; Sun, 31 Aug 2025 07:37:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1756625872; bh=OhP64NorfGqEcjCkoOIm4RLcZJgaGAYNCTFR0LgXIGY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=VetadcXgS/pGcKxxeykMkatZ2iDrtadDBRbPC0z35L3QEhOalAwQz6feaWDkL0eB0550RxdZWD9Q4Xvj8IPBn3bAuuN6Um3iadTyda3i1a2vdZRzRm0uMSKmXA3vou1L/8423WDWiv+Qdg30jYKExB5MSPArKgN0aR2TJpsU/6nuLeZH7WmzTHom26ofxNKLCsLZEtCNv+N8raXsSAnlGQ3wCxyEr7kBSUC1kzpNAGsonMRP69K61ygEpgHyMZwy0koMVt7jvi/6Au8ZDpNja1JApNlVHWOkgeqS9k3Jwe7Uq/CjYusg6nJ+v6Ctt1uPUdQ1Wr+L553eyhLekMIm2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1756625872; bh=6ogWFl/5zwLPuz6HU/1hSWtSDd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d1j62LdFE DEj7bGCYK2YGrPHDnQGTECIxd0Tbm_5eLSy9Q16ejdvPYtzqmHgfi5bGh_QeU1yHXfM9avPwCG7y 0tWFNJnIWwU5BepUwyZkEFssyE_V9vDudtmUjawap4evFOgQCjXeLS3NJisIwHKfU7jJC9PAEuwe ARuaJXacqnGnOL3eugMcYAavvNbazFG9t2unOVZKXzuNUpeqFfN24ldpwjkAojnmltNnjic1Jopk 5GzZ4mu2PlxprzHHa8L1_8O3Yeij3M0Cu0syXqbn2q_LZo87TlS3tL7Bw_xUS8dNy5O5ZqzvnjXo xfTn.9nxpiF_9WTIrvXnfGtsrFzB.y2MIUfSIFqcgn3zXDSFjvPo69iISzxXnJ.arjfWiFctiWwT CncpNQ.gSiGTjNhHKBAT2X6u_EShzLIWzwn3NjLDaTP1fa49ll7LUSNEu1ugGG18F4w9FrwaArWg yl2QFXZ_2jliwILuvMjXMF91IXoMZaZQH65w_G6umuDfGkbmfa2UW6WemEjQF2yB9dE3I63nj382 v8yZUtuwKkjeO34aHq1dcmuUAOKhQYyDOpwmytd8RmBYq3LrlAUYqnImCGGYmWELLvKRhtT4igRR P X-Sonic-MF: X-Sonic-ID: 395be698-5f7a-4182-baff-8ffd319702f1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sun, 31 Aug 2025 07:37:52 +0000 Received: by hermes--production-gq1-7bfc77444d-9lfjn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ceb7a352be080ea595b8289ca7bd9789; Sun, 31 Aug 2025 07:37:49 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: pkg upgrade, vfs.zfs.arc.free_target, vfs.zfs.arc.sys_free From: Mark Millard In-Reply-To: <35dbfdd6-8ceb-429d-b8bf-7341f4d3263e@gmail.com> Date: Sun, 31 Aug 2025 00:37:39 -0700 Cc: freebsd-pkg@freebsd.org, freebsd-pkgbase@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6B77C673-AB02-488B-A964-DF27B6E026CB@yahoo.com> References: <0dbf8c95-7697-4887-a890-335c3ccd80f1@gmail.com> <35dbfdd6-8ceb-429d-b8bf-7341f4d3263e@gmail.com> To: Graham Perrin X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cF3kq0Kw8z3SXn On Aug 30, 2025, at 10:06, Graham Perrin wrote: > On 30/08/2025 16:50, Mark Millard wrote: >=20 >> =E2=80=A6 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). =E2=80=A6 >=20 >=20 > Details at 'pkg prime-origins | sort -u' in = . >=20 > base plus compat/libraries plus thirteen from FreeBSD-ports =3D = fifteen lines. >=20 # uname -apKU FreeBSD FBSDamd64S 14.3-STABLE FreeBSD 14.3-STABLE = stable/14-n272193-a0849d43d4eb GENERIC amd64 amd64 1403504 1403504 Bare metal, not a VM. It is a UFS context, not ZFS. ssh based use, not X11 or such. There were pre-existing port-packages installed. This being amd64, I'm using: # grep physmem /boot/loader.conf hw.physmem=3D"12G" to limit the RAM that the system uses to 12 GiBytes initially here. (i386 also does that with such. Too bad aarch64 does not, last I knew.) Also I'm using a fairly small swap space: # swapinfo -m Device 1M-blocks Used Avail Capacity /dev/gpt/HyperVswp3p5 3584 0 3584 0% # cat /etc/pkg/FreeBSD.conf=20 # # To disable a repository, instead of modifying or removing this file, # create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD-ports: { enabled: no }" > = /usr/local/etc/pkg/repos/FreeBSD.conf # echo "FreeBSD-ports-kmods: { enabled: no }" >> = /usr/local/etc/pkg/repos/FreeBSD.conf # FreeBSD-ports: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } FreeBSD-ports-kmods: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } So: latest is being tested, not quarterly. # cat ~/mmjnk-origins.txt=20 devel/uclcmd editors/nano editors/turbo emulators/virtualbox-ose-additions net/gitup sysutils/htop sysutils/lsblk x11-wm/xfce4 x11/kde x11/sddm x11/xorg x11/xsel-conrad Note: pkg automatically includes updating itself, show I've not listed ports-mgmt/pkg in the file. (Not that trying listing it made any notable difference.) (I've been making my environments have FreeBSD-ports and = freeBSD-ports-kmod for a while now. # pkg install -rFreeBSD-ports `cat ~/mmjnk-origins.txt` Updating FreeBSD-ports repository catalogue... FreeBSD-ports repository is up to date. FreeBSD-ports is up to date. The following 708 package(s) will be affected (of 0 checked): . . . # pkg upgrade -rFreeBSD-ports -fFqy #=20 # pkg upgrade -r FreeBSD-ports -fUy Checking for upgrades (1479 candidates): 100% Processing candidates (1479 candidates): 100% Checking integrity... done (0 conflicting) The following 946 package(s) will be affected (of 0 checked): . . . Number of packages to be upgraded: 12 Number of packages to be reinstalled: 934 . . . # pkg info | grep -i webkit #=20 So that list of origins is insufficient to always result in the likes of: [3156/3246] Installing webkit2-gtk_40-2.46.6_1... [3156/3246] Extracting webkit2-gtk_40-2.46.6_1: 100% At no point was SWAP observed to be used (always observed as 0 used). As for Maximum observed figures: 4099Mi MaxObs(Active+Wired+Laundry) with a maximum of 9390Mi (Active+Wired+Laundry+InAct) at such times. (I've no way to know the clean vs. dirty figures for inside Inact.) So rebooting with: hw.physmem=3D"4G" # pkg upgrade -rFreeBSD-ports -fUy Checking for upgrades (1479 candidates): 100% Processing candidates (1479 candidates): 100% Checking integrity... done (0 conflicting) The following 946 package(s) will be affected (of 0 checked): . . . Number of packages to be reinstalled: 946 . . . The maximum observed Swap Used was: 1695Mi MaxObsUsed As for some other Maximum observed figures: 3102Mi MaxObs(Active+Wired+Laundry+SwapUsed) with a maximum of 3150Mi (Active+Wired+Laundry+InAct+SwapUsed) at such = times. So at most 48 MiBytes InAct that might be dirty. 3150 MiBytes makes for a reasonable upper bound for RAM+SWAP for this context. (That, unfortunately, does not match yours for comparison.) Thought of another way: 4096 MiBytes of RAM + 1695 MiBytes of SWAP is 5791 MiBytes of (RAM+SWAP) observed for this UFS context. So: somewhat under 6 GiBytes of (RAM+SWAP). Trying an explicit install of the webkit: # pkg-static install -rFreeBSD-ports webkit2-gtk_40 Updating FreeBSD-ports repository catalogue... FreeBSD-ports repository is up to date. FreeBSD-ports is up to date. The following 6 package(s) will be affected (of 0 checked): New packages to be INSTALLED: geoclue: 2.7.2 [FreeBSD-ports] harfbuzz-icu: 10.3.0 [FreeBSD-ports] hyphen: 2.8.8 [FreeBSD-ports] libsoup: 2.74.3_1 [FreeBSD-ports] webkit2-gtk_40: 2.46.6_1 [FreeBSD-ports] woff2: 1.0.2_5 [FreeBSD-ports] Number of packages to be installed: 6 The process will require 187 MiB more space. 36 MiB to be downloaded. Proceed with this action? [y/N]: y [1/6] Fetching libsoup-2.74.3_1.pkg: 100% 607 KiB 621.6kB/s 00:01 =20= [2/6] Fetching woff2-1.0.2_5.pkg: 100% 63 KiB 64.5kB/s 00:01 =20 [3/6] Fetching webkit2-gtk_40-2.46.6_1.pkg: 100% 35 MiB 7.3MB/s = 00:05 =20 [4/6] Fetching geoclue-2.7.2.pkg: 100% 196 KiB 200.2kB/s 00:01 =20 [5/6] Fetching harfbuzz-icu-10.3.0.pkg: 100% 6 KiB 6.3kB/s 00:01 = =20 [6/6] Fetching hyphen-2.8.8.pkg: 100% 71 KiB 73.1kB/s 00:01 =20 Checking integrity... done (0 conflicting) [1/6] Installing geoclue-2.7.2... [1/6] Extracting geoclue-2.7.2: 100% [2/6] Installing harfbuzz-icu-10.3.0... [2/6] Extracting harfbuzz-icu-10.3.0: 100% [3/6] Installing hyphen-2.8.8... [3/6] Extracting hyphen-2.8.8: 100% [4/6] Installing libsoup-2.74.3_1... [4/6] Extracting libsoup-2.74.3_1: 100% [5/6] Installing woff2-1.0.2_5... [5/6] Extracting woff2-1.0.2_5: 100% [6/6] Installing webkit2-gtk_40-2.46.6_1... [6/6] Extracting webkit2-gtk_40-2.46.6_1: 100% =3D=3D> Running trigger: desktop-file-utils.ucl Building cache database of MIME types =3D=3D=3D=3D=3D Message from libsoup-2.74.3_1: -- libsoup can use NTLM authentication if it is compiled with the SMB option. To use it, you must install a port that provides NTLM, like net/samba412 or net/samba413. #=20 # pkg upgrade -rFreeBSD-ports -fUy Checking for upgrades (1485 candidates): 100% Processing candidates (1485 candidates): 100% Checking integrity... done (0 conflicting) The following 952 package(s) will be affected (of 0 checked): . . . Number of packages to be reinstalled: 952 . . . [1/1801] Deinstalling aarch64-gcc14-14.1.0... . . . The maximum observed Swap Used was still: 1695Mi MaxObsUsed As for some other Maximum observed figures: 3153Mi MaxObs(Active+Wired+Laundry+SwapUsed) with a maximum of 3249Mi (Active+Wired+Laundry+InAct+SwapUsed) at such = times. So more like a maximum 96 MiBytes InAct delta at such times. Still: 4096 MiBytes of RAM + 1695 MiBytes of SWAP (observed). It appears that for my test context, any need for more than, say, 6 = GiBytes of (RAM+SWAP) is not, of itself, from pkg. But I'm ont making the claim = that such would be true for installing more like 36,000 port packages. For reference: # pkg prime-origins | grep -v base | wc -l 97 # pkg prime-origins | grep -v base | sort -u | wc -l 94 # pkg prime-origins | grep -v base | sort -u archivers/gtar archivers/unzip archivers/zip benchmarks/bonnie benchmarks/bonnie++ benchmarks/fio benchmarks/iorate benchmarks/iozone benchmarks/iperf3 benchmarks/randomio benchmarks/stream comms/iwmbt-firmware devel/binutils devel/cmake-core devel/dwarfdump devel/freebsd-gcc14 devel/gdb devel/git devel/llvm19 devel/llvm21 devel/ninja devel/patch devel/py-pytest devel/uclcmd editors/nano editors/turbo emulators/qemu-user-static emulators/virtualbox-ose-additions filesystems/ext2 filesystems/ztop ftp/wget graphics/drm-515-kmod graphics/gpu-firmware-amd-kmod lang/gcc14 lang/gcc15 lang/perl5.42 lang/python lang/python3 lang/rust math/gnuplot-lite misc/freebsd-doc-en net/gitup net/py-dpkt net/rsync net/scapy net/tcptestsuite ports-mgmt/bsdadminscripts2 ports-mgmt/fallout ports-mgmt/pkg ports-mgmt/portlint ports-mgmt/portmaster ports-mgmt/poudriere-devel security/nist-kat security/nmap security/openvpn security/sudo shells/bash sysutils/acpica-tools sysutils/coreutils sysutils/cpu-microcode-amd sysutils/dmidecode sysutils/dtrace-toolkit sysutils/fakertc sysutils/htop sysutils/i2c-tools sysutils/lsblk sysutils/mmc-utils sysutils/pciutils sysutils/py-diffoscope sysutils/rpi-firmware sysutils/sdparm sysutils/sg3_utils sysutils/smartmontools sysutils/stress sysutils/u-boot-orangepi-plus-2e sysutils/u-boot-pine64 sysutils/u-boot-rock64 sysutils/u-boot-rpi-arm64 sysutils/u-boot-rpi2 sysutils/u-boot-rpi3 sysutils/u-boot-rpi4 sysutils/u-boot-sinovoip-bpi-m3 sysutils/u-boot-tools sysutils/usbtop sysutils/zpool-iostat-viz textproc/jq www/webkit2-gtk x11-wm/xfce4 x11/kde x11/sddm x11/xorg x11/xrandr x11/xsel-conrad x11/xterm =3D=3D=3D Mark Millard marklmi at yahoo.com