Why are SMB/CIFS transfers extremely slow? (re: multiple devices, etc) - General Questions and Answers

I'm trying to copy some files over wifi (802.11ac) from my SMB/CIFS NAS to my Android phone but I'm only getting 4 MB/s max.
Is this normal?
I'm using ES File Explorer 3 and I've tried multiple phones (Galaxy S4, HTC One) but always have the same problem. I don't think my wifi is the problem (it shows a connected link speed of about 400 Mbps on 802.11ac) and my NAS is definitely not the problem (LAN copying is well above 60 MB/s on my RAID-6 array)
Thanks for any help!

Related

WIFI slow

Good Morning,
By connecting the NAS via wifi network, the notebook can transfer files at a speed of about 4-5 MB/S, but through our ASUS TF700T can transfer files at a speed of about 1.7MB/S.
How come?
What do I need to set to be able to speed up data transfer and watch movies smoothly?
Thanks
Will have to test later.
I wonder if asus have reduced the power consumption in 4.2.1? If so that could explain what you are seeing as the signal strength is not as strong.
I can try to test the old power profile to see if it helps.
Thanks for the answer, great sbdags!
I tried the wifi with the NAS both your CROMI 3.6 JB 4.1.1 and then with Asus Stock 4.2.1 but it was always so slow.
Tonight I try to remove the fuel consumption.
MarkAndroid said:
Good Morning,
By connecting the NAS via wifi network, the notebook can transfer files at a speed of about 4-5 MB/S, but through our ASUS TF700T can transfer files at a speed of about 1.7MB/S.
How come?
What do I need to set to be able to speed up data transfer and watch movies smoothly?
Thanks
Click to expand...
Click to collapse
sbdags said:
Will have to test later.
I wonder if asus have reduced the power consumption in 4.2.1? If so that could explain what you are seeing as the signal strength is not as strong.
I can try to test the old power profile to see if it helps.
Click to expand...
Click to collapse
Wifi Advanced settings, untick WiFi optimizations maybe?
Yes, I try to uncheck that option on by default.
Our Asus has wifi "n" right?
How should transfer the data?
Yesterday I tried to transfer the data by removing the option of saving the wifi but the speed remained the same.
I noticed that the netbook and the notebook clamp the signal at 150 Mbps while the TAB anchors it to 65 Mbps (of course in the same room).
How come the TAB does not manage to connect with full signal?
There is a program that allows you to vary the parameters of the wifi inside the TAB?
Netbooks and Notebooks connect to 150 Mbps regularly!
MarkAndroid said:
I noticed that the netbook and the notebook clamp the signal at 150 Mbps while the TAB anchors it to 65 Mbps (of course in the same room).
Click to expand...
Click to collapse
65Mbps is the maximum speed the TF700 can connect at.
In my experience this does not matter though as the max short burst speed achievable is ~55Mbps as shown in perfmon when writing to class 10 sd. It is lower than this when writing to internal storage. Max sustained speed I get over wifi is using andftp which gives ~50Mbps.
50Mbps over WiFi? You are lucky boy! I can confirm very poor and inconsistent WiFi performance. Speedtest.net is reporting odd results and also data transfer from my home NAS varies. Based on Speedtest.net WiFi speed is mostly 1-2Mbps occasionally nearing 30Mbps. My PC wired to same router is pulling files from internet easily at 60Mbps and from local NAS much more faster. I also tried factory reset to have rooted clean 4.2.1, but it does not helped. Also AnTuTu benchmark is not giving consistent test outputs on my tablet so I am assuming that this could be related to some newly introduced bug.
I have 65 Mbps data transfer via the Internet, but not as a hook to the router.
The netbook hooked to 150 Mbps and Tab 65
The netbook on the NAS transfers data at a speed of 10 MB / s while the TAB to 1.7 MB / S!
I thought that at least 5 MB / S arrived safely
garfield_cz said:
50Mbps over WiFi? You are lucky boy!
Click to expand...
Click to collapse
I should clarify. I also get very low speeds using samba transfers. Max of about 30Mbps. I only see 50Mbps when using ftp (from local media server) to my 64gb class 10 sd card fomatted to ntfs. If I format to exfat or other I can't achieve as high a transfer speed.
After updating to 4.2.1 I had very low speed and it didn't improve until i cold booted twice.
I have nearly all 1080p mkv's on my files server and these can be up to 25GB in size. The only way I have found to reliably stream them from my server without stuttering is to use the FTP function in dice player.
From my point of view the problem lays in inconsistent WiFi speed. I can live happily with steady 10Mbps transfer speed for sure, but problem is that sometimes it is 30Mbps and sometimes only 2Mbps or even less, both on same network and router :silly:

