Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've finally found why my Google Chrome is so slow. And I've found these 2 posts. The first on Google Chrome forum and the second one here. The solution suggested in the second post requires a modification of /etc/modprobe.d/aliases, but on my Ubuntu 11.04 I don't have such a file.

None of the resources i found would work on 11.04. Can anyone use anything that has worked and which is easily revertible?

Below are the result of dig aaaa and dig a

joseph@joseph-off-lap:~$ dig aaaa

; <<>> DiG 9.7.3 <<>> aaaa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15618
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 7

;                IN  AAAA

;; ANSWER SECTION:         58616   IN  AAAA    2001:470:0:76::2

;; AUTHORITY SECTION:         2031    IN  NS         2031    IN  NS         2031    IN  NS         2031    IN  NS         2031    IN  NS

;; ADDITIONAL SECTION:     2044    IN  A     2044    IN  A     73027   IN  AAAA    2001:470:200::2     2044    IN  A     62719   IN  AAAA    2001:470:300::2     2044    IN  A     62719   IN  AAAA    2001:470:400::2

;; Query time: 134 msec
;; WHEN: Mon Jul  4 17:02:33 2011
;; MSG SIZE  rcvd: 290

joseph@joseph-off-lap:~$ dig a

; <<>> DiG 9.7.3 <<>> a
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31069
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 7

;                IN  A

;; ANSWER SECTION:         58533   IN  A

;; AUTHORITY SECTION:         1948    IN  NS         1948    IN  NS         1948    IN  NS         1948    IN  NS         1948    IN  NS

;; ADDITIONAL SECTION:     1961    IN  A     1961    IN  A     72944   IN  AAAA    2001:470:200::2     1961    IN  A     62636   IN  AAAA    2001:470:300::2     1961    IN  A     62636   IN  AAAA    2001:470:400::2

;; Query time: 190 msec
;; WHEN: Mon Jul  4 17:03:56 2011
;; MSG SIZE  rcvd: 278

below are the result for ping and ping6

joseph@joseph-off-lap:~$ ping -c 5
PING ( 56(84) bytes of data.
64 bytes from ( icmp_req=1 ttl=45 time=277 ms
64 bytes from ( icmp_req=2 ttl=45 time=275 ms
64 bytes from ( icmp_req=3 ttl=45 time=277 ms
64 bytes from ( icmp_req=4 ttl=45 time=275 ms
64 bytes from ( icmp_req=5 ttl=45 time=275 ms

--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 21209ms
rtt min/avg/max/mdev = 275.675/276.405/277.621/0.995 ms

joseph@joseph-off-lap:~$ ping6 -c 5
connect: Network is unreachable

as suggested i'm leaning towards installing miredo .is there any configurations/tweaks to make it works? what would you say about disabling ipv6 vs installing miredo ?

thanks for reading this. ;)

share|improve this question
No! Guides for other Ubuntu OS's prior to Natty 9 out of 10 are no longer valid. – Rinzwind Jul 4 '11 at 14:01
mmh sorry what does that mean? – black sensei Jul 4 '11 at 14:06
That the guide you found will not work for Natty. – Rinzwind Jul 4 '11 at 15:05
any work around out there? – black sensei Jul 4 '11 at 15:44
Instead of disabling IPv6, we should fix whatever the problem is. – Azendale Jul 4 '11 at 16:38
up vote 2 down vote accepted

When Chrome is slow to start loading the page but once it starts loading the page it's fast, there are two things that could be going wrong. The first possibility is that your computer is using a buggy DNS server that doesn't handle requests for IPv6 addresses well. The second possibility is that your computer thinks it has internet IPv6 connectivity when in reality it doesn't.

Run dig aaaa and dig a Each one will list a Query time. The times should be within ~200msec of each other. If they are not, you DNS server is what is causing this slowness.

One case to test for is how fast the DNS server will tell you that a website does not have an IPv6 address. You can test this by running something like dig aaaa It's Query time should be similar to the other times you ran 'dig'. The important thing is that the Query time is short.

IPv6 access itself could be broken. You can test by running ping -c 5 and ping6 -c 5 The 'time' for the ping6 should be comparable to just ping, and the 'time' should be at least less 1000 msec. If the ping6 is giving you destination unreachable errors, then your IPv6 connectivity is broken. In that case, you have two options. One is to disable IPv6 and the other is to install miredo, which will make an IPv6 tunnel, which should fix any connectivity problems. (You shouldn't have to do anything to set up miredo. It should just work. It's also easy to remove if you ever need to with sudo apt-get remove miredo)

share|improve this answer
thanks will do that.should i put the result here? – black sensei Jul 4 '11 at 17:02
Yes. If you find out more facts about your problem, it doesn't hurt to add them to your question so that people have a better idea of what is happening. – Azendale Jul 4 '11 at 17:10
what do you mean with this question "Is Chromium slow to open?". let me describe how it's starts.first it's google chrome stable(not chromium).and i have 5 sites that open when browser starts.the browser itself opens withing 2seconds and then the tabs show "loading" for quite a while and when the titles come up the pages load relatively faster.same for refresh of the same page – black sensei Jul 4 '11 at 18:21
i've updated the question to include the result of ping vs ping6.and as you have guest it, ipv6 connectivity is broken. – black sensei Jul 5 '11 at 7:25
i've tried miredo for like 3 days and i found the connection still slow.i've now removed it and disable the ipv6 protocol in the /etc/default/grug this morning and it seems effective already. – black sensei Jul 8 '11 at 11:10

For the record, disabling IPv6 can be done by setting the following in /etc/default/grub:


Don't forget to call update-grub afterwards and reboot. This seems to be the most sure-fire way to do it in Ubuntu.

Another way is to set it in /etc/sysctl.conf:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

To disable IPv6 immediately, but not permanently, without reboot:

# sysctl -w net.ipv6.conf.all.disable_ipv6=1
# sysctl -w net.ipv6.conf.default.disable_ipv6=1

I've found that using /etc/sysctl.conf didn't work as expected but I don't exactly remember what the problem was. Maybe the settings were applied too late in the boot process for some applications?

share|improve this answer
GRUB_CMDLINE_LINUX="ipv6.disable=1" disables the module completely from being loaded. – wojox Jul 4 '11 at 20:39

I followed the instructions here:

It worked perfectly on 10.04, 10.10 and 11.04.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.