Slow mobile hotspot and usb tethering speeds measured by iperf - Galaxy Note 3 Q&A, Help & Troubleshooting

I decided to debug my slow mobile hotspot speeds and lo and behlod, it seems it's not my ISP throttling, nor is my WIFI the issue or anything like that.
Running an iPerf3 server on the Note3, I get the same speeds from the Note3, whether it's wifi or a USB connection:
Code:
[ 4] 0.00-10.00 sec 7.00 MBytes 5.87 Mbits/sec sender
My Note4 gets a more reasonable USB tethering speeds:
Code:
[ 4] 0.00-10.00 sec 229 MBytes 192 Mbits/sec sender
Running MagMa NX - Release VX PCE [09.Apr.2018].
Any ideas? I'm loath to change the ROM as this is my daily driver and need it running.

kosmarnik said:
I decided to debug my slow mobile hotspot speeds and lo and behlod, it seems it's not my ISP throttling, nor is my WIFI the issue or anything like that.
Any ideas? I'm loath to change the ROM as this is my daily driver and need it running.
Click to expand...
Click to collapse
have you update your modem to last???

Related

ATT HTC Pure ICS (tethering) speed slower than phone

Hi
The tethering speed on my computer is much slower than the actual speed on my phone. I tried both ICS and WMwifirouter via usb to tether. And they both show similar speed. So i don't think it's because of software.
0.5m kbs on computer vs 1.7m kbs on phone
do you guys know a solution for this?
before i used Samsung a777 to tether and the dl speed was 1200kbs
so i don't know if ATT now block smartphones form tethering?
Make sure in Settings/Connections/Connections you have set both networks to MediaNet and take out any proxy settings.
Not sure why it would be slower though.
I tether and the speed is the same without any tweaks.

[Q] USB tethering

