Re: kernel: warning: total configured swap (493567 pages) exceeds maximum recommended amount

void <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <aRPeh3ST9NKqHnYG@int21h>
On Tue, Nov 11, 2025 at 10:53:55AM -0800, bob prohaska wrote:
>On Tue, Nov 11, 2025 at 05:09:46PM +0000, void wrote:
>>
>> I've been testing with
>>
>> % fio --name=random_rw_test --filename=./testfile1 --rw=randrw --bs=128k \
>> --ioengine=posixaio --iodepth=256 --numjobs=4 --runtime=120 --time_based \
>> --group_reporting --direct=1 --size=1G
>>
>> I'd be interested to know what the last few lines after "Run status group 0
>> (all jobs):" is for your usb2 spinning context
>> as I have no usb2 interfaced hard drive i can test with
>> --
>>
>
>My Pi2's are busy for now, but an idle Pi4 (so, USB3) reported
>
>bob@nemesis:~ % fio --name=random_rw_test --filename=./testfile1 --rw=randrw --bs=128k \
>? --ioengine=posixaio --iodepth=256 --numjobs=4 --runtime=120 --time_based \
>? --group_reporting --direct=1 --size=1G
>random_rw_test: (g=0): rw=randrw, bs=(R) 128KiB-128KiB, (W) 128KiB-128KiB, (T) 128KiB-128KiB, ioengine=posixaio, iodepth=256

> READ: bw=10.4MiB/s (10.9MB/s), 10.4MiB/s-10.4MiB/s (10.9MB/s-10.9MB/s), io=1320MiB (1384MB), run=126934-126934msec
> WRITE: bw=10.8MiB/s (11.3MB/s), 10.8MiB/s-10.8MiB/s (11.3MB/s-11.3MB/s), io=1374MiB (1440MB), run=126934-126934msec

usb2 *key* into a usb3 socket on amd64 gave the following figures for 128k blocksize
ufs2:

fio --name=random_rw_test --filename=./testfile2 --rw=randrw --bs=128k \
--ioengine=posixaio --iodepth=256 --numjobs=4 --runtime=120 --time_based \
--group_reporting --direct=1 --size=1G

Run status group 0 (all jobs):
READ: bw=1578KiB/s (1616kB/s), 1578KiB/s-1578KiB/s (1616kB/s-1616kB/s), io=290MiB (304MB), run=188019-188019msec
WRITE: bw=1653KiB/s (1693kB/s), 1653KiB/s-1653KiB/s (1693kB/s-1693kB/s), io=304MiB (318MB), run=188019-188019msec

for 4k blocksize into the same amd64 machine

# fio --name=random_rw_test --filename=./testfile2 --rw=randrw --bs=4k \
--ioengine=posixaio --iodepth=256 --numjobs=4 --runtime=120 --time_based \
--group_reporting --direct=1 --size=1G

READ: bw=12.7KiB/s (13.0kB/s), 12.7KiB/s-12.7KiB/s (13.0kB/s-13.0kB/s), io=3408KiB (3490kB), run=268593-268593msec
WRITE: bw=13.7KiB/s (14.0kB/s), 13.7KiB/s-13.7KiB/s (14.0kB/s-14.0kB/s), io=3672KiB (3760kB), run=268593-268593msec

The rpi2b+ is busy rn building fio then it needs to re-build+installkernel. I'll run local and nfs testing
afterwards then report back
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.