Wednesday, September 23, 2009

speeding up internet connection in ubuntu

you can speed up internet connection by disabling IPV6(iff it is not needed)

sudo gedit /etc/modeprobe.d/aliases

edit the line alias net-pf-10 ipv6 as alias net-pf-10 off

then save & reboot

NB:- tested on ubuntu 9.04


wojox


Code:

gksudo gedit /etc/modprobe.d/blacklist.conf

and add the line:
Code:

blacklist ipv6

then reboot. This removes IPv6 from the kernel entirely, not just the browser


scorp123

It does work. Without recompiling. If you "blacklist" the ipv6 module it will not be loaded ... which might on some systems indeed increase the performance of ipv4 a little bit.


Allen Kistler


What not loading ipv6 does is keep your machine from requesting IPv6 DNS records (AAAA) from your DNS server. Some DNS servers ignore requests for IPv6 addresses, which means the client has to time out the request before it asks for an IPv4 address (A). (If it retries, then it has to time out all the retries, which could be half a minute or so.) Most DNS servers are well-behaved enough now that they'll return an invalid request result or an unknown result if they don't support IPv6 requests, so the client can make an IPv4 request right away. In other words, for most people this tip isn't going to improve anything.


FWIW, Google did some initial testing a year or so ago that found a different, but related, problem. If the client is IPv6-enabled, but the Internet connection is IPv4-only, requesting *and*getting* an IPv6 address for a site makes the site completely inaccessible. That's why
they didn't assign an IPv6 address to www.google.com, but instead created a different name (ipv6.google.com) that probably points to the same pool of servers.

No comments:

Post a Comment