orangepi r1 plus lts

Probando OrangePi R1 Plus LTS

La minicomputadora de 4 núcleos de hasta 1,5ghz de ultra bajo consumo, 1GB RAM, que cuenta con 2 puertos Ethernet de 1Gb y 1 puerto USB 2.0, pero te preguntas, ¿cómo es su rendimiento de sus puertos Ethernet?, veamos como está. Ojo que es diferente la versión sin LTS que la con éste, aquí pueden ver la que es sin LTS.

Los siguientes enlaces encuentras diferentes sistemas operativos:

Para conseguir la versión oficial de OpenWRT y en su categoría SNAPSHOT(más reciente):

Las pruebas que realicé mediante CLI (Interfaz de línea de comandos o Command Line Interface del inglés), para OpenWRT oficial, entregaron una velocidad de 82 y 93 Mbps, bajada y subida respectivamente utilizando 1 núcleo de los 4 según indica la herramienta speedtest-netperf. Ésta prueba se realizó con la interfaz Realtek RTL8153B (eth1 para LAN) que utiliza el controlador r8152. La interfaz Motorcomm YT8531C (eth0 para WAN), aún no funciona y se encuentra con problemas en OpenWRT versión Snapshot r23680-64b99802a6 (3-Agosto-2023), también lo probé con OrangePi Debian (fabricante) y ambas interfaces funcionan bien, pero la velocidad no tuvo mucha variación.

Para utilizar puerto UART, por defecto está configurado como UART 16550A, a 1.500.000 baudios, por lo que debes utilizar un dispositivo CH340 por su velocidad tan alta, siendo el estandar 115.200 baudios (UART 8250). IPFire preconfigura a una menor velocidad, por lo que puede ser útil utilizarlo, pero lamentable no pude ejecutarla para saber como se comportaría con los puertos Ethernet.

OpenWRT oficial Snapshot r23680-64b99802a6

Prueba realizada con la interfaz eth1, Realtek RTL8153B.

root@OpenWrt:~# speedtest-netperf.sh  
2023-08-04 03:34:49 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
Download: 82.31 Mbps
Latency: [in msec, 61 pings, 0.00% packet loss]
Min: 3.014
10pct: 3.740
Median: 6.020
Avg: 8.126
90pct: 14.680
Max: 22.275
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 56 samples]
cpu0: 11.2 +/- 3.8 @ 965 MHz
cpu1: 10.9 +/- 4.1 @ 938 MHz
cpu2: 61.5 +/- 3.6 @ 951 MHz
cpu3: 11.6 +/- 3.3 @ 1054 MHz
Overhead: [in % used of total CPU available]
netperf: 6.9
..............................................................
Upload: 93.22 Mbps
Latency: [in msec, 62 pings, 0.00% packet loss]
Min: 6.521
10pct: 14.336
Median: 15.550
Avg: 15.314
90pct: 16.430
Max: 16.740
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
cpu0: 2.5 +/- 1.3 @ 866 MHz
cpu1: 2.2 +/- 1.4 @ 744 MHz
cpu2: 44.6 +/- 0.4 @ 913 MHz
cpu3: 2.3 +/- 1.3 @ 968 MHz
Overhead: [in % used of total CPU available]
netperf: 1.7
root@OpenWrt:~# uname -a
Linux OpenWrt 5.15.123 #0 SMP PREEMPT Thu Aug 3 14:47:51 2023 aarch64 GNU/Linux
root@OpenWrt:~# cat /proc/version
Linux version 5.15.123 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23680-64b99802a6) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP PREEMPT Thu Aug 3 14:47:51 2023

OrangePi fabricante: Debian 11 “Bullseye”

Prueba realizada con interfaz eth0, Motorcomm YT8531C.

Welcome to Orange Pi buster with Linux 5.10.44-rockchip64

System load:   0.47 0.85 0.50   Up time:       37 min
Memory usage:  11 % of 977MB    IP:            192.168.1.104
CPU temp:      64°C           
Usage of /:    97% of 1.7G   

Last login: Fri Aug  4 04:59:06 2023 from 192.168.1.173
root@orangepir1plus-lts:~# ./speedtest-netperf.sh 
2023-08-04 05:24:06 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
 Download:  81.53 Mbps
  Latency: [in msec, 61 pings, 0.00% packet loss]
      Min:   2.380
    10pct:   3.000
   Median:   4.860
      Avg:   5.905
    90pct:   9.000
      Max:  17.900
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 56 samples]
     cpu0:  11.4 +/-  4.4  @ 1234 MHz
     cpu1:   5.2 +/-  2.8  @ 1234 MHz
     cpu2:   6.2 +/-  2.7  @ 1222 MHz
     cpu3:   5.7 +/-  3.0  @ 1247 MHz
 Overhead: [in % used of total CPU available]
  netperf:   5.7