Stutter with MX Player + BubbleUPNP when playing videos over WIFI

Hi All,
Have lots of stutter playing a video over my local WIFI. Video is 6Mbps (720p). When copied to external SD card and played from there, it's smooth. So I'm pretty sure this indicates my hardware and MX Player is all fine. I'm using the KitKatt 4.4.4. ROM.
Things change though when I play this through BubbleUPNP (source is minidlna on FreeBSD). No transcoding should take place. Then I get lots of stutters. Have also tried to play this by using File Manager HD, connect with sftp and open the video directly. Probably plays slightly worse.
Does not seem to be a CPU issue, I watched this with top, load tends to stay around 0.7, sometimes getting up above 1, but can't find much relation to stutter. CPU is around 23-40%, with 60% idle.
You would say this indicates a network performance issue. Have the tablet is within a few metres of the Netgear R6300 route I have, and distance doesn't seem to matter too much. When using a tool like Speedtest.net I hit 17Mbps over my ADSL network, so WIFI doesn't seem a limiting factor. I've even tried iperf, I get 19-33Mbps when doing that (so from tablet to my minidlna server).
I tried copying the file with File Manager HD to my external SD card, but felt slow, i.e. perhaps even less then 1MB/s. But that could be File Manager HD or the write speed to my SD card, not sure.
Other things I've tried: different player, doesn't make any difference.
I'm grateful for any suggestions people may have. Playing a 720p video over a DLNA network shouldn't be this much trouble.
Some more observations: on an old laptop, link speed 54Mb/s, I have an iperf value of 34.6Mbits/s. If I do an rsync of a 1GB file I get 2.88MB/s, so quite respectable values.
Have installed "WiFi Speed Test" on my TF300T and get 21.91Mbit/s with the tcp client test (download), which is quite respectable, and perfectly in line with other tests (AnandTech for example). However, when I do the smb client test, I get between 5Mb/s to 6.5MB/s.
Using rsync, if I download the same large file as with the laptop using rsync, I get about 1.67MB/s.
So clearly I have an issue with this tablet or ROM, not with my wifi network it seems.
Keen to hear "WiFi Speed Test" values from anynone, especially SMB/FTP values. The problem doesn't appear to be with simplistic tests (iperf), but any more complex network protocol is a lot slower. But having said that, 1.6MB/s should be enough to play 6Mbps video, but possibly the rate may not be sustained enough. Continuing the investigation.
If on your link you only get 5Mb/s to 6.5MB/s. on the smb test , it's kinda expected that your 720P / 6Mbs video will stutter, especially if it's variable bitrate or when the network fluctuate.
smb protocol has a lot of ovverhead and tends to behave badly on wifi / latency so you get less throughoutput on smb than rsync or a direct tcp test
If you don't need transcoding, you will be better to mount the smb share natively (use something like cifs manager for example) and play it directly from there.
Playing a video through the file manager's sftp or smb own libs is less efficient and will tend to give stutters every now and then as its process goes in background while the video is played in foreground.
As for stats: on a 65 Mb/s wifi link I get the following on my TF300T:
tcp client: 43.6 Mb/s
rsync: ~17Mb/s
native smb: ~12Mb/s
wifi speed test smb: ~8Mb/s
file HD manager smb: ~5Mb/s
timduru said:
tcp client: 43.6 Mb/s
Click to expand...
Click to collapse
Yeah, that's twice of what I get, so all your numbers are double of mine. Maybe it's my Netgear router?? I'll test against a different WiFi router.
On a Samsung Galaxy Note 3 I get 26 Mbps - 47 Mbps. Considerable fluctuation.
I have now tested the tablet against another R6300, no nearby wifi, performance worse then I have at home, and at a company wifi network, also not so good.
I then replaced the firmware with the latest DD-WRT, nothing much seemed to change.
I have no wireless security enabled on my network as all clients use openvpn. I then switched to using WPA2+AES, and turned off openvpn. Suddenly I started to see numbers much more similar to Tim's.
Obviously I had tested with and without openvpn against stock firmware, but that didn't seem to make much of a difference. And the fluctuation was always considerable. But with DD-WRT it seems to make quite a difference. Hit 40Mbs with wifi speed test tcp client pretty regularly.
However, it didn't make any difference with playing the video! But thanks to DD-WRT I now have graphs for bandwidth monitoring. What I saw was spikes of 40-60 Mbps for several seconds, then nothing for several seconds, then it spiked again. What it seems to me is that the MX Player, or more likely BubbleUPnP client, has problems prefetching the content. It simply doesn't do it consistently enough at 6Mbps, causing stuttering, because when the buffer is empty, it can't fill it fast enough for a second or two.

