From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7cd1,d0568a17c6dd13c6 X-Google-Attributes: gidf7cd1,public X-Google-Thread: f73f6,d0568a17c6dd13c6 X-Google-Attributes: gidf73f6,public X-Google-Thread: f6134,d0568a17c6dd13c6 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,d0568a17c6dd13c6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-01-20 13:36:38 PST Xref: sparky vmsnet.misc:1160 vmsnet.internals:1778 comp.sys.dec:7011 comp.org.decus:1133 Path: sparky!uunet!usc!sdd.hp.com!crash!cmkrnl!jeh From: jeh@cmkrnl.com Newsgroups: vmsnet.misc,vmsnet.internals,comp.sys.dec,comp.org.decus Subject: Re: Need faster async board...dlv11-J? Something else? Message-ID: <1993Jan20.113259.1238@cmkrnl.com> Date: 20 Jan 93 11:32:59 PST References: <1993Jan16.014739.1195@cmkrnl.com> <152016@zl2tnm.gen.nz> Distribution: world Organization: Kernel Mode Systems, San Diego, CA 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