home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / vmsnet / misc / 1161 next >
Encoding:
Internet Message Format  |  1993-01-21  |  6.6 KB

  1. Xref: sparky vmsnet.misc:1161 vmsnet.internals:1779 comp.sys.dec:7032 comp.org.decus:1134
  2. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!zl2tnm!toyunix!don
  3. Newsgroups: vmsnet.misc,vmsnet.internals,comp.sys.dec,comp.org.decus
  4. Subject: Re: Need faster async board...dlv11-J?  Something else?
  5. Message-ID: <9828020@zl2tnm.gen.nz>
  6. From: don@zl2tnm.gen.nz (Don Stokes)
  7. Date: 21 Jan 93 10:58:44 GMT
  8. Sender: news@zl2tnm.gen.nz (GNEWS Version 2.0 news poster.)
  9. References: <1993Jan20.113259.1238@cmkrnl.com>
  10. Distribution: world
  11. Organization: The Wolery
  12. Lines: 123
  13.  
  14. jeh@cmkrnl.com writes:
  15. > In article <152016@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
  16. > > jeh@cmkrnl.com writes:
  17. > >> In article <565014@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
  18. > >> > Anyway, I might have a go at fiddling the driver to support 38400 (if I
  19. > >> > can find a terminal that will go that fast!) and see how things get on.
  20. > > 
  21. > >> I really don't see the point.  Even if you do this the actual throughput for
  22. > >> writes won't exceed 19.2kbps.  This is (according to the manual) a limitation
  23. > >> of the on-board DMA logic, so nothing you do to the UART chips will get around
  24. > >> this.  You certainly can't test read throughput to 38,400 bps unless you are
  25. > >> planning to type VERY damn fast.  
  26. > > 
  27. > > Don't knock it.  I'm having fun.  8-)
  28. > Ah, now I understand!  :-)
  29.  
  30. Actually, we wound Clive's SLIP connection up to 38400 today (with YFDRIVER
  31. hacked to do 38400, although we haven't bothered with the RTS stuff).
  32. It _did_ make a noticable difference.  The CMU SLIP driver doesn't seem to
  33. like operating full-duplex -- if at 19200, I chuck 800 byte packets at it to 
  34. return, it can keep up.  900 bytes and it loses very quickly.  At 38400, the
  35. wall is more than 1200 bytes, which is about what I expect, given that output
  36. from the DHV11 is still effectively at 19200.  Remember, we are talking
  37. about a MicroVAX II here (attached via a Cisco 516-CS terminal server).
  38.  
  39. > (These modern chip technologies have their drawbacks.  In the good old days I
  40. > worked on an HP machine that used a separate 7x8" card for *each* serial
  41. > port... [instruction set looked a lot like alpha's, too!] and when we wanted it
  42. > to go faster than HP provided for, why we just added a wire to pick off the
  43. > baud clock a few stages earlier in the divider chain.  I just bought a
  44. > two-serial-port card for a PC... it has *one* chip on it.  Now, I ask you, how
  45. > much fun can that be?  :-) 
  46.  
  47. Hey, you just have to make your own fun!  Those ports will go at 110kbps or 
  48. so, but the broken DOS support won't drive them that fast.  Ya gotta get to
  49. the bare metal to drive the thing properly.
  50.  
  51. In these parts, V23 modems operating at 1200bps receive and 75bps transmit
  52. were popular for a long time (I still have a couple batting around here; one 
  53. built around an AM7910 "world chip" and another built mostly from discrete 
  54. components).  To drive those modems from a PC, you set the 8250 to receive
  55. at 1200 bps, and bit banged 75 bps with the break line.....
  56.  
  57. The odd one of these modems still appears from the woodwork from time to
  58. time.
  59.  
  60. > > Funny, that.  DHV11 Techical Manual, p/n EK-DHV11-TM-001.  (c) 1983.
  61. > It's worth noting that this formula for order number applies to LOTS of DEC
  62. > hardware tech manuals.  Whether or not the manual is actually orderable and
  63. > contains useful information is, of course, another question.  (The later the
  64. > printing date, the more "content-free" the manual, it seems.)
  65.  
  66. This almost seems like an opportune time to restart the olde thread about 
  67. the DEC handbooks.  Maybe not tonight.  8-)
  68.  
  69. > > Quick warning to neophytes: Hacks described below [for adding RTS flow
  70. > > control] have not been tested. 
  71. > > They're not even complete.  It's your foot and your gun.
  72. > Good stuff!  I've been mumbling about doing something along these lines... 
  73. > I'm going to see if I can complete it and put a nice wrapper around it. 
  74.  
  75. OK, but note that I got the TT$M_MODEM!TT$M_HOSTSYNC test wrong.  (It'll take
  76. the modified path if _either_ bit is set, not both.  Originally, I just coded
  77. to look at TT$M_MODEM, until I realised that it would only call PORT_XOFF to
  78. output a BEL if HOSTSYNC wasn't set, dropping DTR until the port was 
  79. re-initialised, which wasn't quite what I had in mind....)
  80.  
  81. BTW: WATCH and friends have good examples of tweaking the terminal class
  82. driver/port driver interface vectors. 
  83.  
  84. > It's a shame that similar things can't be done to add RTR/CTS flow control to
  85. > LAT ports.  (Like the DHV it already honors CTS, even when it is set to "no
  86. > flow control" or "xon/xoff flow control", but pin 4 just stays true all the
  87. > time.)  Unfortunately the LAT terminal port driver apparently has no way
  88. > to request modem control signal state changes.  
  89.  
  90. Uh...
  91.  
  92. | Local> help set port flow control
  93. | DEFINE/SET PORT FLOW CONTROL
  94. | FLOW CONTROL specifies the characters or signals that control
  95. | data flow at your port.
  96. | FLOW [CONTROL] {CTS     }
  97. |                {DISABLED}
  98. |                {DSR     }
  99. |                {XON     }
  100. | CTS means that CTS/RTS modem signals implement flow control.
  101. | [etc]
  102.  
  103. (This is DECserver 200 V3.1)
  104.  
  105. LAT has some pretty horrible latencies.  There are (or were) ways you could
  106. fool a terminal server & the VMS driver so that the XON/XOFF flow control
  107. gets done on the host instead of on the server.  It's _not_ pretty.  Even
  108. if the LAT protocol allowed for the driver to do hardware flow control, it'd
  109. be about as much use as an ashtray on a motorcycle.  To be effective, flow
  110. control (whatever type) has to be done by the server.
  111.  
  112. > Unfortunately with uucp we can't wait a second to read a packet.  Or even 
  113. > three packets.  If we're dealing with a Telebit spoofed connection we have
  114. > to send at least one ACK every 210 bytes.  At 38.4k that's about 55 milli-
  115. > seconds!  
  116.  
  117. The next best thing is going to be to keep a bunch of smaller QIOs queued.
  118. Fortunately, uucp is built around the broken unix I/O model, which is
  119. extremely simpleminded about timeouts.  The nature of the animal is that a
  120. timeout is an exception condition; the sending channel streams most of the
  121. time so small QIOs will be completed by the following packet as long as the
  122. QIOs aren't too big.  QIOs sized at less than the expected packet size will
  123. ensure that the packet makes it to the driver while the next packet is read.
  124. Smaller QIOs will get the packets delivered in a more timely fashion, at
  125. the expense of the overhead of queueing and delivering the things.
  126.  
  127.  
  128. --
  129. Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  130. Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  131. Victoria University of Wellington, New Zealand              +64-4-495-5052
  132.