Re: Rapsberry Pi 4b wifi
Flemming Faber via leaf-user <[email protected]> Mon, 19 Jun 2023 16:11:25 +0200
| Newsgroups | gmane.linux.leaf.user |
|---|---|
| Message-ID | <[email protected]> |
Hi jrb, Here is iperf3 test up against my ISP as server. My connection is fiber, 1Gbit. The client is my firewall, the Qotom 4 port PC with Intel i211 network controllers. Connecting to host 185.107.12.92, port 5201 Reverse mode, remote host 185.107.12.92 is sending [ 5] local 100.64.240.92 port 55536 connected to 185.107.12.92 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 112 MBytes 936 Mbits/sec [ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec [ 5] 2.00-3.00 sec 112 MBytes 942 Mbits/sec [ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec [ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec [ 5] 5.00-6.00 sec 112 MBytes 942 Mbits/sec [ 5] 6.00-7.00 sec 112 MBytes 942 Mbits/sec [ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec [ 5] 8.00-9.00 sec 112 MBytes 942 Mbits/sec [ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.04 sec 1.10 GBytes 939 Mbits/sec 65 sender [ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver Flemming Faber Jeppes Allé 16 2400 Copenhagen NV tel. +45 6083 0053 email: [email protected] > On 16-06-2023, at 03.02, jeanrocco jr <[email protected]> wrote: > > Hello Flemming, > > Thank's for this answer, I also ran some tests, Iperf3, last Jan 3, 2020 on a APU2e4 and I had results like this one: > [ 4] 1.00-2.00 sec 111 MBytes 935 Mbits/sec 0 495 KBytes > > ( https://sourceforge.net/p/leaf/mailman/message/36891187/ <https://sourceforge.net/p/leaf/mailman/message/36891187/> ) > We can see there is a fair difference with the PI4 ... so using it as a firewall would not be optimum, as expected, besides you would still have to get a second HAT NIC of sorts. > > I'm just curious to know if you did, by any chance :-), any Iperf3 tests on your Qotom Mini Pc also, this might be instructive for most of us ... well If you ever have the time (tongue in cheek ...) > > Thank you again > > bye > > jrb. > > On Thu, Jun 15, 2023 at 3:48 AM Flemming Faber <[email protected] <mailto:[email protected]>> wrote: > Hi Jean-Roch, > > I got a new firmware-rpi-nonfree.lrp from K.P.Kirchdoerfer, and that works fine with the built-in wifi in the RPi. > I don’t think this has made it to 7.2.2, but I expect it to be in 7.2.3. > > I have been testing speeds with iperf3. > I was running the server on my local network on an iMac 27” from 2014 that works perfectly. > > The Raspberry Pi: > /etc/issue: > Linux 5.15.93-cortex72 #1 SMP Sat Mar 25 20:50:12 CET 2023 > LEAF Bering-uClibc 7.2.1 Rev 1 uClibc 1.0.42 > > My network supports 1 Gbit speeds, both wired and wifi. > > When I run iperf3 as a client from my Raspberry Pi I get the following results: > Ethernet connection (/dev/eth0): > > Accepted connection from 192.168.22.42, port 33564 > [ 5] local 192.168.22.6 port 5201 connected to 192.168.22.42 port 33568 > [ ID] Interval Transfer Bitrate > [ 5] 0.00-1.00 sec 64.1 MBytes 537 Mbits/sec > [ 5] 1.00-2.00 sec 65.1 MBytes 546 Mbits/sec > [ 5] 2.00-3.00 sec 65.0 MBytes 545 Mbits/sec > [ 5] 3.00-4.00 sec 65.7 MBytes 551 Mbits/sec > [ 5] 4.00-5.00 sec 65.0 MBytes 546 Mbits/sec > [ 5] 5.00-6.00 sec 65.4 MBytes 549 Mbits/sec > [ 5] 6.00-7.00 sec 64.9 MBytes 545 Mbits/sec > [ 5] 7.00-8.00 sec 64.9 MBytes 544 Mbits/sec > [ 5] 8.00-9.00 sec 65.5 MBytes 549 Mbits/sec > [ 5] 9.00-10.00 sec 65.3 MBytes 548 Mbits/sec > [ 5] 10.00-10.01 sec 1003 KBytes 557 Mbits/sec > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate > [ 5] 0.00-10.01 sec 652 MBytes 546 Mbits/sec receiver > ————————————————————————————— > > Using wifi (/dev/wlan0): > Accepted connection from 192.168.22.159, port 36702 > [ 5] local 192.168.22.6 port 5201 connected to 192.168.22.159 port 37118 > [ ID] Interval Transfer Bitrate > [ 5] 0.00-1.00 sec 6.93 MBytes 58.1 Mbits/sec > [ 5] 1.00-2.00 sec 6.82 MBytes 57.2 Mbits/sec > [ 5] 2.00-3.00 sec 7.55 MBytes 63.4 Mbits/sec > [ 5] 3.00-4.00 sec 6.57 MBytes 55.1 Mbits/sec > [ 5] 4.00-5.00 sec 5.24 MBytes 44.0 Mbits/sec > [ 5] 5.00-6.00 sec 6.41 MBytes 53.8 Mbits/sec > [ 5] 6.00-7.00 sec 7.67 MBytes 64.3 Mbits/sec > [ 5] 7.00-8.00 sec 7.53 MBytes 63.2 Mbits/sec > [ 5] 8.00-9.00 sec 7.83 MBytes 65.7 Mbits/sec > [ 5] 9.00-10.00 sec 7.57 MBytes 63.5 Mbits/sec > [ 5] 10.00-10.03 sec 204 KBytes 65.4 Mbits/sec > - - - - - - - - - - - - - - - - - - - - - - - - - > [ ID] Interval Transfer Bitrate > [ 5] 0.00-10.03 sec 70.3 MBytes 58.9 Mbits/sec receiver > ----------------------------------------------------------- > > So there is an almost 10x difference between wired and wifi performance on the RPi. > I am sure this is not a performance you want on the wifi for a firewall. > > I have been using the different versions of the APU/APU2 platform for many years. > But there are alternatives today. > Right now I use for my home firewall an Intel based unit, > Qotom Mini Pc X86 4 Lan Gigabit With Celeron J1900 and VGA, > I bought it through aliexpress.com <http://aliexpress.com/>. Of course, this has now been updated to a newer model. > You can now get a Fanless Router Celeron J4125 Mini PC Quad Core 4x Intel i225/i226 2.5G LAN with HDMI and VGA for 115 EUR. > This is without RAM and SSD. > > Hope this can help you, > > Flemming > > Flemming Faber > Jeppes Allé 16 > 2400 Copenhagen NV > > tel. +45 6083 0053 > email: [email protected] <mailto:[email protected]> > > > ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/