...............................................................
   Upload:  92.91 Mbps
  Latency: [in msec, 63 pings, 0.00% packet loss]
      Min:   2.840
    10pct:   4.310
   Median:   8.710
      Avg:   7.884
    90pct:  10.400
      Max:  11.300
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
     cpu0:   7.7 +/-  3.0  @ 1221 MHz
     cpu1:   3.6 +/-  1.9  @ 1221 MHz
     cpu2:   3.8 +/-  2.2  @ 1221 MHz
     cpu3:   3.8 +/-  2.1  @ 1221 MHz
 Overhead: [in % used of total CPU available]
  netperf:   2.3

Prueba realizada con la interfaz eth1, Realtek RTL8153B.

root@orangepir1plus-lts:~# ./speedtest-netperf.sh
2023-08-04 08:44:07 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
 Download:  79.35 Mbps
  Latency: [in msec, 61 pings, 0.00% packet loss]
      Min:   3.130
    10pct:   3.530
   Median:   5.850
      Avg:   7.857
    90pct:  13.900
      Max:  23.700
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 55 samples]
     cpu0:  24.0 +/-  7.4  @ 1296 MHz
     cpu1:   9.4 +/-  4.4  @ 1296 MHz
     cpu2:  10.2 +/-  4.2  @ 1296 MHz
     cpu3:   8.5 +/-  3.5  @ 1296 MHz
 Overhead: [in % used of total CPU available]
  netperf:   9.3
...............................................................
   Upload:  93.19 Mbps
  Latency: [in msec, 63 pings, 0.00% packet loss]
      Min:   3.690
    10pct:   6.170
   Median:  11.600
      Avg:  10.971
    90pct:  14.800
      Max:  15.300
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
     cpu0:   7.9 +/-  3.7  @ 1237 MHz
     cpu1:   3.6 +/-  2.1  @ 1237 MHz
     cpu2:   3.6 +/-  1.9  @ 1248 MHz
     cpu3:   3.3 +/-  2.0  @ 1237 MHz
 Overhead: [in % used of total CPU available]
  netperf:   2.3

IPFire: ipfire-2.27-core176-aarch64

No logro ejecutar el sistema operativo, quedé en el proceso del arranque de GRUB2, luego de cargar el binario.

Armbian 23.5 Jammy

Resumen, ambas interfaces funcionan y la Motorcomm puede sobre los 100Mbps en su interfaz, no así la de Realtek, que se estanca en aproximados 100Mbps. Sin embargo, al utilizar este dispositivo en modo PPPoE, las velocidades se reducen hasta los 100Mbps. Al final podrán encontrar pruebas realizadas con la aplicación de Speedtest obtenida en https://packagecloud.io/ookla/speedtest-cli/packages/debian/jessie/speedtest_1.2.0.84-1.ea6b6773cf_arm64.deb?distro_version_id=25

Prueba realizada con interfaz eth1, Realtek RTL8153B.

root@orangepi-r1plus-lts:~# ./speedtest-netperf.sh  
2023-08-04 02:30:59 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
Download:  82.42 Mbps
 Latency: [in msec, 61 pings, 0.00% packet loss]
     Min:   2.464
   10pct:   3.043
  Median:   4.598
     Avg:   7.027
   90pct:  16.456
     Max:  20.858
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 54 samples]
    cpu0:   7.8 +/-  5.1  @ 1296 MHz
    cpu1:   8.3 +/-  5.2  @ 1296 MHz
    cpu2:  18.4 +/-  5.7  @ 1296 MHz
    cpu3:   8.7 +/-  5.1  @ 1296 MHz
Overhead: [in % used of total CPU available]
 netperf:   9.6
..............................................................
  Upload:  93.03 Mbps
 Latency: [in msec, 62 pings, 0.00% packet loss]
     Min:   4.272
   10pct:  10.458
  Median:  11.628
     Avg:  12.729
   90pct:  15.132
     Max:  15.498
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 57 samples]
    cpu0:   2.4 +/-  1.2  @ 1259 MHz
    cpu1:   3.0 +/-  1.0  @ 1259 MHz
    cpu2:   9.0 +/-  2.7  @ 1259 MHz
    cpu3:   2.5 +/-  1.1  @ 1259 MHz
Overhead: [in % used of total CPU available]
 netperf:   2.6