Is there a way I can USB tether my tablet to my phone? I believe 3.1 has USB host support, so if I got the USB adapter for my tablet would it be able to use it for internet? I don't want to buy the adapter before knowing if it's going to work.
The reason I'm asking is that I've always used USB tethering on my Evo 4G when tethering to my laptop, and I get great speeds. However, I tried wifi tethering for the first time today with my Galaxy Tab and found that download speeds won't go above 250 kilobits/sec, while upload speeds are 1.2Mbit/sec. From my phone the speedtest still shows 6-7Mbit/sec download speeds, which is the same that I get over USB tethering. Wifi tethered download speeds are also this slow when using my laptop. I tried disabling encryption and disabling CPU scaling (ie set min and max freq at 1Ghz) in case the phone was CPU bound, but it had no effect. The actual load on the phone was minimal during a wifi tethered speed test (3% usage). So there must be something wrong with wifi tethering on my phone.
Ingenium13 said:
Is there a way I can USB tether my tablet to my phone? I believe 3.1 has USB host support, so if I got the USB adapter for my tablet would it be able to use it for internet? I don't want to buy the adapter before knowing if it's going to work.
The reason I'm asking is that I've always used USB tethering on my Evo 4G when tethering to my laptop, and I get great speeds. However, I tried wifi tethering for the first time today with my Galaxy Tab and found that download speeds won't go above 250 kilobits/sec, while upload speeds are 1.2Mbit/sec. From my phone the speedtest still shows 6-7Mbit/sec download speeds, which is the same that I get over USB tethering. Wifi tethered download speeds are also this slow when using my laptop. I tried disabling encryption and disabling CPU scaling (ie set min and max freq at 1Ghz) in case the phone was CPU bound, but it had no effect. The actual load on the phone was minimal during a wifi tethered speed test (3% usage). So there must be something wrong with wifi tethering on my phone.
Click to expand...
Click to collapse
<<would also like to connect tab to evo using tether ( my tablet sees it and displays "connected" but nothing loads in a browser.
[email protected] said:
<<would also like to connect tab to evo using tether ( my tablet sees it and displays "connected" but nothing loads in a browser.
Click to expand...
Click to collapse
Hmm, I wonder if logcat and/or dmesg have any useful info. It could be an issue of the usb networking driver not being present, or it could be something simple like the tablet not using dhcp to ask for an IP or DNS server.

WiFi speeds

Is it just me or are WiFi speeds on these tablets very slow? If anyone know Of a fix it would be appreciated.
Sent from my Nexus 7 using xda premium
I've seen other posts where people have found a small gap in the shell resulting in poor contact inside for the wifi leads. Some were able to squeeze the shell tighter to help and some opened the back and tried to carefully adjust the pins to make better contact. At least one person broke a contact pin, so be careful if you try that. My wi-fi connection and speeds are very good.
I can download a 100 Mb file in less than a minute, and web pages take less that 3 second to load.
Though, I have a 30 Mb/s connection from Charter that I can constantly get up to 45 for some reason.
Last night I transferred GBytes of data via ADB (i did a full tablet wipe and a bunch of restores) and couldn't help but notice that sustained data transfer via (wired) ADB is only about 1.4 Mbytes/sec. Sort of pathetic waiting around for a half-hour to transfer a 2.5 GB file.
Anyway, not to jack the OP (which is about WiFi), but I wanted to try and figure out what my best options are for high-speed backup (I have a 32 GB N7!) - including WiFi as an option.
Ran a couple of file transfer trials this morning using a ROM file that was 150,137,068 bytes.
Results first, more detail on each setup follows. (The results are compared in terms of data payload per second; in the cases where protocol overhead is high, the wire-speeds would be higher than calculated)
[1] SMB/CIFS write via WiFi : 518sec => 2.32 Mbits/sec. UGH (best of three trials)
[2] FTP put via WiFi : 109sec => 11.06 Mbits/sec
[3] FTP get via WiFi : 121sec => 9.9 Mbits/sec
[4] adb pull via USB : 78sec => 15.4 Mbits/sec
[5] adb push via USB : 117sec => 10.3 Mbits/sec
[6]* OTG VFAT write via USB: 33sec => 36.4 Mbits/sec
[7]* MTP copy via USB 13sec => 92.4 Mbits/sec
In the WiFi cases:
- Linksys WRT54G (802.11g) router circa 2006 [ 802.11g theoretical bw 54 Mbps ] 6' away -35 dBm signal
- SMB/CIFS "server" Windows Xp SP3 laptop on 100 Mbps Ethernet segment attached to router
- N7 SMB client app ES File Manager
- FTP Server app (Andreas Liebig) on N7
- FTP client app Windows Xp default ftp app for both push and pull
- Windows box on Ethernet, N7 only on WiFi.
In the OTG case:
- 8 GB Sandisk Class 2 microSD card on a card reader attached to OTG cable; single partition, empty card, VFAT formatting.
In the ADB case:
- adb v 1.0.31, Win 7 Pro x64, Quad-Core i5, USB 2.0
Observing the WinXp task manager performance tab during CIFS or FTP transfers, the wired (Ethernet) link would show a high degree of variability, oscillating between 5 Mbps to 15 Mbps instantaneous rates. Hard to say whether this is a router performance issue or something else (11 Mbits/sec approaches 1000 pkts/sec at a MTU of 1500 bytes).
* The numbers for the OTG and MTP transfer tests are possibly questionable as the role of file caching is unknown - the times given here are only the times that the file transfer dialog(s) remain on-screen. (The writes could be completing in the background out of cache with nothing showing on the screen) In particular, note that the OTG copy involved a "Class 2" microSD card - and yet the write speed seemed closer to 4.5 Mbytes/sec, rather than 2 Mbytes/sec
The SMB/CIFS transfer times are quite pathetic; but as with all performance measurements, any participant in the test could be the long pole in the tent. For instance, the issue might be the ES File Manager app. I did not test with a N7 CIFS-capable kernel.
Also, it would also appear that performance of ADB for file transfers are quite poor - well, in comparison to MTP anyway. Too bad MTP doesn't preserve file timestamps (as well as all sorts of other oddities).
Apologies in advance for using file transfer as a network benchmarking method - my connection to the outside world (DSL) peaks at only 3.8 Mbits/second, so I would need to set up some kind of LAN server to benchmark network performance in absence of flash-memory or hard-drive writes.
Anybody have any performance numbers to share for:
- OTG mounts of hard drives or SSD devices with NTFS or ext4 file systems
- CIFS/SMB network mounts with CIFS-capable kernels
- WiFi speed tests when remote server is via FiOS or U-Verse fiber connection?
========================================================================
[Edit] -- Added some network-only test results.
FWIW, I ran a couple of tests using the "netcat" tool to evaluate the same setup without writing files to mass storage devices. It turned out that a terminal emulator app that I have has a busybox with netcat built in, so I booted the WinXp laptop into a Ubuntu Live CD (10.04LTS), and ran netcat TCP write tests in both directions. I also used "iptraf" to look at peak bit rates.
Result? Peak observed speeds were about 16.6 Mbits/second, and sustained-average results were in the 11-12 Mbit/second range. From that I conclude that that the FTP transfer tests were probably network-limited, as testing involving file writes were really no slower than this. Whether that means the "N7 is WiFi limited" or something else is not deducible from the data I collected. In this case, it takes three to tango (N7 - router - laptop).
I do note however that blahman179 said above "100 MB in less than a minute" - 100 MB in 60 seconds is about 14 Mbits/second. Only a little faster than what I observed - right in the same neighborhood.
Note that I had my WiFi router set to G-only. I suppose that the basic bit rate with huge signals in the -30 dBm range means that the radios are indeed transferring packets at a 54 Mbit/sec bit rate - but with a duty factor of less than 30%.
@OP:
fwiw, I did a little searching. Some XDA N7 users with high speed ISP connections report peak download rates of 20-30 Mbps when connected to networks that can do much better than this using PCs.
That "speedtest.net" app reports peak values recorded over short intervals - I suppose that sustained (average) transfer rates are somewhat worse than this.
bftb0 said:
@OP:
fwiw, I did a little searching. Some XDA N7 users with high speed ISP connections report peak download rates of 20-30 Mbps when connected to networks that can do much better than this using PCs.
That "speedtest.net" app reports peak values recorded over short intervals - I suppose that sustained (average) transfer rates are somewhat worse than this.
Click to expand...
Click to collapse
Also Comcast and probably others boost your speed for the first part of your download making burst speeds optimistic.
Sent from my SCH-I605 using xda premium
I have 60 megabit, ive not sat and worked it out, but I often get speeds of 5500kb/s on torrents over wifi. Maybe not making use of all my bandwidth, but the downloads come in quick enough for me.
Sent from my Nexus 7 using Tapatalk HD
Having trouble with all wifi connections on my nexus 7... When i am on my home wifi I get 5mbps where all other g connected devices pull 25mbps. That's not so much of a problem. When I am tethered to my cellphone via wifi I get 600kbps with the nexus 7, but my cellphone tethered via wifi to my pc is 4mbps. I'm concluding something is wrong with the link speed on my nexus 7 but don't know what to do about it. Any help would be appreciated cause I really need more then 600kbps when not at home, especially when my phone regularly pulls 10mbps in my area.
I agree with the WiFi connection being slow with the n7.IMho I've seen better download speeds with my galaxy tab 2. I've also noticed with certain kernels the WiFi is faster.stock to me is the best and now I'm running the faux kernel and it ain't too bad.
I just tried the speedtest.net app and averaged about 9.4Mbs down and .68 up. Stock rom, rooted JB.

WiFi Low transfer speed over LAN

My Galaxy S4 have the newest firmware from Samsung I9505XXUGNF1 (Kitkat 4.4.2). My router is a Asus RT-AC66U to which the S4 connects with max speed of 433 Mbps. My internet connection is 120 Mbps.
When I do a speedtest on the S4 I get results of ~110 Mbps, but when I'm downloading a file over LAN from the disk connected directly to the router I get download speed only of ~20Mbps (2.4 MB/s) which is very sucky!
My Laptop have only a N network card, and connects to the router with max 300 Mbps and when I download the same file I get over 7.5 MB/s!! (~65 Mbps).
Speedtest also shows results of over 110 Mbps...
I remember when the phone was new, and it had Android 4.3 (~10 months ago), I had LAN download speeds of over 9-10 MB/s...
I tried with different file managers like X-Plore and others, but it looks like it is not the app problem.
does somebody know what could be the problem?
Same problem on Galaxy Tab S (SM-T805)
The same is happening to my Brand new Galaxy Tab S.
It is connecting to the WiFi with 866Mbps, and files inside the network are download only at ~3 MB/s
does anybody have the same issue?
The problem is now solved by installing newest version of X-Plore v 3.66 https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore
LAN download speeds went from ~2.5 MB/S to ~14 MB/s (I think that the limit is now the Hard Drive plugged to a USB 2.0 port on the router)
Thank you Lonely Cat Games for solving this issue!!

Slow WiFi

Hi
While at work I connect to the wifi because my connection isnt the best, It says I have a good connection (up to 86 MBPS) but its super slow. I ran a speed test and my DL speed was .96 and my up was 5.67 MBPS. My friend is connected to the same wifi but on a S5 and got 10.76 mbps on DL and 30.5 UL. Ive tried clearing the cache in recovery and even forgetting the network and reconnecting, any other suggestions?
bb4ninja said:
Hi
While at work I connect to the wifi because my connection isnt the best, It says I have a good connection (up to 86 MBPS) but its super slow. I ran a speed test and my DL speed was .96 and my up was 5.67 MBPS. My friend is connected to the same wifi but on a S5 and got 10.76 mbps on DL and 30.5 UL. Ive tried clearing the cache in recovery and even forgetting the network and reconnecting, any other suggestions?
Click to expand...
Click to collapse
download " dnset" https://play.google.com/store/apps/details?id=com.dnset&hl=en, let me know if that does the trick
For some unknown reason Samsung use BIC as the TCP congestion Algorithm. Its reliable and good for high latency networks, but its pretty slow.
As far as I know you can only change it (to something better like Westwood) by rooting.
I tried using the DSNET and it didnt do anything at all, the speeds remained about the same and in some cases slower. I would like to root to my pohone but I might get my phone replaced first by T mobile
jordy787 said:
download " dnset" https://play.google.com/store/apps/details?id=com.dnset&hl=en, let me know if that does the trick
Click to expand...
Click to collapse
That is for changing DNS, has nothing to do with the problem OP has posted, the change in TCP Congestion maybe could work if there is not an error in the drivers.
Try to download Kernel Adiutor and in Misc. Controls change it to cubic or westwood and test the speed.
To do a reliable test, you should use iperf and not other application, he.net - Network Tools has iperf v2 and v3
citytrader said:
That is for changing DNS, has nothing to do with the problem OP has posted, the change in TCP Congestion maybe could work if there is not an error in the drivers.
Try to download Kernel Adiutor and in Misc. Controls change it to cubic or westwood and test the speed.
To do a reliable test, you should use iperf and not other application, he.net - Network Tools has iperf v2 and v3
Click to expand...
Click to collapse
Do I need to be rooted to do this?
bb4ninja said:
Do I need to be rooted to do this?
Click to expand...
Click to collapse
Probably, I'm rooted so I can not test but you can do it yourself, Kernel Adiutor is free, install it and change the TCP parameter to test if you can!
bb4ninja said:
Hi
While at work I connect to the wifi because my connection isnt the best, It says I have a good connection (up to 86 MBPS) but its super slow. I ran a speed test and my DL speed was .96 and my up was 5.67 MBPS. My friend is connected to the same wifi but on a S5 and got 10.76 mbps on DL and 30.5 UL. Ive tried clearing the cache in recovery and even forgetting the network and reconnecting, any other suggestions?
Click to expand...
Click to collapse
i figured it out i think. *#0011# Menu -> Wifi and then disable wifi power saving mode. my wifi speeds dramatically improved.
jordy787 said:
i figured it out i think. *#0011# Menu -> Wifi and then disable wifi power saving mode. my wifi speeds dramatically improved.
Click to expand...
Click to collapse
That is not the way to go if the drivers are correct, now wifi will drain power disabling power saving mode
I have made some testing in my phone with my [email protected] and did transfers with iperf, disabling power saving mode was a bit worse
citytrader said:
That is not the way to go if the drivers are correct, now wifi will drain power disabling power saving mode
I have made some testing in my phone with my [email protected] and did transfers with iperf, disabling power saving mode was a bit worse
Click to expand...
Click to collapse
hmm well seems to speed up mine and i have no power drain. It went from ac to wireless N
jordy787 said:
hmm well seems to speed up mine and i have no power drain. It went from ac to wireless N
Click to expand...
Click to collapse
So if you moved from AC to N is not a speedup because of N standard has lower rates, mine is connected in AC and I'm getting speeds between 270Mbit/s and 316Mbits/s, this is using channel bandwidth 80Mhz (in N you have no more than 40Mhz).
If you want to do real test of bandwidth, use iperf v2, for PC you can download here:
http://sourceforge.net/projects/iperf2/?source=typ_redirect
For Android download Aruba Utilities and use Iperf with that
Usage:
iperf -c X.X.X.X (x.x.x.x is the ip of the iperf receiver)
iperf -s (server mode)
Do it in both directions, PC server and Android in server mode and compare changing N to AC in the router.

Categories

Resources