FORUMS

Data speed increase (wifi/3g/4g)

6,563 posts
Thanks Meter: 4,637
 
By MДЯCЦSДИT, Inactive Recognized Developer on 14th November 2011, 10:33 PM
Post Reply Email Thread
This is a known linux tweak and I have tested it on the epic and there seems to be mixed results. BTW, YMMV so don't go blaming me for messing up your phone... The zip is made for my rom but will most likely work on all others (even AOSP).
Open up /system/etc/sysctl.conf (make it if it isn't there)

Add the following...

Code:
net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
Flashable zip if you don't wanna make it yourself: acs forums are directing to the wrong download...
The Following 111 Users Say Thank You to MДЯCЦSДИT For This Useful Post: [ View ] Gift MДЯCЦSДИT Ad-Free
14th November 2011, 10:36 PM |#2  
counterfeit187's Avatar
Senior Member
Thanks Meter: 300
 
More
Will this work with cyanogen mod?

Sent from my SPH-D700 using Tapatalk
The Following User Says Thank You to counterfeit187 For This Useful Post: [ View ] Gift counterfeit187 Ad-Free
14th November 2011, 10:48 PM |#3  
MДЯCЦSДИT's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,637
 
More
Quote:
Originally Posted by counterfeit187

Will this work with cyanogen mod?

Sent from my SPH-D700 using Tapatalk

It should work on any rom
The Following 8 Users Say Thank You to MДЯCЦSДИT For This Useful Post: [ View ] Gift MДЯCЦSДИT Ad-Free
14th November 2011, 10:55 PM |#4  
justlovejoy's Avatar
Senior Member
Flag Cybertron/Earth
Thanks Meter: 1,056
 
Donate to Me
More
Quote:
Originally Posted by counterfeit187

Will this work with cyanogen mod?

Sent from my SPH-D700 using Tapatalk

c'mon nandroid and find out! soon as i reboot i am experimenting!
14th November 2011, 10:59 PM |#5  
Senior Member
O 'Fallon, MO
Thanks Meter: 408
 
More
Chris41g actually put this in his eh17/eh06/eg22 plus kernels. So, if you ever had a net boost with the plus kernel, that's why.

sent from my always aosp epic
14th November 2011, 11:17 PM |#6  
Senior Member
Thanks Meter: 11
 
More
Sweet!
Can anyone make a flashable zip of this pretty please for us lazy people?
14th November 2011, 11:32 PM |#7  
ksmullins88's Avatar
Senior Member
Flag Detroit, MI
Thanks Meter: 1,218
 
Donate to Me
More
anyone confirm this working?
The Following User Says Thank You to ksmullins88 For This Useful Post: [ View ] Gift ksmullins88 Ad-Free
14th November 2011, 11:44 PM |#8  
Senior Member
Earth
Thanks Meter: 502
 
More
I can confirm I pushed it into system\etc and there was a file already there by that name. I didn't compare them.

As far as speeds go I can definately see an improvement. Lately it has been in the 300k on average. Tonight I clocked in at 848kbps down, 676 up, and it has stayed there repeatedly.

---------- Post added at 12:44 AM ---------- Previous post was at 12:42 AM ----------

Funny thing is I didn't add the above like he said. I just replaced the file with that. I'm probably lucky it is still working.
The Following User Says Thank You to socos25 For This Useful Post: [ View ] Gift socos25 Ad-Free
14th November 2011, 11:53 PM |#9  
lost_'s Avatar
Senior Member
Flag DC
Thanks Meter: 490
 
More
This would impact your TCP stack - 3G, Wifi, and 4G.

http://www.santa-li.com/linuxonbb.html (among many others that talk about Linux TCP/IP tuning)

EDIT: I see the title was edited from the original "3G Fix" and OP now says "known Linux tweak". I just wanted to clarify why I said the above. Always check the impact on Wifi as well.
The Following 2 Users Say Thank You to lost_ For This Useful Post: [ View ] Gift lost_ Ad-Free
14th November 2011, 11:54 PM |#10  
Senior Member
Earth
Thanks Meter: 502
 
More
Okay, I added back what was in the file before and everything seems good. Speeds are better than they have been, but who knows.

Just wanted to add that my last three speedtests have avergage over 1200kbps down 500kbps up. I never get those kinds of speeds at work, so I think this is definately an improvement. But with anything time will tell.
14th November 2011, 11:59 PM |#11  
MДЯCЦSДИT's Avatar
OP Inactive Recognized Developer
Thanks Meter: 4,637
 
More
Zip coming when I get home.

Sent from my SPH-D700 using XDA App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes