raoulh

  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

raoulh's Achievements

  1. Ok, so I think I found the culprit. The helios64 is plugged in a SFP+ 10GBase-T module in a mikrotik switch. It seems that the SFP module I have does not support well the 10GBase-N modes (2.5 and 5Gb). I tried connecting the helios64 directly on a machine with an 10G ethernet port (no sfp module involved) and I correctly get the speed. ➜ ~ iperf3 -c 192.168.0.86 -p 12345 Connecting to host 192.168.0.86, port 12345 [ 5] local 192.168.0.238 port 41362 connected to 192.168.0.86 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 268 MBytes 2.25 Gbits/sec 0 1.56 MBytes [ 5] 1.00-2.00 sec 281 MBytes 2.36 Gbits/sec 0 1.56 MBytes [ 5] 2.00-3.00 sec 280 MBytes 2.35 Gbits/sec 0 1.56 MBytes [ 5] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec 0 1.56 MBytes I need to get another 10GBase-T SFP+ module that correctly support 2.5. Thanks all for help!
  2. My machine is connected with a 10G SFP+ and is working great with other 10G devices I have on my network.
  3. Actually you were right about the routing table, all trafic goes through the 2.5G interface. If I test the 1G interface alone I get correct results: ➜ ~ iperf3 -c 192.168.0.87 -p 12345 Connecting to host 192.168.0.87, port 12345 [ 5] local 192.168.0.238 port 35700 connected to 192.168.0.87 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 112 MBytes 938 Mbits/sec 57 160 KBytes [ 5] 1.00-2.00 sec 112 MBytes 942 Mbits/sec 45 214 KBytes [ 5] 2.00-3.00 sec 112 MBytes 938 Mbits/sec 37 206 KBytes [ 5] 3.00-4.00 sec 112 MBytes 943 Mbits/sec 33 144 KBytes [ 5] 4.00-5.00 sec 111 MBytes 935 Mbits/sec 53 185 KBytes [ 5] 5.00-6.00 sec 112 MBytes 940 Mbits/sec 56 160 KBytes [ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 56 202 KBytes [ 5] 7.00-8.00 sec 112 MBytes 939 Mbits/sec 43 192 KBytes [ 5] 8.00-9.00 sec 112 MBytes 939 Mbits/sec 38 201 KBytes [ 5] 9.00-10.00 sec 112 MBytes 940 Mbits/sec 44 158 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.09 GBytes 940 Mbits/sec 462 sender [ 5] 0.00-10.00 sec 1.09 GBytes 938 Mbits/sec receiver But with the 2.5G only connected to the 10G switch this is what I get: ➜ ~ iperf3 -c 192.168.0.86 -p 12345 Connecting to host 192.168.0.86, port 12345 [ 5] local 192.168.0.238 port 42958 connected to 192.168.0.86 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 64.5 MBytes 541 Mbits/sec 509 18.4 KBytes [ 5] 1.00-2.00 sec 64.1 MBytes 538 Mbits/sec 531 17.0 KBytes [ 5] 2.00-3.00 sec 68.4 MBytes 574 Mbits/sec 599 18.4 KBytes [ 5] 3.00-4.00 sec 63.6 MBytes 533 Mbits/sec 488 19.8 KBytes [ 5] 4.00-5.00 sec 62.3 MBytes 522 Mbits/sec 461 18.4 KBytes [ 5] 5.00-6.00 sec 63.2 MBytes 530 Mbits/sec 528 26.9 KBytes [ 5] 6.00-7.00 sec 71.8 MBytes 602 Mbits/sec 622 25.5 KBytes [ 5] 7.00-8.00 sec 62.8 MBytes 527 Mbits/sec 541 19.8 KBytes [ 5] 8.00-9.00 sec 62.5 MBytes 524 Mbits/sec 472 18.4 KBytes [ 5] 9.00-10.00 sec 69.3 MBytes 582 Mbits/sec 588 19.8 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 653 MBytes 547 Mbits/sec 5339 sender [ 5] 0.00-10.00 sec 652 MBytes 547 Mbits/sec receiver And when I connect eth1 to a 1G switch this is even worse: ➜ ~ iperf3 -c 192.168.0.86 -p 12345 Connecting to host 192.168.0.86, port 12345 [ 5] local 192.168.0.238 port 39408 connected to 192.168.0.86 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 15.9 MBytes 134 Mbits/sec 330 25.5 KBytes [ 5] 1.00-2.00 sec 18.3 MBytes 153 Mbits/sec 436 19.8 KBytes [ 5] 2.00-3.00 sec 18.2 MBytes 153 Mbits/sec 428 15.6 KBytes [ 5] 3.00-4.00 sec 9.69 MBytes 81.3 Mbits/sec 277 2.83 KBytes [ 5] 4.00-5.00 sec 3.54 MBytes 29.7 Mbits/sec 58 2.83 KBytes [ 5] 5.00-6.00 sec 13.7 MBytes 115 Mbits/sec 270 2.83 KBytes [ 5] 6.00-7.00 sec 12.9 MBytes 108 Mbits/sec 349 14.1 KBytes [ 5] 7.00-8.00 sec 12.3 MBytes 103 Mbits/sec 352 4.24 KBytes [ 5] 8.00-9.00 sec 12.7 MBytes 106 Mbits/sec 307 4.24 KBytes [ 5] 9.00-10.00 sec 6.15 MBytes 51.6 Mbits/sec 142 11.3 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 123 MBytes 103 Mbits/sec 2949 sender [ 5] 0.00-10.20 sec 123 MBytes 101 Mbits/sec receiver Something is actually wrong with the 2.5G port... Edit: forgot the ethtool when connected on the 10G switch: ╭─root@helios64 ~ ╰─➤ ethtool eth1 Settings for eth1: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 2500Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00007fff (32767) drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol Link detected: yes
  4. Hi, I tried different version, but the result are the same. I can't get correct speed with ethernet, be it the 2.5G or the 1G. I installed armbian focal 20.08.10. The helio64 is connected through a 10G switch on eth1, and on another 1g switch on eth0. I did some iperf tests and this is what I'm getting for both connections: This is with eth0 ➜ ~ iperf3 -c 192.168.0.86 -p 12345 Connecting to host 192.168.0.86, port 12345 [ 5] local 192.168.0.238 port 58950 connected to 192.168.0.86 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 67.4 MBytes 565 Mbits/sec 611 17.0 KBytes [ 5] 1.00-2.00 sec 68.0 MBytes 571 Mbits/sec 606 18.4 KBytes [ 5] 2.00-3.00 sec 69.6 MBytes 584 Mbits/sec 633 18.4 KBytes [ 5] 3.00-4.00 sec 69.3 MBytes 582 Mbits/sec 604 19.8 KBytes [ 5] 4.00-5.00 sec 70.0 MBytes 587 Mbits/sec 589 19.8 KBytes [ 5] 5.00-6.00 sec 71.3 MBytes 598 Mbits/sec 613 19.8 KBytes [ 5] 6.00-7.00 sec 70.5 MBytes 591 Mbits/sec 570 19.8 KBytes [ 5] 7.00-8.00 sec 67.8 MBytes 569 Mbits/sec 530 17.0 KBytes [ 5] 8.00-9.00 sec 69.9 MBytes 586 Mbits/sec 580 32.5 KBytes [ 5] 9.00-10.00 sec 69.4 MBytes 582 Mbits/sec 561 15.6 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 693 MBytes 582 Mbits/sec 5897 sender [ 5] 0.00-10.00 sec 693 MBytes 581 Mbits/sec receiver And this for eth1 ➜ ~ iperf3 -c 192.168.0.87 -p 12345 Connecting to host 192.168.0.87, port 12345 [ 5] local 192.168.0.238 port 51834 connected to 192.168.0.87 port 12345 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 65.6 MBytes 550 Mbits/sec 566 17.0 KBytes [ 5] 1.00-2.00 sec 69.0 MBytes 579 Mbits/sec 613 18.4 KBytes [ 5] 2.00-3.00 sec 69.3 MBytes 582 Mbits/sec 620 19.8 KBytes [ 5] 3.00-4.00 sec 69.5 MBytes 583 Mbits/sec 617 18.4 KBytes [ 5] 4.00-5.00 sec 69.2 MBytes 581 Mbits/sec 623 21.2 KBytes [ 5] 5.00-6.00 sec 63.0 MBytes 529 Mbits/sec 460 17.0 KBytes [ 5] 6.00-7.00 sec 66.7 MBytes 559 Mbits/sec 521 19.8 KBytes [ 5] 7.00-8.00 sec 68.5 MBytes 575 Mbits/sec 559 29.7 KBytes [ 5] 8.00-9.00 sec 70.0 MBytes 587 Mbits/sec 565 26.9 KBytes [ 5] 9.00-10.00 sec 71.2 MBytes 597 Mbits/sec 563 19.8 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 682 MBytes 572 Mbits/sec 5707 sender [ 5] 0.00-10.00 sec 682 MBytes 572 Mbits/sec receiver Something is wrong here... Any idea of the cause of not getting full bandwidth? Another unrelated issue I had is I wanted to use the helios64 as a iSCSI target and wanted to configure LIO. The problem is that the armbian kernel config does not have those options enabled as modules: CONFIG_TARGET_CORE=m CONFIG_TCM_IBLOCK=m CONFIG_TCM_FILEIO=m CONFIG_TCM_PSCSI=m CONFIG_TCM_USER2=m I did rebuild an armbian kernel with those enabled, and I can get iSCSI target working on the helios64. Could it be possible to include those options for the next armbian release? I think having iSCSI is a must have for helios64. Thanks
  5. That was not a complain, but a real question. Sorry if you took it wrong.
  6. I've installed latest armbian buster 20.08.10. I want to install kernel headers, but the package is not available for helios kernel? ╭─root@helios64 /lib/modules/5.8.14-rockchip64 ╰─➤ apt install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-5.8.14-rockchip64 E: Couldn't find any package by glob 'linux-headers-5.8.14-rockchip64' E: Couldn't find any package by regex 'linux-headers-5.8.14-rockchip64' Is there a way to build this package? Why is it not available in the repo?