That's all good and well until you use applications that need to know ips
other than 127.0.0.1 for your hostname.
Your tip is bad practice and can break applications. I can't count the
number of times this has been the root of problems that were perceived to be
much larger.
The only reason this "works" is because 127.0.0.1 is resolved through
memory, and as such, the computer doesn't have to send out a packet over the
network only to come right back to itself. If your boost is "significant",
then you need to fix your networking, as slow responses over your
127.0.1.xnetwork would indicate your networking is slow/poor. That
said, you do have
a full network in the 127.0.1.x range correct?
Trust me, this is a *bad* thing.
Regards,
Karl Abbott
On 3/21/07, Simon Ruiz <[EMAIL PROTECTED]> wrote:
For those of you using Ubuntu, though likely not applicable ONLY those
using Ubuntu, this little tweak gives your application load time a HUGE
boost--that is, it makes application load times noticeably shorter.
<disclaimer>I have no idea why this works</disclaimer>
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.
Read at Martin Albisetti's blog <http://beuno.com.ar/?p=4> (via the
Ubuntu Planet RSS feed).
To be perfectly honest, I didn't even notice I was taking a performance
hit because the sorts of load times I got before this tweak were comparable
to load times I've been used to expecting on Windows for a long time.
Hope this finds you all doing great!
Simón
_______________________________________________
Fwlug mailing list
[email protected]
http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
_______________________________________________
Fwlug mailing list
[email protected]
http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org