comp.lang.ada
 help / color / mirror / Atom feed
From: rational.com!bonnie!rlk@uunet.uu.net  (Robert Kitzberger)
Subject: Re: TCP/IP in Ada
Date: 26 Jul 93 18:49:26 GMT	[thread overview]
Message-ID: <rlk.743712566@bonnie> (raw)

labtek@cs.yale.edu (Tom Griest) writes:

>   \ASR\DDN   - written in 1985 by E-Systems
>   \ASR\DDN2  - written in 1987 by Unisys

Also note that the DDN code only supports UDP/IP, and the DDN2 code
only supports TCP/IP.  Neither supports both TCP and UDP.  Adding UDP
is a straightforward bit of work.  Adding TCP to DDN, on the other
hand, is ill-advised, since TCP is many times more complex than UDP).
Nonetheless, the DDN2 code has a much cleaner architecture, and is
easier to plug in device drivers and socket layers.  Unfortunately, as
you point out, the DDN2 code uses tasking too liberally, to the tune
of 10+ context switches per packet transmission or reception.  If your
compiler supports passive tasking, then you can passivate some of
these (your mileage may vary).  With quite a bit of tweaking,
passivating, and optimization, my socket-layer performance was 10% of
my device-driver layer performance.

Caveat emptor.

	.Bob.
--
Bob Kitzberger                          Internet:   rlk@rational.com
Rational, Grass Valley, CA              CompuServe: 70743,1550
"Man is a rational animal who always loses his temper when he is called
 upon to act in accordance with the dictates of reason." -- Oscar Wilde

             reply	other threads:[~1993-07-26 18:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-26 18:49 Robert Kitzberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-02-02  0:00 TCP/IP in Ada Holger Noseck
1998-02-03  0:00 ` Andi Kleen
1998-02-03  0:00   ` wiljan
1993-07-24 23:45 agate!howland.reston.ans.net!newsserver.jvnc.net!yale.edu!not-for-mail
1993-07-23 18:23 Eric Christiansen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox