*BSD News Article 73821


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!news.swan.ac.uk!iialan
From: iialan@iifeak.swan.ac.uk (Alan Cox)
Newsgroups: comp.os.linux.networking,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: TCP latency
Date: 15 Jul 1996 18:38:49 GMT
Organization: Institute For Industrial Information Technology
Lines: 30
Message-ID: <4se37p$7en@news.swan.ac.uk>
References: <31E3D9E2.41C67EA6@dyson.iquest.net> <4s5bl2$qpg@linux.cs.Helsinki.FI> <31E664EB.167EB0E7@inuxs.att.com>
NNTP-Posting-Host: iifeak.swan.ac.uk
Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:45287 comp.unix.bsd.netbsd.misc:4057 comp.unix.bsd.freebsd.misc:23639

In article <31E664EB.167EB0E7@inuxs.att.com> "John S. Dyson" <dyson@inuxs.att.com> writes:
>are being fixed?  Hmmm...  Looks like the NEW IMPROVED Linux TCP suite
>is about the same perf as the BSD code...  Luckily, there is movement
>afoot to clean-up the BSD networking code, and I wouldn't be too awful
>suprised if it betters Linux.  (Some pieces of it haven't been reworked
>in years.)

About time the BSD folks woke up. Last year several BSD people really took
the piss at the idea of the Linux folks catching up. Well we've passed you
(at least on these benchmarks [save the validity debate ;)]).

>I get about 17-19 MB/sec on localhost also on FreeBSD.  The MBUF
>code is not very inefficient in reality.  Again, it is hard to
>come to any conclusions given different hardware.

Dump mbufs, go for linear buffers, add copy and checksum passes and your
code will start to look like what everyone else has been doing to the BSD
stack while netbsd and freebsd stayed almost unchanging. It'll also start
to look remarkably like the Linux stack providing you fix the poor 
granularity timers as well.

Van Jacobson has been telling people this for years

Alan

-- 
----------------------------------------------////
Yow! 233 microsecond remote host TCP latency ---- beat that
--------------------------------------------////__________  o
Alan Cox, Alan.Cox@linux.org               /_____________/ / /\/ /_/ ><