Because at the same time, I get 10-12 MB/s from all the ubuntu wireless devices I tried. Its just Windows and Android that have these problem, so I am sure that its some samba/network misconfiguration. Additionally, on windows, speed is ALWAYS EXACTLY shown as 355KB/s, which would be IMO a huge coincdence if its just a congested 2.4GHz band. Googling this 355KB/s file copying speed leads to a ton of results, but none ofnthem helped me so far.
Beiträge von mischa.mole
-
-
Addition: I analyzed the TCP traffic with tsharkr during a fast (wireless ubuntu laptop) and a slow (wireless windows10 laptop) transfer; the results do not tell me much, but there is clearly a difference:
Fast one:
Code
Alles anzeigen26970 14.708199323 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146145973 Win=14146 Len=0 TSval=89163909 TSecr=2839143224 26971 14.708208656 192.168.178.22 → 192.168.178.42 TCP 2962 46456 → 445 [ACK] Seq=146145973 Ack=23814 Win=1324 Len=2896 TSval=2839143224 TSecr=89163900 [TCP segment of a reassembled PDU] 26972 14.708231614 192.168.178.22 → 192.168.178.42 TCP 5858 46456 → 445 [ACK] Seq=146148869 Ack=23814 Win=1324 Len=5792 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26973 14.708315698 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146154661 Win=14146 Len=0 TSval=89163909 TSecr=2839143224 26974 14.708376532 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146154661 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26975 14.708450407 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146166245 Win=14146 Len=0 TSval=89163910 TSecr=2839143226 26976 14.709220534 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146166245 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26977 14.709327909 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146177829 Win=14146 Len=0 TSval=89163910 TSecr=2839143226 26978 14.709363993 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146177829 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26979 14.709403451 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146189413 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26980 14.709493618 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146200997 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26981 14.709525826 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146200997 Win=14146 Len=0 TSval=89163911 TSecr=2839143226 26982 14.709588702 192.168.178.22 → 192.168.178.42 TCP 8754 46456 → 445 [ACK] Seq=146212581 Ack=23814 Win=1324 Len=8688 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26983 14.709613035 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146212581 Win=14146 Len=0 TSval=89163911 TSecr=2839143226 26984 14.709672785 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146221269 Win=14146 Len=0 TSval=89163911 TSecr=2839143226 26985 14.709725327 192.168.178.22 → 192.168.178.42 TCP 14546 46456 → 445 [ACK] Seq=146221269 Ack=23814 Win=1324 Len=14480 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26986 14.709807202 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146235749 Win=14146 Len=0 TSval=89163911 TSecr=2839143226 26987 14.709851161 192.168.178.22 → 192.168.178.42 TCP 14546 46456 → 445 [ACK] Seq=146235749 Ack=23814 Win=1324 Len=14480 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU] 26988 14.709936702 192.168.178.42 → 192.168.178.22 TCP 66 445 → 46456 [ACK] Seq=23814 Ack=146250229 Win=14146 Len=0 TSval=89163911 TSecr=2839143226 26989 14.710740621 192.168.178.22 → 192.168.178.42 TCP 11650 46456 → 445 [ACK] Seq=146250229 Ack=23814 Win=1324 Len=11584 TSval=2839143226 TSecr=89163900 [TCP segment of a reassembled PDU]
Slow one:
Code
Alles anzeigen1442 5.546532868 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=954841 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1443 5.548431373 192.168.178.51 → 192.168.178.42 TCP 60 51467 → 445 [ACK] Seq=118 Ack=956301 Win=256 Len=0 1444 5.548517123 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=956301 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1445 5.548542665 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=957761 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1446 5.579983918 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=959221 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1447 5.582002632 192.168.178.51 → 192.168.178.42 TCP 66 [TCP Dup ACK 1443#1] 51467 → 445 [ACK] Seq=118 Ack=956301 Win=256 Len=0 SLE=959221 SRE=960681 1448 5.582090466 192.168.178.42 → 192.168.178.51 TCP 1514 [TCP Out-Of-Order] 445 → 51467 [ACK] Seq=956301 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1449 5.584181346 192.168.178.51 → 192.168.178.42 TCP 66 51467 → 445 [ACK] Seq=118 Ack=957761 Win=256 Len=0 SLE=959221 SRE=960681 1450 5.584242763 192.168.178.42 → 192.168.178.51 TCP 1514 [TCP Retransmission] 445 → 51467 [ACK] Seq=957761 Ack=118 Win=1119 Len=1460 1451 5.584265930 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=960681 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1452 5.586492436 192.168.178.51 → 192.168.178.42 TCP 60 51467 → 445 [ACK] Seq=118 Ack=960681 Win=256 Len=0 1453 5.586555978 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=962141 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1454 5.589252610 192.168.178.51 → 192.168.178.42 TCP 60 51467 → 445 [ACK] Seq=118 Ack=963601 Win=256 Len=0 1455 5.589339235 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=963601 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1456 5.589360777 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=965061 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU] 1457 5.629981139 192.168.178.42 → 192.168.178.51 TCP 1514 445 → 51467 [ACK] Seq=966521 Ack=118 Win=1119 Len=1460 [TCP segment of a reassembled PDU]
-
Hey guys, thanks for your answers! Even if the 2.4GHz band is crowded, I would expect a little more than just 355KB/s...
I just dug out my old ubuntu laptop and tested the speed there: 11.5 MB/s on wireless, while Windows10 and Android both stuck at around 300KB/s, so it can't be the neighbors. Also, if you google "windows file copy 355KB/s" you get a LOT of results, so I guess this 355KB/s is not a random number, but some sort of misconfiguration.
My updated speeds with my NAS (ext4 drive):
ubuntu wired (NFS): 80-100 MB/s (expected)
ubuntu wired (SMB): 70 MB/s (expected)
ubuntu wireless (SMB): 11 MB/s (expected)
Win10 wired: >100 MB/s (expected, only after turning large send offload off)Win10 wireless (SMB): 355KB/s, one out of 10 times 4 MB/s (????, the wireless card has no large send offload option)
Android wireless (SMB): 300KB/s, one out of 10 times 4 MB/s (???)I am really puzzled, it seems that the network is working fine, and also the wireless network is working within its capacity, only the samba server does not work well with Win10 on wireless and android. Also, this re-occuring number of exactly 355KB/s on win10 disturbs me.
-
I use OMV 4 with Samba 4.5 on and odroid XU4, and for some reason the file transfer is super slow over the WLAN.
My test results:- always: 80-100MB/s transfer from an ubuntu box (wired, same rates for SMB and NFS)
- always: 80-100MB/s transfer from Windows 10 (wired, LSO disabled)
- most of the time: 200-300 KB/s transfer from an Android tablet (2.4Ghz WLAN), ES File explorer
- most of the time: 355KB/s transfer from same Windows10 laptop as above (2.4GHz WLAN)
- sometimes, the transfer speed for the two wireless devices spikes up to 4MB/s, but I haven't figured out when; it happens very rare.
Any options in smb.conf do not seem to make a difference, I tried everything from blank to
Codesocket options = TCP_NODELAY IPTOS_LOWDELAY read raw = yes write raw = yes oplocks = yes max xmit = 65535 dead time = 15 getwd cache = yes
I do not expect super high speeds and really do not care about it, but the 300KB/s makes my NAS pretty much unusable with wireless devices. Anyone an idea?