From owner-freebsd-questions Mon Dec 11 05:48:37 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06263 for questions-outgoing; Mon, 11 Dec 1995 05:48:37 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06255 Mon, 11 Dec 1995 05:48:35 -0800 (PST) From: John Dyson Message-Id: <199512111348.FAA06255@freefall.freebsd.org> Subject: Re: Why is my FreeBSD box so slow on local TCP? To: jacs@gnome.co.uk (Chris Stenton) Date: Mon, 11 Dec 1995 05:48:35 -0800 (PST) Cc: questions@FreeBSD.org In-Reply-To: from "Chris Stenton" at Dec 11, 95 12:31:55 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.org Precedence: bulk > > > > I posted this on usenet but got no reply anyone care to give an answer? > > > expect it to be 24 times slower than Linux on Local TCP connections. > Anyone any ideas whats going on, 100 kb/s is not exactly pushing the > boat out? > It really isn't -- except how bw_tcp does it's thing... > > *Local* Communication bandwidths in megabytes/second > ---------------------------------------------------- > Host OS Pipe TCP File Mmap Bcopy Bcopy Mem Mem > reread reread (libc) (hand) read write > --------- ------------- ---- ---- ------ ------ ------ ------ ---- ----- > hawk.gnom FreeBSD 2.1-S 10 0.1 20.0 36.5 22 22 54 36 > pentium Linux 1.1.54 13 2.4 9.8 4.7 18 18 48 32 > You need to comment out the 'setsockopt' in bw_tcp to get a reasonable result. Should be a couple of times higher than Linux. John dyson@freebsd.org