Martin Albisetti's blog

20Mar/078

Performance tip for Edgy and Feisty users

I've been following a thread in the forums that refers to a very simple change in Ubuntu that actually is improving the responsiveness of many Edgy and Feisty users (including me).
I have no idea why this is, or if it has any side effects, to be careful.

Edit your "/etc/hosts" file:
$ sudo gedit /etc/hosts

You should see something like this:

127.0.0.1 localhost
127.0.1.1 martin-laptop

(and if your in Feisty, some lines about IPV6

Now, add the following:

127.0.0.1 localhost martin-laptop
127.0.1.1 martin-laptop

(Replace "martin-laptop" with your hostname)

Save. Should work instantly, or sometimes on reboot.

The forum thread is: http://ubuntuforums.org/showthread.php?t=388765.

Tagged as: Leave a comment
Comments (8) Trackbacks (4)
  1. thanks for the tip. I’ll report on what I notice on my machines. hopefully it’ll be significant.

  2. Martin… before I try this, What exactly does it do ? And, does it matter that I am using Kubuntu ? or not ?

  3. Eddie, I don’t think it matters what flavour of Ubuntu you are using.
    I’m not 100% sure of what it does, but the forum thread has some indications: http://ubuntuforums.org/showthread.php?t=388765

  4. Also, don’t forget to use gksudo when running gedit.

  5. I have those lines on IPv6 with Edgy as well. Don’t know if this tip actually helped me or not, but I figure that it can’t hurt.

  6. im still using dapper drake and my /etc/hosts looks exactly as you showed after being modified (even with the ipv6 lines.)
    and i always had the same performance..

  7. This only applies for edgy and feisty, which is where this change was introduced.


Leave a comment