From: magma@nic.cerf.net (Ed Romascan)
Subject: Re: DEC 3000-300 serial port speed?
Date: 1 Jun 1994 22:40:35 GMT [thread overview]
Message-ID: <2sj2p3$44j@news.cerf.net> (raw)
In-Reply-To: 2sipu8$a1@usenet.pa.dec.com
In article <2sipu8$a1@usenet.pa.dec.com> cja@chmist.zso.dec.com (Carl J Appellof) writes:
>In article <2sgbah$3m5@news.cerf.net> magma@nic.cerf.net (Ed Romascan) writes:
>
> [...stuff deleted...]
>
>Thanks for the good discussion of more modern async interface chips.
>I have a few biased comments on some of your discussion.
>
>> DEC has maintained their disadvantage in the serial speed
>>race by maintaining the very ugly "ttyhog" limit of 255 characters
>>max on a character queue (clist). Yup, you got it, the ttyin
>>routine will flush the clists when ttyhog is exceeded.
I am guilty of an ommision here (ok, i'm guilty of a lot of things...)
OSF/1 stores the t_hog value in the tty structure, which defaults to
255. The driver writer is free to up it, as I did. Is the user also
free to up it with the open flag? (ULTRIX ttyhog *is* hard coded).
>
>I worked on the OSF/1 STREAMS line discipline module at one time,
>and put in this ttyhog limit to mimic the old BSD line discipline.
>The theory was that on a timesharing system, you wouldn't want any
>individual user to hog too much memory. What would be a better way
>of limiting global system resource usage?
I agree, you need to bound resource use. The bounds need to grow
as machines grow. That old berkeley limit of 255 was devised
a long time ago when 1 meg of ram was *alot* and a 100 meg hard drive
would get oohs and aaahs. The flamingo that I am using has 96 meg
of ram and ~2 gig of disk, stock. Maybe it is time to up the ttyhog
default to reflect the times?
>
>>
>> Well, there are ways around these problems, and I have used a lot
>>of them.
>
>The easiest way around this problem with STREAMS is not to push
>the line discipline module onto your STREAMS stack if all you want
>to do is suck characters in. Your complaints about the amount of
>processing it takes to discipline a character are all true. Those
>chars are incorrigible! But if you wants POSIX or SYSV behavior
>(and many programs do), you pays the price.
It's true, there are no free lunches.
>
>Ideally, running SLIP or PPP would push a totally different "line
>discipline" module onto the STREAMS stack, and would avoid all that
>character-by-character processing.
Can't imagine why you wouldn't do it this way? You can (and should)
play the same game with the berkeley approach, it certainly allows
you to change line disciplines, just doesn't supply any. But hey,
that's what third parties are for :-).
I think I also left the (wrong) impression that the STREAMS
paradigm is overall superior to the berkeley paradigm. For
my way of thinking the only thing STREAMS has over berkeley
is the removal of line discipline processing from the interrupt
context and more (NOT neccessarily better) character buffering.
There is way too much overhead to STREAMS. Of course I am
not going to elaborate on that.
<snip>
>
>I see the real benefit of terminal servers as reduced wiring costs,
>and the flexibility to connect to multiple systems. Of course that
>only applies to hooking up lots of real terminals or modems. SLIP lines are
>probably another story.
No argument. The person who started this thread (i don't recall who)
just wanted to run a single line as fast as possible, not a good
candidate for a T.S..
>
>Just my 2 cents.
A perfectly valid viewpoint, worth well more than 2 cents.
>--
>Carl J. Appellof (cja@chmist.zso.dec.com)
>Storage Management Group
>POLYCENTER NetWorker Save and Restore
>Digital Equipment Corporation
BTW, I like OSF/1 on the AXP's. Very fast reliable hardware
and OSF/1 is very friendly and intuitive to bsd affectionados
(did I spell that right?) like myself.
bruce (not Ed Romascan) schoenleber
(it's a shared internet account)
bruce@magma.com
next prev parent reply other threads:[~1994-06-01 22:40 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-26 0:08 DEC 3000-300 serial port speed? Greg Kilcup
1994-05-27 4:50 ` Jerry Leslie
1994-05-27 14:19 ` Peter da Silva
1994-05-27 15:46 ` Charles M Richmond
1994-06-01 20:57 ` George Papison
1994-06-02 13:28 ` Peter da Silva
1994-05-27 21:29 ` Craig Zeller
1994-05-28 0:18 ` Aaron Leonard
1994-05-28 9:45 ` Neill Clift
1994-05-28 14:58 ` Castor Fu
1994-05-28 17:01 ` Terry Kennedy, Operations Mgr.
1994-05-31 21:48 ` Ed Romascan
1994-06-01 15:55 ` ivie
1994-06-01 20:09 ` Carl J Appellof
1994-06-01 22:40 ` Ed Romascan [this message]
1994-06-01 22:16 ` Peter da Silva
1994-05-28 19:48 ` Andrew Fullford
1994-05-28 22:40 ` Thor Lancelot Simon
1994-05-30 1:02 ` Jerry Leslie
1994-05-30 11:54 ` Rupert Moss-Eccardt
1994-05-30 15:51 ` Terry Kennedy, Operations Mgr.
1994-05-30 16:05 ` Rupert Moss-Eccardt
1994-05-30 18:30 ` Terry Kennedy, Operations Mgr.
1994-05-30 17:05 ` Andrew Fullford
1994-05-30 23:04 ` Rupert Moss-Eccardt
1994-05-31 0:35 ` Andrew Fullford
1994-05-31 14:47 ` Charles M Richmond
1994-05-31 18:46 ` Eric Thomas
1994-06-01 22:40 ` Peter da Silva
1994-05-31 1:35 ` John Wilson
1994-05-31 5:41 ` Rupert Moss-Eccardt
1994-05-31 17:03 ` Peter da Silva
1994-05-31 16:57 ` Peter da Silva
[not found] ` <2s62k6$f4c@news.ccit.arizona.edu>
1994-05-28 13:19 ` John Hascall
1994-05-31 16:03 ` Peter da Silva
1994-06-04 3:41 ` Steven Vere
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox