Falcon1986-Online

Home of a med student who likes to manage websites and talk tech!

[HOW-TO] Speed up Google Chrome on Ubuntu

with 36 comments

Ubuntu LogoAlthough I use Mozilla Firefox more than I use Google Chrome, the latter does come in handy when testing how websites display on a different browser or when there is need to diagnose internet connectivity problems. On Windows, Google Chrome is fast; perhaps even faster than Mozilla Firefox. However, on Ubuntu 9.10, I have noticed that it can be a little slow to initiate or even load a simple web page. In an effort to find a solution to this problem I stumbled across quite a few user-submitted posts that described a simple fix. After applying the fix, there was a significant improvement. Read on to find out how you can speed up Google Chrome on Ubuntu.

Apparently, the slow response of Google Chrome on Ubuntu has to do with the slow DNS lookup of this browser. These instructions should not be limited to Chrome on Ubuntu 9.10 alone and should work on any version of Ubuntu where the latest version of Chrome is installed.

  1. Close any instance of Google Chrome that might be running.
  2. Open a terminal window by going to Applications > Accessories > Terminal.
  3. Enter the following command and press ENTER. It will open nsswitch.conf in gedit.
    sudo gedit /etc/nsswitch.conf
  4. Locate the following line within the file:
    hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
  5. Replace that line with the following, save the file and exit gedit and the terminal.
    hosts: files dns
  6. Start up Google Chrome and experience a faster browsing experience!

Written by falcon1986

1 June, 2010 at 11:52 AM

Posted in Linux

Tagged with , , ,

36 Responses

Subscribe to comments with RSS.

  1. This solution works for me, thanks a lot! (Ubuntu 11.10 ia64 / 17.0.963.56 (Developer Build 121963 Linux) Ubuntu 11.10)

    ChrominumRocks

    5 March, 2012 at 9:04 PM

  2. Thank you! I have Ubuntu 11.10 on my Sony Vaio and this instantly made a huge difference. Even the video that I was watching, despite having been buffered, was playing erratically, and this seems to have fixed the problem.

    Aquila

    13 April, 2012 at 12:18 PM

  3. Works for ubuntu 12.04 stable and beta release. Thank you much.

    Grayson

    27 August, 2012 at 5:25 PM

  4. I’m running 12.04 and it fixed my sluggish chrome browser. Thanks again

    Ruben181

    10 October, 2012 at 9:16 AM

  5. I blog likewise and I am authoring a thing similar to this blog, “[HOW-TO] Speed up Google Chrome on Ubuntu Falcon1986-Online”.

    Would you care if I actuallyutilise a bit of of your own points?
    Thanks ,Charla

  6. Thanks a lot.

    MS

    7 March, 2013 at 2:16 AM

  7. Thank you, i think it solved the problem 🙂 .

    Ali Essam

    12 March, 2013 at 3:02 PM

  8. Reblogged this on Ali Essam.

    Ali Essam

    12 March, 2013 at 3:04 PM

  9. Thank you, I’m running Zorin 6 and Chrome was slow to load, your tutorial helped. The entire desktop seems faster.

    Chris Erbeck

    14 March, 2013 at 8:54 PM

  10. Hi

    Worked for me. Thanks a lot

    Lily Drew

    22 September, 2013 at 6:39 AM

    • If You change it to files, creates disaster well : files files dns works.

      herbert cross

      24 December, 2013 at 2:07 AM

  11. Thanks a lot. It is 3 times faster than before on Ubuntu 12.04

    ClaudiuHNS

    3 February, 2014 at 8:02 AM


Leave a comment