Comment 0 for bug 94048

Revision history for this message
Conn O Griofa (psyke83) wrote :

System Info: Dell Inspiron 510m, Intel Pentium M processor 1500MHz, 256mb ram, Feisty with latest updates.

Having used Feisty as my primary desktop, I noticed that applications take some time to load, even when another instance is already open; for example, gnome-terminal would take 5-10 seconds to load a new window even if another is already open, and without significant application load. Having done some research*, I modified /etc/hosts, changing this line:

127.0.0.1 localhost

to this ('inspiron' being my hostname):

127.0.0.1 localhost inspiron

After this little modification, most gnome applications seem to load much faster and persist in cache longer, so opening another gnome-terminal take usually ~1sec rather than 10 seconds, and other application follow the same pattern.

Steps to reproduce (best noticed with ~256mb ram):
1. On an unmodified Feisty installation, open a gnome-terminal, firefox, totem.
2. Do some moderate browsing to increase firefox memory usage.
3. Open another instance of gnome-terminal & totem, noticing application startup.
4. Edit /etc/hosts as above, repeat steps 1-3.

After this little tweak, applications seem to open much faster and share the system cache more efficiently (with less disk thrashing noticeable). Even my second system (using 1gig of ram) works more efficiently. This issue should be fixed before Feisty's release.

*See here: http://forums.gentoo.org/viewtopic-t-494659-highlight-.html
Also reported on Ubuntu Forums, user experiences of tweak and explanation can be seen here: http://ubuntuforums.org/showthread.php?p=2311341