how to speed your internet Connection.

hi all.

today i will show you how to speed your internet Connection,follow these steps:
1-go to path : /etc/sysctl.conf (in root privileges )
2-at the last of the file write these lines:

  # increase TCP max buffer size setable using setsockopt()
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
# set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
# don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
# recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500
# for 10 GigE, use this, uncomment below
# net.core.netdev_max_backlog = 30000
# Turn off timestamps if you're on a gigabit or very busy network
# Having it off is one less thing the IP stack needs to work on
#net.ipv4.tcp_timestamps = 0
# disable tcp selective acknowledgements.
net.ipv4.tcp_sack = 0
#enable window scaling
net.ipv4.tcp_window_scaling = 1

save the file and out.
and Congratulations! :slight_smile:

I’ll try that, Thanks for the tips. :slight_smile:

you welcome.

On 04/20/2011 11:06 PM, Mhannysabbagh wrote:
> today i will show you how to speed your internet Connection

in what way does it speed the connection?

i ask because i ran an online speed test, then made the changes,
restarted networking and ran the same speed text again, and got these
results (a slight slowing of download speed):

down up
before 8.48 0.85
after 8.46 0.85

i am using DSL, perhaps this tip only works for cable or dialup? or what??

secondly, i wonder what happens when IPv6 is involved…

[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
A Penguin Being Tickled -

I saw no change in test results from tests at - The Global Broadband Speed Test

Before: 1.52 Mbps Down, 0.13 Mbps Up
After: 1.52 Mbps Down, 0.13 Up

Rebooted and tested again.

Before: 1.52 Mbps Down, 0.13 Mbps Up

How much faster was your internet?

I concur, I saw no change too… :open_mouth:

the tips is for speeding the browser speed,and for all the connections(DSL.Dial up…etc)
on my computer the connection was fast after this tip more than before!but if the tips was slowing your internet connection just go to the same file and remove the lines you have add…

Can you give us some before and after figures? How much more than before? Don’t make claims that you can’t support with facts.


before: 0.3 down,0.12 up.
after: 0.7 down,0.12 up.

Looks like you needed the help. :slight_smile:

Now was it so hard to start your original post with something like.

My internet speed was 0.3 down and 0.12 up, after adding this code to my /etc/sysctl.conf file (in root privileges ), my speed increased to 0.7 down and there was no change in my upload speed. Then post the code.

Are the speeds in kbps, Kbps, or Mbps?

thank you, i will make sure to write these information in my next posts.
the speed is in ‘Kbps’.

So your download speed is slower than your upload speed? Shouldn’t it be the other way around?

Anyway, I don’t think your code does anything. I tested my speeds again today using several servers on - The Global Broadband Speed Test without your code and depending on the servers location had different results.

Using the default server selected for me my speed was an average of 1.53 Mbps down and 0.13 Mbps up after 3 tests.

Using one on the other side of the state the average was a whopping 1.65 Mbps down or an increase of 0.12 Mbps, while the upload speed remained the same after 3 tests.

Using a server located in Riyadh, Saudi Arabia the first test was 1.67 Mbps down, the second was 1.65 Mbps down and the third came in at 1.26 Mbps down for an average speed of 1.52 Mbps download. Again the upload speed was unchanged.

I had similar results with your code added to my sysctl.conf file. No significant change in speed was observed.

I have a 1.5 Mbps and 0.13 Mbps DSL connection, and you never did answer Denver D’s questions.


your internet speed is more faster than my,so you maybe did not feel the deference,if the tips did not help you do not use it,but never come to me and say in anyway or else that i am Lying or something like that! you can go to the file and remove the lines and everything is over!but never test my sincerity!
best wishes.

On 04/23/2011 12:06 AM, Mhannysabbagh wrote:
> but never come
> to me and say in anyway or else that i am Lying or something like that!

i do not believe he said that…
neither do i think he intended to say that, nor even make a hint at that
you had made up something…

personally, i think the speed boost is probably most seen on low
bandwidth connections…and, the boost on broad band is very little, if

some here (like me) who left low bandwidth years ago won’t see any
difference…but, believe me i well remember using every trick i could
find back when using a 14.4 kbs modem…

more power to you! your boost from 0.3 to 0.7 is HUGE (i wish mine had
gone from 8.48 to 19.786!!)

[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
A Penguin Being Tickled -

Ah hanny, my Syrian friend I do not doubt your sincerity, nor am I calling you a liar. Anyone who comes up with an idea, takes the time to write the code, test it and share it with others is very sincere.

I apologize for saying you did not answer Denver D’s questions. You did say that it works for speeding the browser, and is for all connections.

You understand as a puzzled explorer penguin, I have to test and question.

I did another test last night around 10 PM DST, found a server to connect to in Damascus using Speed Net and I had an average of 0.56 Mbps without your code. Then added the code, uncommented net.core.netdev_max.backlog=3000 and turned off timestamp. Rebooted and tested again, with an average of 0.72 Mbps. Since I had an increase of .12 Mbps before without the code, I can’t safely say it was the code responsible for the 0.16 Mbps increase. Test results with the server in Saudi Arabia, that gave me an average of 1.52 Mbps yesterday, was 0.55 Mbps before and 0.55 Mbps after, when I tested last night. My upload speed remained at 0.13 Mbps for all tests.

After those tests I also realize I misinterpreted your speeds (I have trouble with numbers) and your download speed is faster than your upload speed, as it should be. Are you sure your speeds are in Kbps and not Mbps? They seem similar to mine.

I’ll agree with Denver D, that the boost is more likely for low bandwidth connections.

Waiting to hear from someone to report it worked for them. My browser works pretty fast though, so thanks for the tip, but no thanks I won’t use it.

thank you all for your Comments,and Excuse me if i Exaggerated in my last Comment.

Are you sure your speeds are in Kbps and not Mbps?

yes i am sure form that,we have a very slow internet Connection in syria. :expressionless:
i agree with Denver D too,the tips is for low bandwidth connections
thank you all.

On 04/23/2011 07:36 PM, Mhannysabbagh wrote:
> syria . . . thank you all.

welcome…stay safe…know that all you put on the net can be read,
and traced back…

by the way, did you get the help you needed to translate ??

in my opinion that page should have been in Arabic, Chinese (and
others) for several years…by now…

[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
A Penguin Being Tickled -

thank you.
i have send a massage to the page mailing list,but i did not get the answer yet…
thank you for your interest.

Let’s suppose I have changed the internet settings according to you .
If i want to restore default settings , what will i have to do ?

Just restore the backup of your original sysctl.conf file. You did make one right?

Failing that you could just edit the file again and remove or just comment out the code.