The solution is simple. All you have to do is to open /etc/sysctl.conf and add the following to the end of the file. You might have to tweak the value 32768 (all occurrences in the following) to any power of 2 that works perfectly fine for you. We had seen several places where these values were different. 32768 was the value for which we had the best results on the BSNL bandwidth test. We use this test because we have a BSNL broadband connection. Once the file is saved you can reload these kernel parameters by running
sudo sysctl -p or by simply restarting the system. # Tweaks for faster broadband...
net.core.rmem_default = 32768
net.core.rmem_max = 32768
net.core.wmem_default = 32768
net.core.wmem_max = 32768
net.ipv4.tcp_wmem = 4096 32768 32768
net.ipv4.tcp_rmem = 4096 32768 32768
net.ipv4.tcp_mem = 32768 32768 32768
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_ecn = 0
net.ipv4.route.flush = 1
Although this fix was tried out in Ubuntu it is possible that this might work for other distros with comparable kernels. It looks like the DSL routers and connections are optimized for the default values used in windows. So we just tweak the values used in GNU/Linux to match the router - simple :-) 


Comments
This doesn't work for me,
Anonymous (not verified) wrote on January 3, 2010 - 07:18This doesn't work for me, it's always stuck in 0.5 Mbps, while in windows xp it can reach 2 Mbps (0.8 - 1.8 averages).
EXTRA
Luca (not verified) wrote on August 11, 2009 - 00:56Thanks so much for sharing these.
It works fine.
Cheers
you could try this to speed up your internet
Anonymous (not verified) wrote on May 22, 2009 - 22:32Step 1:
Open your Gnome Terminal:
>sudo gedit /etc/modprobe.d/aliases
enter your password
Step 2:
Gedit will open and add this:
#add these 3 lines after "alias net-pf-9 x25"
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off
#alias net-pf-10 ipv6 ---------------comment (put #) the original line
Step 3:
Now "Save" and "Reboot"
cool stuff, i will try it in
dslnews (not verified) wrote on February 14, 2009 - 22:32cool stuff, i will try it in germany
What about Asianet users?
ADL user (not verified) wrote on February 8, 2009 - 05:09Can you help with an ADL user for speeding up internet in Ubuntu?
Windows
Thomas Reitz (not verified) wrote on January 20, 2009 - 09:15"A wonderful article you posted. That is so informatory and creative. Please keep these excellent posts coming. You helped me so much.
Thanks for sharing!"
Explanation please?
Abhiram (not verified) wrote on November 13, 2008 - 09:41Hi,
Could you please explain what it is that those parameters are? It works and I'd like to learn more about them.
Typo
Sriram (not verified) wrote on September 12, 2008 - 10:36"you can reload these kernel parameters by running sudo systl -p or by simply restarting the system."
Its a typo here... it should be sysctl -p
Typo removed
webmaster wrote on October 13, 2008 - 21:10Thanks Sriram.
The error is rectified
Thank you very much
Team Zyxware
Cannot save sysctl.conf
tintu (not verified) wrote on September 7, 2008 - 01:19i tried saving sysctl.conf, but it said i didnt have the rights to save as i'm not the owner
Try in terminal sudo gedit
Raxpro (not verified) wrote on September 16, 2011 - 11:13Try in terminal
sudo gedit sysctl.conf
sudo is used to give the simple user a permission to edit files with root permissions.
Broadband internet speed-up
webmaster wrote on October 13, 2008 - 21:09I dont know whether you still face problem with broadband.
Try typing sudo gedit sysctl.conf at terminal and enter your password and then make the changes and try saving it. It will work.
how to
Anonymous (not verified) wrote on August 26, 2008 - 22:56nice article, how can i speed up the internet using asianet modem
systl
Gokul Das (not verified) wrote on August 14, 2008 - 23:02When I tried the command "sudo systl -p", I got the message:
sudo: systl: command not found
However the command sysctl is present. Please confirm this and if possible, correct it.
Regards,
Gokul
Increase BSNL Broadband speed
webmaster wrote on October 13, 2008 - 21:02Dear Gokul,
It was a typo which is corrected now. You need to type "sudo sysctl -p" for this to work
Joju Joshua
Team Zyxware