Subject: Re: pinging from NetBSD router slow than from workstation
To: Jeremy C. Reed <reed@reedmedia.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 07/05/2005 21:24:27
On Tue, Jul 05, 2005 at 11:33:12AM -0700, Jeremy C. Reed wrote:
> My router and workstation are both running NetBSD/i386 2.0.2.
> 
> The workstation is using the router for connectivity. The router is 
> running ipnat.
> 
> I pinged a variety of servers on different networks and the round-trip 
> times are at least twice as slow on the router itself. It seems like the 
> ping times on the workstation should be slighly slower.
> 
> For example:
> 
> On my router:
> 
> #  time /sbin/ping -c 5 www.washington.edu
> PING www.washington.edu (140.142.3.7): 56 data bytes
> 64 bytes from 140.142.3.7: icmp_seq=0 ttl=57 time=95.812 ms
> 64 bytes from 140.142.3.7: icmp_seq=1 ttl=57 time=102.938 ms
> 64 bytes from 140.142.3.7: icmp_seq=2 ttl=57 time=84.297 ms
> 64 bytes from 140.142.3.7: icmp_seq=3 ttl=57 time=69.290 ms
> 64 bytes from 140.142.3.7: icmp_seq=4 ttl=57 time=111.203 ms
> 
> ----www.washington.edu PING Statistics----
> 5 packets transmitted, 5 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 69.290/92.708/111.203/16.397 ms
>    10.70s real     0.06s user     3.35s system

What is the system doing for 3.35s for such a light task ? Also, the
real time should be 5s, not 10s. Does top or systat vm reveal some
high system CPU usage ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--