*BSD News Article 33953


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:3070 comp.os.linux.misc:21256
Newsgroups: comp.os.386bsd.misc,comp.os.linux.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!newshub.sdsu.edu!nic-nac.CSU.net!usc!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!whirlwind!lightning.seas.ucla.edu!michel
From: michel@lightning.seas.ucla.edu (Scott Michel)
Subject: Re: I hope this wont ignite a major flame war, but Ive got to know!
Sender: news@seas.ucla.edu (News Daemon)
Message-ID: <Cu0w8x.923@seas.ucla.edu>
Date: Thu, 4 Aug 1994 18:19:43 GMT
References: <3163r7$440@quagga.ru.ac.za> <CtMnq1.C8@rex.uokhsc.edu> <31d5ls$8e9@quagga.ru.ac.za>
Organization: School of Engineering and Applied Sciences, UCLA
Lines: 25

In article <31d5ls$8e9@quagga.ru.ac.za> csgr@cs.ru.ac.za writes:
>I think this may depend on the implementation.  Solaries, for instance,
>does things by implementing BSD sockets on top of SYSV streams, which
>does cause enough of its own unique problems, and causes a massive
>performance hit (an IPC running SunOS 4.1.1 gets better network
>performance than a CLassic runing SunOS 5.2).
>As a reference, have a look at "Implementing Berkeley Sockets in System
>V Release 4" by Ian Vessey and Glenn Skinner (Sun Microsystems).  (I
>have a postscript copy available.)

Most x86 System V's use Lachman's TCP/IP package (I know that SCO
and Interactive did) which is based on top of Streams. But there
are some optimizations that Lachman did to make it faster. And there
are numerous stream buffer parameters that can be tuned.

Keep in mind that Streams was designed to implement the ISO 8 layer
model, and not the IP 4 layer. It was also designed to allow
flexibility in configuring multiple protocols (like ISO requires).

Yes, most implementations of sockets on top of streams are hideous, but
it should have been possible to rewrite sockets in terms of the TLI
package (which I don't think is going on). Conceptually sockets and TLI
implement the same thing.

-scottm