home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 11198 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  4.2 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!newsserver.pixel.kodak.com!laidbak!tellab5!vpnet!serveme!n5ial!jim
  2. From: jim@n5ial.chi.il.us (Jim Graham)
  3. Newsgroups: comp.dcom.modems
  4. Subject: What to set COMM speed for V32bis Modems
  5. Distribution: world
  6. Message-ID: <712028698snx@n5ial.chi.il.us>
  7. References: <BrtBxD.Ks1@animal.gcs.co.nz>
  8. Date: Sat, 25 Jul 92 01:44:58 GMT
  9. Organization: Me? Organized? Hah! :-)
  10. Lines: 67
  11.  
  12. In article <BrtBxD.Ks1@animal.gcs.co.nz> lchiu@animal.gcs.co.nz writes:
  13.  
  14. > This is probably a simple question but here goes...
  15.  
  16. yep, a simple question.  and one that, outside of comp.dcom.modems
  17. regulars, most people don't seem to know about.
  18.  
  19. > If you have a v32bis modem and you wish to dial another one, what do you
  20. > set your comms speed to? Using Procomm+ I could not find a setting for
  21. > 14.4 but 9600 19.2. In fact the modem responded to AT command at 19.2
  22. > even though I have never been able to connect at any speed yet.
  23.  
  24. well, if you set it at 9600, your modem won't connect at 14.4, period.
  25. that's the first thing to keep in mind.  :-)
  26.  
  27. but, here's something else to consider --- let's say you set your port
  28. speed at EXACTLY 14.4 kb (just pretend for a minute that your software
  29. allows this), and you're using either MNP4 or V.42 error control.
  30.  
  31. now, between your modem and the computer, on the async serial link, you
  32. are actually using 10 bits per character (8 data bits, plus 1 start bit
  33. and 1 stop bit).  so, the absolute maximum data rate you could get (in
  34. characters/second, which is what you're really concerned with) will be
  35.  
  36.     14,400 bits/second
  37.     ------------------  == 1440 characters/second (cps)
  38.     10 bits/character
  39.  
  40. thing is, if you're using either MNP4 or V.42 error control, the
  41. start/stop bits are stripped off, so between the modems, you're only
  42. using 8 bits/character.  guess what...that amounts to 1800 cps between
  43. the modems (before error control overhead, which brings it down to
  44. around 1700 to 1750 cps). see a problem here? your serial link is now
  45. the bottleneck.  not good!
  46.  
  47. on the other hand, let's say you set your port speed at 19,200 bps.
  48. now, on your serial link, you are capable of 1920 cps, and the link
  49. between the modems is once again the bottleneck.
  50.  
  51. now, assuming you're using V.42bis data compression (don't use MNP5...)
  52. between the modems.  if so, for *SOME DATA*, mostly for text, you can
  53. see anywhere between 2:1 to 2.5:1 on average, sometimes even 3:1 (and
  54. in extreme cases, which I've yet to really see, even 4:1).
  55.  
  56. oops, now your serial port is the bottleneck again.....  if you're using
  57. V.32bis, V.42, and V.42bis, I wouldn't suggest setting the port speed
  58. anywhere below 38.4 kb, assuming your computer, serial port, and
  59. software can handle 38.4 (see the ongoing thread regarding the 16550
  60. UART for more details there).  of course, this has to be the case on
  61. BOTH ends....the weakest link in the chain will still drag everything
  62. else down with it.
  63.  
  64. as has been mentioned in another, related thread, you *MUST* use flow
  65. control between the modem and computer.  you really want to use
  66. bi-directional hardware flow control (if anything, usually referred to
  67. in modem documentation as RTS/CTS flow...but this term is also used in
  68. some modem docs for something else).  the key thing you want to see
  69. in the docs is an indicator that CTS being high indicates that the
  70. modem is ready to receive data from the computer, and RTS being high
  71. indicates that the computer is ready to receive data from the modem,
  72. and that these are independent of each other.
  73.  
  74. a long answer to a short question, I know, but hopefully it provides
  75. some information that will help you better understand what's behind
  76. wanting to set the port speed higher.  feel free to e-mail me for more
  77. info, clarifications, etc.
  78.    --jim
  79.  
  80. --
  81. Standard disclaimer....Ever since my cat learned to type, there's no telling
  82. whose thoughts these really are....         73 DE N5IAL (/9)
  83. ------------------------------------------------------------------------------
  84. INTERNET:  jim@n5ial.chi.il.us  |  grahj@gagme.chi.il.us  |  j.graham@ieee.org
  85. UUCP:  gagme!n5ial!jim@clout.chi.il.us
  86. AMATEUR RADIO: n5ial@n9hsi (Chicago.IL.US.Earth)
  87. ------------------------------------------------------------------------------
  88.  
  89.