[KLUG Members] Network speed question.
adam at morrison-ind.com
adam at morrison-ind.com
Fri Feb 3 09:24:52 EST 2006
>> 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?>
> Fastes
> named pipe
Yep.
> next
> localhost
> slowest
> ipaddress or name of eth0
I wonder if the performance difference between eth0 and lo still
exists. 2.6.x
moved allot towards bieng a zero-copy IP stack.
aleph:~ # ping -f -s768 -c 10000 192.168.1.119
PING 192.168.1.119 (192.168.1.119) 768(796) bytes of data.
--- 192.168.1.119 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 1406ms
rtt min/avg/max/mdev = 0.014/0.017/0.290/0.006 ms, ipg/ewma 0.140/0.018 ms
aleph:~ # ping -f -s768 -c 10000 192.168.1.119
PING 192.168.1.119 (192.168.1.119) 768(796) bytes of data.
--- 192.168.1.119 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 1143ms
rtt min/avg/max/mdev = 0.013/0.017/0.092/0.003 ms, pipe 2, ipg/ewma
0.114/0.018
ms
aleph:~ # ping -f -s768 -c 10000 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 768(796) bytes of data.
--- 127.0.0.1 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 1295ms
rtt min/avg/max/mdev = 0.013/0.017/0.073/0.004 ms, pipe 2, ipg/ewma
0.129/0.018
ms
aleph:~ # ping -f -s768 -c 10000 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 768(796) bytes of data.
--- 127.0.0.1 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 1080ms
rtt min/avg/max/mdev = 0.013/0.016/0.123/0.005 ms, pipe 2, ipg/ewma
0.108/0.017
ms
More information about the Members
mailing list