From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,95494845ddf9c97d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-02 14:34:14 PST Path: bga.com!news.sprintlink.net!qns1.qns.com!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!sgiblab!gatekeeper.us.oracle.com!decwrl!pa.dec.com!chmist.zso.dec.com!cja From: cja@chmist.zso.dec.com (Carl J Appellof) Newsgroups: comp.sys.dec Subject: Re: DEC 3000-300 serial port speed? Date: 1 Jun 1994 20:09:44 GMT Organization: Digital Equipment Corporation Distribution: na Message-ID: <2sipu8$a1@usenet.pa.dec.com> References: <2s62k6$f4c@news.CCIT.Arizona.EDU> <1994May28.104510.196@macro.demon.co.uk> <2sgbah$3m5@news.cerf.net> NNTP-Posting-Host: chmist.zso.dec.com Keywords: long 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 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? > > 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. 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. > Now I am going to flame DEC and their knee-jerk (emphasis on >the jerk) "terminal servers are the only solution" reaction to >serial comm. What they fail to disclose (or have yet to open >their eyes and discover) is that high telnet traffic to/from >a host via a TS can also bring the host to its knees, as bad, >sometimes worse than that lousy little rs232 device. I also used to be one of those kneeling jerks who worked on DEC terminal servers. In those days (5 years ago now), we had a similar knee-jerk reaction about telnet. Back then, our terminal servers used only the LAT protocol, which is very network-efficient and host-interrupt-efficient. But customer demand required telnet, so we finally relented. It's still true that a telnet session is a pretty heavy host load. I'll still go for LAT on my terminal server if minimizing host load was the goal. 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. Just my 2 cents. -- Carl J. Appellof (cja@chmist.zso.dec.com) Storage Management Group POLYCENTER NetWorker Save and Restore Digital Equipment Corporation