Article View: comp.terminals.tty5620
Article #44Re: Layers question.
From: Doug Gwyn
Date: Sun, 13 Dec 1992 10:04
Date: Sun, 13 Dec 1992 10:04
32 lines
2117 bytes
2117 bytes
In article <1992Dec7.172216.21460@cbnewsc.cb.att.com> dwd@cbnewsc.cb.att.com (David W. Dykstra) writes: >Doug, do you have any evidence that context-switch overhead is truly >significant? I have both xt and pty versions of layers running on a VAX-11/780 under 4.3BSD, and the pty version has noticeably reduced throughput. When I investigated this some time ago I concluded that it was explained by context-switch overhead. >... I maintain that pty-based layers are so superior to xt-driver >based layers that they're worth the extra context switches. The biggest problem with xt seems to be the difficulty of porting it. Ptys have one big problem in that only a single byte of ioctl information can be passed over the pty. Streams seem like the best way to go, but I don't have access to a streams implementation of layers to try out. >I have also seen hosts that had very poor serial port drivers with >very slow turn-around time drag down layers throughput. I recently was moved to an Annex terminal server and found that layers operation has significantly reduced throughput when funneling the data through this terminal switch. I haven't yet performed any experiments to determine just what the bottleneck is. A real problem with rlogin-style support on a lot of operating systems is that every single byte of data has to be transferred to and from a user-mode process. What I'd really like to see is the ability to establish a "splice" between two channels so that all data flow occurs in the kernel. This should be easy with streams, but none of the BSD-based rsh/rlogin/etc. implementations I've seen follows this general approach. Probably the Annex software has a similar deficiency.
Technical Details
Message-ID:
<19458@smoke.brl.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!cmcl2!adm!smoke!gwynReferences:
<19402@smoke.brl.mil> <1992Dec7.172216.21460@cbnewsc.cb.att.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!news.ans.net!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.terminals.tty5620 Subject: Re: Layers question. Message-ID: <19458@smoke.brl.mil> Date: 13 Dec 92 10:04:58 GMT References: <19402@smoke.brl.mil> <1992Dec7.172216.21460@cbnewsc.cb.att.com> Organization: U.S. Army Ballistic Research Lab, APG MD. Lines: 32