Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jeh@cmkrnl.com
Subject: Re: Need faster async board...dlv11-J?  Something else?
Date: 20 Jan 93 11:32:59 PST	[thread overview]
Message-ID: <1993Jan20.113259.1238@cmkrnl.com> (raw)
In-Reply-To: 152016@zl2tnm.gen.nz

In article <152016@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
> jeh@cmkrnl.com writes:
>> In article <565014@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
>> > Anyway, I might have a go at fiddling the driver to support 38400 (if I
>> > can find a terminal that will go that fast!) and see how things get on.
> 
>> I really don't see the point.  Even if you do this the actual throughput for
>> writes won't exceed 19.2kbps.  This is (according to the manual) a limitation
>> of the on-board DMA logic, so nothing you do to the UART chips will get around
>> this.  You certainly can't test read throughput to 38,400 bps unless you are
>> planning to type VERY damn fast.  
> 
> Don't knock it.  I'm having fun.  8-)

Ah, now I understand!  :-)

(These modern chip technologies have their drawbacks.  In the good old days I
worked on an HP machine that used a separate 7x8" card for *each* serial
port... [instruction set looked a lot like alpha's, too!] and when we wanted it
to go faster than HP provided for, why we just added a wire to pick off the
baud clock a few stages earlier in the divider chain.  I just bought a
two-serial-port card for a PC... it has *one* chip on it.  Now, I ask you, how
much fun can that be?  :-) 

>> Gee, Don, sounds like you're reading from the exact same DHV11 manual that
>> I was.   
> 
> Funny, that.  DHV11 Techical Manual, p/n EK-DHV11-TM-001.  (c) 1983.

It's worth noting that this formula for order number applies to LOTS of DEC
hardware tech manuals.  Whether or not the manual is actually orderable and
contains useful information is, of course, another question.  (The later the
printing date, the more "content-free" the manual, it seems.)

> Quick warning to neophytes: Hacks described below [for adding RTS flow
> control] have not been tested. 
> They're not even complete.  It's your foot and your gun.

Good stuff!  I've been mumbling about doing something along these lines... 
I'm going to see if I can complete it and put a nice wrapper around it. 

It's a shame that similar things can't be done to add RTR/CTS flow control to
LAT ports.  (Like the DHV it already honors CTS, even when it is set to "no
flow control" or "xon/xoff flow control", but pin 4 just stays true all the
time.)  Unfortunately the LAT terminal port driver apparently has no way
to request modem control signal state changes.  

> The main thing is to make sure you have a QIO outstanding at all times so
> that characters are written into your buffer rather than into the
> typeahead, thus saving a copy from the typeahead to your buffer at fork
> IPL.  I'd do this by using two 4-5k buffers with one second timeouts, so
> the buffers never fill before the next IO is Qed.  Then just make damn
> sure you can process what's coming fast enough!  You don't want to be
> doing lots of little QIOs, because setting 'em up is expensive.
> 
> Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
> Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
> Victoria University of Wellington, New Zealand              +64-4-495-5052

Unfortunately with uucp we can't wait a second to read a packet.  Or even 
three packets.  If we're dealing with a Telebit spoofed connection we have
to send at least one ACK every 210 bytes.  At 38.4k that's about 55 milli-
seconds!  

	--- Jamie Hanrahan, Kernel Mode Systems, San Diego CA
drivers, internals, networks, applications, and training for VMS and Windows NT
uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and 
Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG 
Internet:  jeh@cmkrnl.com, or hanrahan@eisner.decus.org  Uucp: uunet!cmkrnl!jeh


  reply	other threads:[~1993-01-20 19:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-01-11 21:07 Need faster async board...dlv11-J? Something else? cts
1993-01-12  5:13 ` gezelter
1993-01-12  6:27 ` Terry Kennedy, Operations Mgr.
     [not found]   ` <1993Jan12.074046.1138@cmkrnl.com>
1993-01-13  6:59     ` Terry Kennedy, Operations Mgr.
1993-01-13 17:42       ` jeh
     [not found]         ` <565014@zl2tnm.gen.nz>
1993-01-16  7:26           ` Don Stokes
1993-01-16  9:47           ` jeh
1993-01-17 12:05             ` Don Stokes
1993-01-20 19:32               ` jeh [this message]
1993-01-21 10:58                 ` Don Stokes
1993-01-21 11:47                   ` Don Stokes
1993-01-22 23:18                   ` jeh
1993-01-23  6:08                     ` mark
     [not found]                     ` <14012022@zl2tnm.gen.nz>
1993-01-23 19:09                       ` jeh
1993-01-24  4:41                         ` Don Stokes
1993-01-24  4:55                         ` Terry Kennedy, Operations Mgr.
1993-01-25 17:19                         ` gezelter
1993-01-27 22:45                         ` bennett
1993-01-12 17:53 ` Jeff Watts
1993-01-19  7:23 ` Barton F. Bruce
  -- strict thread matches above, loose matches on Subject: below --
1993-01-12  4:15 Jerry C. Hudgins
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