Socket operation delays

THIER at orcad2.dnet.ge.com THIER at orcad2.dnet.ge.com
Thu Nov 22 01:30:23 AEST 1990


I am attempting to characterize system response times for IPC operations
on a SPARCStation 1+, running "out-of-the-box" 4.1 (generic kernel,
standard daemons enabled, etc.). The objective is to identify how
deterministic (or not) TCP transfer times can be, given a fixed, small LAN
environment (host-to-host, each running a single user process, no other
network traffic). 

Surrounding the IPC system call with two gettimeofday calls and computing
the difference, I've measured gross variations in socket create, connect
and send durations. The periods are most often only 1 microsecond, but
frequent delays of 10 millisecond intervals are encountered. I assume that
the delays result from the UNIX scheduler taking over during, or between,
the system calls. Is this correct? If so, I'm looking for information
regarding the scheduling mechanism and other OS overhead (frequency of the
scheduler taking control, duration that it holds control, how it handles
interrupted system calls, time allocated to daemons, etc.) and suggestions
for managing these delays. Thanks in advance.

John Thier
GE DSD
Pittsfield, MA
thier at orcad2.dnet.ge.com



More information about the Comp.sys.sun mailing list