Author Topic: Speed up Webbrowsing  (Read 2553 times)

Offline Mark342

  • Sr. Member
  • ****
  • Posts: 334
Speed up Webbrowsing
« on: May 24, 2010, 03:53:54 PM »
This will disable IPV6

Temporary: (use this first to see if there is a difference)
As root do:
Code: [Select]
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
Persistent:
open /etc/sysctl.conf as root
add these two lines to the bottom:
Code: [Select]
#disable ipv6
net.ipv6.conf.all.disable_ipv6=1
save the file

OR
Firefox Only:
type "about:config" into the webbrowser
if a screen pops up shouse to contine
search for ipv6
double click "network.dns.disableIPV6" to set its value to true
this change takes affect immediatly



This works because almost no internet provider uses IPV6 yet.
Without this your system will first try IPV6 and then after a timeout try IPV4 thus slowing things down.
IMPORTANT!! available ipv4 addresses are running out fast and are expected to run out in 2011, so you may want to avoid deploying this in a large computer network.

« Last Edit: May 24, 2010, 03:55:39 PM by Mark342 »
Anything worth doing is worth overdoing.

Registered Linux user #493318
Register yourself here: Linux Counter

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Speed up Webbrowsing
« Reply #1 on: May 24, 2010, 11:30:01 PM »
available ipv4 addresses are running out fast and are expected to run out in 2011, so you may want to avoid deploying this in a large computer network.
Interesting, that's good information to know about.

In 'Configure Your Computer' -> 'Network Center' -> 'Advanced settings'
There is an option to 'Disable IPv6' simply by ticking the box. This will accomplish the same thing without having to use the terminal console and can be undone just as simply by unticking the box in the future if needed.
« Last Edit: July 17, 2010, 05:04:55 AM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Speed up Webbrowsing
« Reply #2 on: July 16, 2010, 06:43:21 PM »
Thank You.

Helped speeding up my network and 3G internet.

Andy

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: Speed up Webbrowsing
« Reply #3 on: July 17, 2010, 01:38:59 AM »
See also this link for optimizing Firefox...

http://www.pclinuxos.com/forum/index.php/topic,72621.0/topicseen.html

(I use the second command shown in the post (first one doesn't work for me either))

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Speed up Webbrowsing
« Reply #4 on: July 17, 2010, 04:57:27 AM »
Seen this before. There was not much of performance increase for me.

After reading Mark's post I got much snappier connection. I can say that I can almost feel dns responding 2 - 3 times faster...

Andy