Re: was: configured swap now: relative rpi2+ ufs2 nfs random rw speeds

void <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <aRUWty3in9EkOr70@int21h>
On Wed, Nov 12, 2025 at 01:58:26PM -0800, bob prohaska wrote:
>   READ: bw=5630KiB/s (5765kB/s), 5630KiB/s-5630KiB/s (5765kB/s-5765kB/s), io=736MiB (771MB), run=133780-133780msec
>  WRITE: bw=5880KiB/s (6021kB/s), 5880KiB/s-5880KiB/s (6021kB/s-6021kB/s), io=768MiB (805MB), run=133780-133780msec
>root@generic:/usr/ports/benchmarks/fio #
>
>The filesystem us ufs, on a usb mechanical hard disk.

That's interesting. Still quite slow. I 

I was able to get libnfs working with fio on an amd64 machine. So slightly modified the 
fio command to use nfs engine and url. The client machine here has em0 ethernet 1GB

fio --name=random_rw_test --rw=randrw --bs=128k --ioengine=nfs \
--nfs_url=nfs://192.168.1.102:/data/test --iodepth=256 --numjobs=4 \
--runtime=120 --time_based --group_reporting --direct=1 --size=1G

Run status group 0 (all jobs):
READ: bw=104MiB/s (109MB/s), 104MiB/s-104MiB/s (109MB/s-109MB/s), io=12.2GiB (13.1GB), run=120006-120006msec
WRITE: bw=104MiB/s (110MB/s), 104MiB/s-104MiB/s (110MB/s-110MB/s), io=12.2GiB (13.1GB), run=120006-120006msec

so this is very approx linespeed of the network with overhead (110MB = 0.86Gbit)

The rpi2b has a 100Mbit ue0 interface. iperf3 shows

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-30.04  sec   331 MBytes  92.4 Mbits/sec  147            sender
[  5]   0.00-30.06  sec   331 MBytes  92.4 Mbits/sec                  receiver

so I'd say potentially a nfs mount would have almost double your usb2 hd random rw speed.
Then there's the thing that because the rpi isn't locally writing, it'll still
be responding interactively.

I'm hoping the buildworld obj nfs problem gets fixed soon
--
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.