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

From: void <void_at_f-m.fm>
Date: Tue, 11 Nov 2025 17:09:46 UTC
On Tue, Nov 11, 2025 at 08:30:54AM -0800, bob prohaska wrote:

>I'm not sure how true that is when using a USB hard disk. On a Pi2/3 I gather
>the network adapter is a USB device as well, so both devices compete for USB.
>Never tested it myself, however. I will say the Pi4 is a vast improvement.

I'm not using/have no plans to use the usb2 interface for anything
partly for this reason: they're the same interface electronically.

There are other reeasons why I'd not consider usb2 suitable for 
disk or swap especially for small read/writes. their effects 
manifest themselves more with direct connected usb2 than over the network.

Have you tested random rw performance on usb2 in your context with fio?

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
--