1

Temat: Xiaomi 3G - wolny download

Od kilku dni posiadam światło 1000/100 Mbit. Router Xiaomi 3G wpięty w ONT. Przy testowaniu łącza zauważyłem, że transfer na routerze nie przekracza 40-45MB/s (z teoretycznych 125MB)

root@OpenWrt:~# wget -O /dev/null http://test.leon.pl/files/1GB.bin                                                     --2023-07-05 21:06:25--  http://test.leon.pl/files/1GB.bin                                                              Resolving test.leon.pl... 195.66.73.30                                                                                  Connecting to test.leon.pl|195.66.73.30|:80... connected.                                                               HTTP request sent, awaiting response... 200 OK                                                                          Length: 1073741824 (1.0G) [application/octet-stream]                                                                    Saving to: '/dev/null'                                                                                                                                                                                                                          /dev/null                     100%[=================================================>]   1.00G  33.1MB/s    in 31s                                                                                                                              2023-07-05 21:06:55 (33.2 MB/s) - '/dev/null' saved [1073741824/1073741824] 

Terminal HP Thin wpięty w sieć który hostuje Proxmoxa osiąga transfery ok 100MB/s

root@pve:~# speedtest                                                                                                                                                                                                                              Speedtest by Ookla                                                                                                                                                                                                                                 Server: Orange Polska S.A. - Warsaw (id: 4166)                                                                             ISP: Play                                                                                                      Idle Latency:     5.56 ms   (jitter: 0.15ms, low: 5.44ms, high: 5.75ms)                                                     Download:   827.10 Mbps (data used: 599.1 MB)                                                                                         7.38 ms   (jitter: 0.81ms, low: 5.26ms, high: 11.78ms)                                                      Upload:   104.21 Mbps (data used: 47.0 MB)                                                                                         84.98 ms   (jitter: 12.79ms, low: 7.89ms, high: 126.87ms)                                               Packet Loss:     0.0%                                                                                                    

root@pve:~# wget -O /dev/null [url]http://test.leon.pl/files/1GB.bin[/url]                                                         --2023-07-05 21:02:18--  [url]http://test.leon.pl/files/1GB.bin[/url]                                                              Resolving test.leon.pl (test.leon.pl)... 195.66.73.30                                                                   Connecting to test.leon.pl (test.leon.pl)|195.66.73.30|:80... connected.                                                HTTP request sent, awaiting response... 200 OK                                                                          Length: 1073741824 (1.0G) [application/octet-stream]                                                                    Saving to: ‘/dev/null’                                                                                                                                                                                                                          /dev/null                     100%[=================================================>]   1.00G  91.5MB/s    in 12s                                                                                                                              2023-07-05 21:02:30 (83.6 MB/s) - ‘/dev/null’ saved [1073741824/1073741824]  

Testowanie sieci Proxmox -> Router daje wyniki w granicach 480Mb/s

root@pve:~# iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.1.4 port 53354 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  57.5 MBytes   482 Mbits/sec    0    566 KBytes
[  5]   1.00-2.00   sec  55.5 MBytes   466 Mbits/sec    0    634 KBytes
[  5]   2.00-3.00   sec  55.0 MBytes   461 Mbits/sec    0    682 KBytes
[  5]   3.00-4.00   sec  56.2 MBytes   472 Mbits/sec   52    669 KBytes
[  5]   4.00-5.00   sec  56.2 MBytes   472 Mbits/sec    0    669 KBytes
[  5]   5.00-6.00   sec  57.5 MBytes   482 Mbits/sec    0    669 KBytes
[  5]   6.00-7.00   sec  56.2 MBytes   472 Mbits/sec    0    870 KBytes
[  5]   7.00-8.00   sec  56.2 MBytes   472 Mbits/sec    0    870 KBytes
[  5]   8.00-9.00   sec  56.2 MBytes   472 Mbits/sec    0    870 KBytes
[  5]   9.00-10.00  sec  56.2 MBytes   472 Mbits/sec    0    870 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   563 MBytes   472 Mbits/sec   52             sender
[  5]   0.00-10.00  sec   559 MBytes   469 Mbits/sec                  receiver

iperf Done.

W drugą stronę tj Router -> Proxmox jest lepiej:

