[KLUG Members] Network speed question.

Richard Zimmerman ke4rit at knbpower.com
Wed Feb 1 16:17:21 EST 2006


Anytime you use the ip address, it's a direct route. It does not matter 
if you use 127.0.0.1 or 10.23.32.122 (when BOTH services are on the same 
box) the speed is the same as both addresses are on the IP level. You 
use a DNS entry, you gather the overhead from the DNS protocol (tcp/udp 
layer(s)) and latency of waiting for the DNS process to complete.

It doesn't matter what OS your using the answer would be the same. It's 
not a Linux verse Windows verse whatever OS issue, it's a protocol / 
communications issue.

DTH? (Does this help?)

Goose

P.S. If you really want to get super technical, Yes 127.0.0.1 would be 
faster cause there is no hardware to talk to, it's a kernel network 
interface, verse 10.23.32.122 which is attached to an actual nic across 
the pci/isa bus. So, in truth, 127.0.0.1 would be like 2-3 millionths of 
a second faster, but who cares? <grin>


Bruce Smith wrote:
> Please settle a disagreement I'm having with a tech support person.
>
> I have a package, who's configuration needs to know the location 
> (server IP) of a separate service it needs.
>
> The service happens to be running on the same box.  Will it run faster
> to specify the IP "127.0.0.1" as opposed to the IP or DNS name of eth0?
>
> Now pretend the server is Window 2003 instead of Linux.  Same question.
>
>  - BS
>
>
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 
>   


-- 
Richard "Goose" Zimmerman
Safety Assistant / IT Guru
K&B Transport, Inc. - Elkhart, IN
(574) 389-1986   (574) 389-8527 Fax
(800) 548-2718   (574) 850-5764 Cell 



More information about the Members mailing list