From owner-freebsd-hardware Mon Sep 16 09:26:42 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA14520 for hardware-outgoing; Mon, 16 Sep 1996 09:26:42 -0700 (PDT) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA14499; Mon, 16 Sep 1996 09:26:36 -0700 (PDT) Received: from sol1.gud.siemens.co.at (root@[10.1.143.100]) by zwei.siemens.at (8.7.5/8.7.3) with SMTP id SAA28112; Mon, 16 Sep 1996 18:25:30 +0200 (MET DST) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0v2gUl-000218C; Mon, 16 Sep 96 18:26 MET DST Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA232580878; Mon, 16 Sep 1996 18:21:18 +0200 From: "Hr.Ladavac" Message-Id: <199609161621.AA232580878@ws2301.gud.siemens.co.at> Subject: Re: Very Slow Ethernet Link To: jab@rock.anchorage.net (Jeffrey Barber) Date: Mon, 16 Sep 1996 18:21:18 +0200 (MESZ) Cc: freebsd-hardware@FreeBSD.org, hackers@FreeBSD.org In-Reply-To: <01BBA3A2.11B93340@jabpc.rtfm.com> from "Jeffrey Barber" at Sep 16, 96 07:38:33 am X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hardware@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 mtu 1500 > ep0: flags=863 mtu 1500 > inet 19.51.13.1 netmask 0xffffff00 broadcast 19.51.13.255 > lo0: flags=8009 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > sl0: flags=c010 mtu 552 > tun0: flags=8010 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 > >