root@OpenWrt:~# iperf3 -c 192.168.1.4                                                                                   Connecting to host 192.168.1.4, port 5201                                                                               [  5] local 192.168.1.1 port 46298 connected to 192.168.1.4 port 5201                                                   [ ID] Interval           Transfer     Bitrate         Retr  Cwnd                                                        [  5]   0.00-1.02   sec  80.6 MBytes   666 Mbits/sec    0    362 KBytes                                                 [  5]   1.02-2.01   sec  86.2 MBytes   726 Mbits/sec    0    560 KBytes                                                 [  5]   2.01-3.01   sec  91.2 MBytes   770 Mbits/sec    0    560 KBytes                                                 [  5]   3.01-4.00   sec  81.2 MBytes   684 Mbits/sec    0    560 KBytes                                                 [  5]   4.00-5.02   sec  86.2 MBytes   715 Mbits/sec    0    629 KBytes                                                 [  5]   5.02-6.00   sec  85.0 MBytes   722 Mbits/sec    0    660 KBytes                                                 [  5]   6.00-7.01   sec  85.0 MBytes   706 Mbits/sec    0    660 KBytes                                                 [  5]   7.01-8.00   sec  81.2 MBytes   687 Mbits/sec    0    847 KBytes                                                 [  5]   8.00-9.01   sec  86.2 MBytes   723 Mbits/sec    0    847 KBytes                                                 [  5]   9.01-10.01  sec  82.5 MBytes   687 Mbits/sec    0    847 KBytes                                                 - - - - - - - - - - - - - - - - - - - - - - - - -                                                                       [ ID] Interval           Transfer     Bitrate         Retr                                                              [  5]   0.00-10.01  sec   846 MBytes   708 Mbits/sec    0             sender                                            [  5]   0.00-10.02  sec   846 MBytes   708 Mbits/sec                  receiver                                                                                                                                                                  iperf Done.       

P.S. VM na Proxmox też ściągają w granicach 40 MB/s - ale to już inne zagadnienie.

2

Odp: Xiaomi 3G - wolny download

Jaka masz wersje na X3G i jak wpięty (w WAN czy LAN?)

3

Odp: Xiaomi 3G - wolny download

OpenWrt 23.05-SNAPSHOT, r23230-123afce696

ONT wpięty w WAN
Zarówno WAN jak i LAN połączone są na 1000mb/s

root@OpenWrt:~# ethtool wan                                                                                             Settings for wan:                                                                                                               Supported ports: [ TP MII ]                                                                                             Supported link modes:   10baseT/Half 10baseT/Full                                                                                               100baseT/Half 100baseT/Full                                                                                             1000baseT/Full                                                                                  Supported pause frame use: Symmetric Receive-only                                                                       Supports auto-negotiation: Yes                                                                                          Supported FEC modes: Not reported                                                                                       Advertised link modes:  10baseT/Half 10baseT/Full                                                                                               100baseT/Half 100baseT/Full                                                                                             1000baseT/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/Full                                                                     Link partner advertised pause frame use: No                                                                             Link partner advertised auto-negotiation: Yes                                                                           Link partner advertised FEC modes: Not reported                                                                         Speed: 1000Mb/s                                                                                                         Duplex: Full                                                                                                            Port: Twisted Pair                                                                                                      PHYAD: 1                                                                                                                Transceiver: external                                                                                                   Auto-negotiation: on                                                                                                    MDI-X: Unknown                                                                                                          Supports Wake-on: d                                                                                                     Wake-on: d                                                                                                              Link detected: yes                     
 
root@OpenWrt:~# ethtool eth0                                                                                            Settings for eth0:                                                                                                              Supported ports: [ MII ]                                                                                                Supported link modes:   1000baseT/Full                                                                                  Supported pause frame use: Symmetric Receive-only                                                                       Supports auto-negotiation: Yes                                                                                          Supported FEC modes: Not reported                                                                                       Advertised link modes:  1000baseT/Full                                                                                  Advertised pause frame use: Symmetric Receive-only                                                                      Advertised auto-negotiation: Yes                                                                                        Advertised FEC modes: Not reported                                                                                      Link partner advertised link modes:  1000baseT/Full                                                                     Link partner advertised pause frame use: Symmetric                                                                      Link partner advertised auto-negotiation: No                                                                            Link partner advertised FEC modes: Not reported                                                                         Speed: 1000Mb/s                                                                                                         Duplex: Full                                                                                                            Port: MII                                                                                                               PHYAD: 0                                                                                                                Transceiver: internal                                                                                                   Auto-negotiation: on                                                                                                    Current message level: 0x000000ff (255)                                                                                                        drv probe link timer ifdown ifup rx_err tx_err                                                   Link detected: yes                                                            

4

Odp: Xiaomi 3G - wolny download

A ustawienia off-loadingu jakie masz w firewall?

5

Odp: Xiaomi 3G - wolny download

Programowy i sprzętowy włączone

6

Odp: Xiaomi 3G - wolny download

Hmm, inne kable, jakis shaping wlaczony moze? moze starsza wersja Openwrt?

7

Odp: Xiaomi 3G - wolny download

Shapingu żadnego nigdy nie włączałem, więc to raczej odpada.

8

Odp: Xiaomi 3G - wolny download

gdyby to był pecet to bym obstawił, że może nośnik na który chcesz zapisać transfer ma jakiś "hamulec", doświadczeń z /dev/nullem nie mam, powinna iść tyle co wydajność pamięci ram. Dziwne, ostatnio optymalizowali ta platforme...moge zrobić test po weekendzie na podobnym łączu i zobacze co i jak.
Może chcesz porównać tego snapshota z X-WRT?
Pozdrawiam

9

Odp: Xiaomi 3G - wolny download

Zrobiłem testy na innych kablach - to samo. Podłączyłem stary router Linksys EA4500 na wersji 22 i download na routerze jest jeszcze mniejszy, ale może to już sam router nie wyrabia, bo jest dość leciwy.