root@orangepi-r1plus-lts:~# uname -a
Linux orangepi-r1plus-lts 6.1.32-rockchip64 #7 SMP PREEMPT Mon Jun  5 07:26:22 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
root@orangepi-r1plus-lts:~# cat /proc/version   
Linux version 6.1.32-rockchip64 (armbian@next) (aarch64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #7 SMP PREEMPT Mon Jun  5 07:26:22 UTC 2023

Prueba realizada con interfaz eth0, Motorcomm YT8531C.

root@orangepi-r1plus-lts:~# ./speedtest-netperf.sh 
2023-08-04 03:32:33 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
 Download:  78.00 Mbps
  Latency: [in msec, 61 pings, 0,00% packet loss]
      Min:   2,166
    10pct:   3,104
   Median:   5,408
      Avg:   7,660
    90pct:  15,060
      Max:  23,636
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 55 samples]
     cpu0:   5,5 +/-  1,5  @ 1026 MHz
     cpu1:   5,6 +/-  1,8  @ 1064 MHz
     cpu2:   6,1 +/-  1,9  @ 1052 MHz
     cpu3:   8,4 +/-  1,7  @ 1064 MHz
 Overhead: [in % used of total CPU available]
  netperf:   6,7
..............................................................
   Upload:  91.00 Mbps
  Latency: [in msec, 62 pings, 0,00% packet loss]
      Min:   2,596
    10pct:   4,707
   Median:   5,740
      Avg:   5,753
    90pct:   6,797
      Max:   7,391
 CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 56 samples]
     cpu0:   2,7 +/-  1,6  @ 1137 MHz
     cpu1:   3,6 +/-  1,6  @ 1137 MHz
     cpu2:   3,4 +/-  1,5  @ 1125 MHz
     cpu3:   6,8 +/-  2,4  @ 1125 MHz
 Overhead: [in % used of total CPU available]
  netperf:   3,1
root@orangepi-r1plus-lts:~# speedtest -I lan0

   Speedtest by Ookla

      Server: Grupo GTD - Santiago (id: 11508)
         ISP: Movistar Fibra
Idle Latency:     3.39 ms   (jitter: 0.14ms, low: 2.96ms, high: 3.43ms)
    Download:    93.94 Mbps (data used: 42.4 MB)                                                   
                 12.93 ms   (jitter: 0.79ms, low: 5.48ms, high: 20.08ms)
      Upload:    94.04 Mbps (data used: 42.5 MB)                                                   
                 17.10 ms   (jitter: 0.99ms, low: 4.92ms, high: 18.34ms)
 Packet Loss:     0.0%
  Result URL: https://www.speedtest.net/result/c/7ee0cbd7-86f0-40ea-bd15-44212d26675f
root@orangepi-r1plus-lts:~# speedtest -I eth0

   Speedtest by Ookla

      Server: Grupo GTD - Santiago (id: 11508)
         ISP: Movistar Fibra
Idle Latency:     4.05 ms   (jitter: 0.34ms, low: 3.92ms, high: 4.39ms)
    Download:   240.96 Mbps (data used: 108.6 MB)                                                   
                 13.54 ms   (jitter: 1.54ms, low: 4.73ms, high: 16.37ms)
      Upload:   469.49 Mbps (data used: 211.4 MB)                                                   
                  7.70 ms   (jitter: 1.19ms, low: 3.86ms, high: 10.56ms)
 Packet Loss:     0.0%
  Result URL: https://www.speedtest.net/result/c/fea06059-950c-4078-b061-1d19690525c7

Que curioso es que detecte una tarjeta de Intel…

root@orangepi-r1plus-lts:~# dmesg|grep -i igb
[    3.139491] igb: Intel(R) Gigabit Ethernet Network Driver
[    3.139501] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.139568] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    3.139577] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.

root@orangepi-r1plus-lts:~# dmesg|grep -i eth
[    0.000000] psci: probing for conduit method from DT.
[    3.139491] igb: Intel(R) Gigabit Ethernet Network Driver
[    4.439796] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    4.439835] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    4.440116] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    4.444645] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    4.444694] rk_gmac-dwmac ff540000.ethernet: TX delay(0x19).
[    4.444716] rk_gmac-dwmac ff540000.ethernet: RX delay(0x5).
[    4.444758] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    4.444884] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    4.449939] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    4.453537] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.453591] rk_gmac-dwmac ff540000.ethernet:         DWMAC1000
[    4.453606] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    4.453619] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    4.453630] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    4.453643] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[    4.453654] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    4.453867] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    4.453889] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    4.453899] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.761496] r8152 3-1:1.0 eth1: v1.12.13
[    4.767320] usbcore: registered new interface driver cdc_ether
[    4.811270] r8152 3-1:1.0 enxfe0e6a69a3ea: renamed from eth1
[   20.365801] r8152 3-1:1.0 eth1: v1.12.13
[   20.864734] r8152 3-1:1.0 lan0: renamed from eth1
[   24.009852] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   24.323095] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   24.329305] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[   24.329352] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[   24.332029] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[   28.422639] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   28.422721] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  177.925882] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down

Las pruebas de velocidad en la mayoría de sistemas operativos, no sobrepasaron la velocidad de los 100mbps, habiendo disponibles el doble o más de velocidad.