Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 1996 18:21:18 +0200 (MESZ)
From:      "Hr.Ladavac" <lada@ws2301.gud.siemens.co.at>
To:        jab@rock.anchorage.net (Jeffrey Barber)
Cc:        freebsd-hardware@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: Very Slow Ethernet Link
Message-ID:  <199609161621.AA232580878@ws2301.gud.siemens.co.at>
In-Reply-To: <01BBA3A2.11B93340@jabpc.rtfm.com> from "Jeffrey Barber" at Sep 16, 96 07:38:33 am

next in thread | previous in thread | raw e-mail | index | archive | help
E-mail message from Jeffrey Barber contained:
> Ok, I just installed FreeBSD 2.1 and boy this is slow, Example:
> 
> bash$ ping localhost
> 
> PING localhost (127.0.0.1): 56 data bytes
> 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.356 ms
> 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.342 ms
> 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.362 ms
> 64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.349 ms
> 
> --- localhost.arctic.net ping statistics ---
> 6 packets transmitted, 6 packets received, 0% packet loss
> round-trip min/avg/max = 0.342/0.349/0.362 ms
> 
> bash$ ifconfig -a
> 
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> ep0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX> mtu 1500
>         inet 19.51.13.1 netmask 0xffffff00 broadcast 19.51.13.255
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> 
> 
> On my Linux box I get a ping response of:
> 
> PING localhost (127.0.0.1): 56 data bytes
> 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=1.1 ms
> 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.9 ms
> 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.9 ms
> 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=1.0 ms
> 
> Big difference here. Please shed some light on this for me.

What would be your point, please?  

1) Localhost doesn't even reach the wire;

2) localhost pings on freebsd seem to be 3 times faster than the
linux ones (according to your data.)

What did you want to ask?  Perplexed minds wish to know.

BTW, tcpblast on loopback device (localhost) is slow on 2.1
because of the slightly bogus mtu of 16K.  Set it to something
more reasonable like 1500

/Marino

> 
> TIA
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609161621.AA232580878>