🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #1287

UNIX domain sockets throughput

#1287
From: Sandeep Mehta
Date: Thu, 17 Aug 1989 12:56
41 lines
2476 bytes
Unless I'm missing something really obvious I can't figure out why there
is a singularity in throughput using UNIX domain sockets (see below).  I'm
using them under SunOS 4.0 and there's nothing special about the setup.
The messages are n bytes long each way, therefore 2n bytes are used in the
round trip throughput calculation. The loops were timed with the time of
day clock for 1000 iterations each and about 4 runs for each message size
were done. The TOD clock, although capable of usec timing, can only yield
true resolution of 10 msec, 'cause Intersil 7170 is run in 100 Hz mode
(actually I think every other interrupt is dropped so it may be 50 Hz ?).
So I could only time all iterations and average, otherwise the standard
deviations were higher than the mean (i.e., the area under the tail of the
distribution was v. high). The tests were done between a 3/60 and a 3/260
running in multi-user mode, at different times of day, with no special
loading attempted. client and server processes were running (almost) in
sync.

Round trip message(bytes)  Throughput (Kb/s)
32                          36
512                         502
1024                        842
1300                        717  ---
1400                        676     |  singularity
1460                        669     |
1492                        651  ---
1536                        906
2032                        1127
2984                        1230
4096                        1402

My question - what buffer sizes are involved underneath ? Is there more
than buffer mgmt that contributes to this ?  I've waded through some
include files with no luck. Don't BSD UNIX versions provided 2032 byte
buffers to all connections, or is it only to INET type connections ?
Since I'm at a loss for answers any help would be appreciated.

Thanks in advance.

sandeep
--
Sandeep Mehta                                       ...to be or not to bop ?
uunet!philabs!bebop!sxm                             sxm@philabs.philips.com
Technical Details
Message-ID: <1105@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: sxm@philabs.philips.com (Sandeep Mehta)
Newsgroups: comp.sys.sun
Subject: UNIX domain sockets throughput
Message-ID: <1105@brazos.Rice.edu>
Date: 17 Aug 89 12:56:08 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 41
Keywords: SunOS
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 8, Issue 107, message 12 of 16