Hi,
I have a NanoPI R5S 4GB here and been talking to
SleepWalker for about a month now. I am not a developer, so my progress was way too slow here.
Yesterday I got to have a custom build for it, using both resources from him and Soren.
FreeBSD NanopiR5S-nvme 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Fri Jun 2 19:28:14 -03 2023 root@NanopiR5S-nvme:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC.pf arm64
and also got to test it as a router using iperf3:
last pid: 2002; load averages: 1.36, 1.27, 0.72 up 0+00:24:03 23:25:31
16 processes: 1 running, 15 sleeping
CPU: 0.0% user, 0.0% nice, 20.0% system, 17.2% interrupt, 62.8% idle
Mem: 16M Active, 19M Inact, 218M Wired, 56K Buf, 3429M Free
ARC: 33M Total, 6192K MFU, 25M MRU, 431K Header, 1833K Other
17M Compressed, 54M Uncompressed, 3.26:1 Ratio
Swap: 2048M Total, 2048M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2000 root 1 20 0 14M 3720K CPU2 2 0:00 0.15% top
1497 root 1 20 0 13M 2940K select 2 0:00 0.00% syslogd
1616 root 1 20 0 13M 3280K wait 1 0:00 0.00% sh
1976 root 1 28 0 21M 9280K select 0 0:00 0.00% sshd
1980 matheus 1 32 0 14M 4264K pause 2 0:00 0.00% csh
1615 root 1 21 0 13M 3140K wait 3 0:00 0.00% login
1985 root 1 20 0 13M 3456K ttyin 3 0:00 0.00% sh
1574 root 1 20 0 13M 2644K nanslp 1 0:00 0.00% cron
1979 matheus 1 20 0 21M 9588K select 1 0:00 0.00% sshd
1286 root 1 20 0 14M 4216K select 2 0:00 0.00% devd
1599 root 1 20 0 21M 8768K select 1 0:00 0.00% sshd
1984 matheus 1 21 0 13M 3068K wait 0 0:00 0.00% su
1737 root 1 4 0 13M 2860K select 2 0:00 0.00% dhclient
1814 _dhcp 1 20 0 13M 3008K select 0 0:00 0.00% dhclient
1734 root 1 20 0 13M 2768K select 2 0:00 0.00% dhclient
iperf3 -s -i 60
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.1.1.59, port 59411
[ 5] local 10.1.1.112 port 5201 connected to 10.1.1.59 port 56210
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 60.00-120.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 120.00-180.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 180.00-240.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 240.00-300.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 300.00-360.00 sec 1.73 GBytes 247 Mbits/sec
[ 5] 360.00-420.00 sec 1.72 GBytes 246 Mbits/sec
this is using a simple pf.conf to make nat working:
ext_if=re1
int_if=re0
nat on $ext_if from $int_if:network to any -> ($ext_if)
pass all
Despite the pf.conf using both re nics, at this time I was using eqos0 and re0.
Later I switched to both re nics:
Accepted connection from 10.1.1.66, port 55292
[ 5] local 10.1.1.112 port 5201 connected to 10.1.1.66 port 63022
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.00 sec 1.94 GBytes 278 Mbits/sec
[ 5] 60.00-120.00 sec 1.94 GBytes 278 Mbits/sec
[ 5] 120.00-180.00 sec 1.94 GBytes 278 Mbits/sec
[ 5] 180.00-240.00 sec 1.94 GBytes 277 Mbits/sec
[ 5] 240.00-300.00 sec 1.94 GBytes 278 Mbits/sec
and then I disabled nat on pf, still both re nics:
Accepted connection from 10.1.9.121, port 44720
[ 5] local 10.1.1.112 port 5201 connected to 10.1.9.121 port 44732
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.00 sec 3.10 GBytes 444 Mbits/sec
[ 5] 60.00-120.00 sec 3.11 GBytes 446 Mbits/sec
have anyone else seen these numbers? Are they the same as others testing it?
I used a patch from Soren and another from
SleepWalker for realtek mod. If I can help testing it, I can sure help.
thanks for the work from you all,
none