Temat: Słaba wydajność po WiFi - 1043ND + Lap N150
Cześć.
Od zawsze słabo działała mi Samba po Wifi (transfer 1-2 MB/s), dziś zacząłem grzebać głębiej. Połączyłem się przez SSH i uruchomiłem Iperf na routerze jak i na lapie. Transfer miedzy urządzeniami samoczynnie ustawił się na 150Mb.
Wyniki po wifi:
root@OpenWrt:~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49535
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 42.9 MBytes 35.9 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49538
[ 4] 0.0-10.0 sec 39.8 MBytes 33.2 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49540
[ 4] 0.0-10.0 sec 37.9 MBytes 31.7 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49548
[ 4] 0.0-10.0 sec 41.1 MBytes 34.5 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49549
[ 4] 0.0-10.0 sec 41.5 MBytes 34.7 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49551
[ 4] 0.0-10.2 sec 41.0 MBytes 33.8 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.166 port 49553
[ 4] 0.0-10.0 sec 38.4 MBytes 32.1 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 58266 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 25.8 MBytes 21.4 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 58267 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 25.8 MBytes 21.4 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37376 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 26.4 MBytes 22.0 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37377 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 25.5 MBytes 21.2 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37378 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 26.4 MBytes 22.0 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37379 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 26.0 MBytes 21.7 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37380 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 24.9 MBytes 20.7 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.166
------------------------------------------------------------
Client connecting to 192.168.6.166, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37382 connected with 192.168.6.166 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 26.8 MBytes 22.3 Mbits/sec
root@OpenWrt:~$
To samo tylko przez kabel 1Gbps:
root@OpenWrt:~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50036
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 136 MBytes 114 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50038
[ 4] 0.0-10.0 sec 133 MBytes 111 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50039
[ 4] 0.0-10.0 sec 142 MBytes 119 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50049
[ 4] 0.0-10.0 sec 101 MBytes 84.8 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50050
[ 4] 0.0-10.0 sec 120 MBytes 100 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50051
[ 4] 0.0-10.0 sec 116 MBytes 97.0 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50054
[ 4] 0.0-10.0 sec 131 MBytes 110 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50055
[ 4] 0.0-10.0 sec 125 MBytes 104 Mbits/sec
[ 4] local 192.168.6.50 port 5001 connected with 192.168.6.188 port 50056
[ 4] 0.0-10.0 sec 101 MBytes 84.5 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 37582 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 151 MBytes 127 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49288 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 169 MBytes 142 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49289 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 132 MBytes 111 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49290 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 128 MBytes 107 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49291 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 128 MBytes 107 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49292 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 127 MBytes 106 Mbits/sec
root@OpenWrt:~$ iperf -c 192.168.6.188
------------------------------------------------------------
Client connecting to 192.168.6.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.6.50 port 49293 connected with 192.168.6.188 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 131 MBytes 110 Mbits/sec
root@OpenWrt:~$
W logach nie mam nic na temat prędkości.
Pobierając pliki z Samby na dysku USB mam transfer 1-2 MBps po WiFi, 10MBps po ethernecie.
Żeby bylo jasne podłączałem też pendrive do routera, ale gdy na nim włącze Sambe transfery sa takie same.
Dodam, że router ma podłączony hub USB, a do huba jest wpięte kilka urządzeń, w tym owy dysk.
Co może być przyczyną takiego zachowania?