WIFI - Slow file uploads on LAN

Hi,
I have a SM-G920F (completely stock) on 5.1.1.
I'm experiencing very slow file uploads to any PC on my LAN.
Downloads (from PC to phone) = 10-15 MBps
Uploads (from Phone to PC) = 1 MBps
My WIFI network is 5G, target PCs are on a Gigabit wired connection.
Things tried:
I've tried several target PCs
Static IP for the phone
Rebooted the router
Rebooted device
Changed network to 2.4GHz
Any ideas why I'm seeing very slow upload of files ? I'm not even sure if this is normal (I'd hope not lol).
Thanks in advance...
Le bump....
Anyone else feel like testing an upload from their S6 to a pc or mac ?
Using ES file manager if possible.
What speeds do you see ?
That be a no then lol.
I have exactly the same speed as you with a galaxy S5 plus (G901f) with lollipop. It must be a problem of es file explorer because with solid explorer I have both upload and download speed of ~8MB(but slower than the 12-14MB/s of download speed of es file explorer).

Slow SMB LAN Transfers S7 G930F

Hi!
I recently bought a S7 after the Note7 situation. During my time with the Note7 I noticed very slow network transfer speeds when using SMB. 600kb/s. With Http to the same lan device I get upwards of 6MB/s. The S7 I have now does the same thing.
I tested using TEL CSC 6.1 and the new 7.0 beta.
The original Note7 discussion is here. http://forum.xda-developers.com/note-7/help/slow-wifi-lan-transfers-t3452766
Any ideas?
Presjar said:
Hi!
I recently bought a S7 after the Note7 situation. During my time with the Note7 I noticed very slow network transfer speeds when using SMB. 600kb/s. With Http to the same lan device I get upwards of 6MB/s. The S7 I have now does the same thing.
I tested using TEL CSC 6.1 and the new 7.0 beta.
The original Note7 discussion is here. http://forum.xda-developers.com/note-7/help/slow-wifi-lan-transfers-t3452766
Any ideas?
Click to expand...
Click to collapse
I confirm same issue here on French Galaxy S7 (Exynos chip). LAN SMB is slow, but anything else is OK. I had to switch to PnP to watch HD movies, SMB access to my Windows server beeing too slow (less than 300 KB/s most of the time). I can sustain 8/9 MB/s transfer speed on QHD videos with Netflix, Youtube and PnP media server. I tried various explorers and media players, and it's always the same, so this doesn't seem related to a particular app.
It's a very weird issue. My old Galaxy S4 (Lollipop) had the same slow LAN/SMB transfer speed (over wifi) as my current Galaxy S7 (Marshmallow) (tops out at 2MB/s at most using ES Explorer) but my Nexus 7 (Lollipop, rooted) does a good 5 or 6MB/s (with all other conditions the same as the phones).
This is over 5Ghz wifi with the devices sitting within a foot of the Asus RT-AC68U router, downloading 2 or 3GB file from a WD MyCloud device connected to the router via network cable, sitting 2 ft away from router.
Have yet to find any solutions other than setting up http or ftp services, which defeats the purpose of a NAS.
bo8 said:
It's a very weird issue. My old Galaxy S4 (Lollipop) had the same slow LAN/SMB transfer speed (over wifi) as my current Galaxy S7 (Marshmallow) (tops out at 2MB/s at most using ES Explorer) but my Nexus 7 (Lollipop, rooted) does a good 5 or 6MB/s (with all other conditions the same as the phones).
This is over 5Ghz wifi with the devices sitting within a foot of the Asus RT-AC68U router, downloading 2 or 3GB file from a WD MyCloud device connected to the router via network cable, sitting 2 ft away from router.
Have yet to find any solutions other than setting up http or ftp services, which defeats the purpose of a NAS.
Click to expand...
Click to collapse
I was convinced it was a software issue because my Galaxy S5 running Resurection Remix (Nougat based) is able to transfer files with X-plorer using SMB at 8/9 MB/s, when my S7, nougat updated, peaks at 3 MB/s in the exact same conditions. So I decided to flash the latest Resurection Remix on my S7 (voiding the warranty) to test and guest what ? RR performed even worse than Samsung's OS ! So I don't really know what's going on here. Maybe this is a broadband issue ? Mayby Exynos S7 have a weird Wi-Fi chip that doesn't like SMB ? Who knows ? I gave up and installed SimpleDLNA on my Windows server. I'm now able to watch HD movies without problem.
Same here in S7 (non-Edge) Exynos model.
Usually, the upload speed start at 5MB/s, after 1-2 mins, the speed start slowing down and finally drop to 15KB/s
* (B = byte)
The only temp solution is enter the Wifi Setting page, tap on the SSID currently connected, tap advance setting, the back back back to home (do not change any setting or reconnect). THe transfer speed may boost back to 15MB/s shortly 1-2 mins again.
Waiting for samsung's fix as well. Same problem in G930FXXU1DQEJ and G930FXXU1DQJ1 (I have two S7 with same problem in my home.)
No such slowing down problem is found in my old Galaxy Nexus, Nexus 4, Nexus 5, Galaxy S3.
S7 is really well fitted phone for me just except this SMB problem.
Any update on this issue? Is it being solved in Android O (8.0)?
S8's AQJ5 firmware seems already fixed the same problem.

W-Lan Speed Problem

Hello,
I have a question. When i transfere files between my PC and my Phone or Tablet the transfere speed is terrible slow.
But first a few infos about the used Hardware.
Router is a FB 7590 running 2,4 and 5GHz,
PC W-Lan adapter is a Asus USB AC56 2,4GHz with 300Mbps 5GHz with 866mbps.
Phone Samsung S8 with SanDisk Extreme 128 GB microSDXC Class 10
Tablet Samsung Tab A 10.5 with SanDisk Extreme 400GB microSDXC Class 10
Connections running on 5GHz with good signal strength (Fritz W-Lan app showes ~20-30db)
But when transfering files i get max 25-40Mbps. I tried different apps and tools but the speed is always the same.
At the moment i use Total Comander on Tablet and Phone and i have set up windows 7 to have access to some folders via network.
Is there anything i can do to get more transfere speed? With this low speed it is not funny when i copy 50GB, 100GB or more.

Categories

Resources