Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 05:48:35 -0800 (PST)
From:      John Dyson <dyson>
To:        jacs@gnome.co.uk (Chris Stenton)
Cc:        questions@FreeBSD.org
Subject:   Re: Why is my FreeBSD box so slow on local TCP?
Message-ID:  <199512111348.FAA06255@freefall.freebsd.org>
In-Reply-To: <jacs-9511111231.AA00012651@hawk.gnome.co.uk> from "Chris Stenton" at Dec 11, 95 12:31:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> 
> 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



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