home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doc_misc / modem.inf < prev    next >
Encoding:
Text File  |  1991-02-19  |  13.7 KB  |  297 lines

  1.  
  2.  
  3.                 High Speed Modem Info for PC users
  4.  
  5.  
  6. Written by Mike Benna, January 1991.
  7.  
  8. Because of the confusion people seem to have related to all the new
  9. advances in modem technology I thought it was about time that somebody
  10. compiled the relevant information into a single document.  I have now
  11. done so with this article in the hopes of clearing up many of the
  12. mysteries and misconceptions about modems which operate using MNP and
  13. V.42 style protocols.
  14.  
  15. Within this article, please note that some of the table values have been
  16. derived from actual testing whereas others have been calculated based on
  17. the theory behind the operation of all the protocols involved.  All
  18. table values assume clean (i.e. noise free) telephone connections and a
  19. computer which is fast enough to feed the modem all the data it wants
  20. and can accept all the data the modem gives to it.
  21.  
  22. First of all, a short glossary might be in order to clear up the most
  23. common terms:
  24.  
  25.   cps : Characters per second (usually used to measure the effective
  26.         throughput from the source computer, through the modems, and
  27.         into the receiving computer).  In the end, this is the only
  28.         number which you should really care about.
  29.  
  30.   bps : Bits per second (usually used to describe the raw data link
  31.         between two modems or between the modem and the computer). Note
  32.         that this is _not_ the baud rate.
  33.  
  34.  baud : The single most often misused word in telecommunications.  Most
  35.         people really mean "bits per second" when they use this term.
  36.         For example 2400bps modems only run at 600 baud and 9600bps V.32
  37.         modems only run at 2400 baud.  If you don't know what a baud is
  38.         then you should probably be using 'bits per second' instead.
  39.  
  40. Next, you can probably forget most of what any salesman has told you;
  41. most PC salesmen do not fully understand this stuff either.  Don't blame
  42. them however, they usually have the disadvantage of having read sales
  43. literature from the manufacturers which was designed to be misleading in
  44. the first place.  Your best bet is to read this article and then go to
  45. the store and test the hardware you think you want to purchase.
  46.  
  47.  
  48. Link Protocols
  49. --------------
  50.  
  51. In trying to explain how the various modems communicate I will start at
  52. the lowest layer you care about: the link protocol.  These protocols
  53. describe the standard methods which the modems use to talk to each
  54. other; they have nothing to do with error correction or data
  55. compression.  Note that there are many other protocols in use but it is
  56. unlikely that you will encounter them in day-to-day PC use.
  57.  
  58. The rates described in the link protocol descriptions are often called
  59. the 'link rates'; they are not necessarily the same as the rate between
  60. the modem and the computer.
  61.  
  62.   V.22bis: 2400bps (this applies to _most_ 2400bps modems).  Normal
  63.            V.22bis (i.e. without MNP or V.42) is capable of a maximum
  64.            sending rate of approx. 240cps in both directions at the same
  65.            time.
  66.  
  67.   V.32:    One of the 9600bps standards.  It is not compatible with the
  68.            HST protocol.  V.32 modems can send at full speed in both
  69.            directions at the same time.  Most V.32 modems come with MNP
  70.            and/or V.42.
  71.  
  72.   V.32bis: The upgraded V.32 standard which runs at 14400bps in both
  73.            directions at the same time.  In all other ways it is similar
  74.            to V.32.  V.32bis is newly emerging (I don't think the
  75.            standard has even been totally finalized yet).  When V.32bis
  76.            modems become available you can expect all of them to offer
  77.            V.32 compatibility.
  78.  
  79.   HST9600: The U.S. Robotics 'High Speed Transfer' protocol.  It offers
  80.            9600bps in one direction and 300bps in the opposite
  81.            direction.  It is only available from USR in their Courier
  82.            HST and Courier Dual Standard modems.  The USR Courier
  83.            HST9600 modems are no longer for sale from USR (they only
  84.            sell the 14400 models).
  85.  
  86.   HST14400: The upgraded HST9600 standard which runs at 14400bps in one
  87.            direction and 450bps in the other.  Again, it is only
  88.            available from USR in their Courier HST and Courier Dual
  89.            Standard modems.  These modems are still compatible with
  90.            HST9600 modems but not with any others in HST mode.
  91.  
  92. note: None of the above standards are compatible with FAX machines.
  93.  
  94.  
  95. Error Correction
  96. ----------------
  97.  
  98. Once two of these modems get talking to one another they may try to
  99. establish an error free connection using either MNP4 or V.42 (V.42 is
  100. also known as LAP-M for Link Access Protocol for Modems).  There are
  101. other protocols as well but these two are by far the most common.  Both
  102. of these protocols perform an asynchronous to synchronous conversion
  103. which allows them to avoid sending start and stop bits.  In general this
  104. increases throughput for all data (even compressed files) by about 20%
  105. (25% increase due to not sending the start/stop bits and approximately
  106. 5% decrease due to error correction and sync data).  There is only a
  107. slight difference in throughput between these two protocols with MNP4
  108. coming out just barely ahead of V.42.  It should also be noted that
  109. these two protocols are not compatible with each other and therefore
  110. many of the newer modems on the market support both standards.
  111.  
  112. By getting two MNP4 or V.42 modems talking together you can expect to
  113. get throughputs such as these:
  114.  
  115.         Link Rate   Without MNP4/V.42    MNP4     V.42
  116.         ---------   -----------------   -------   -------
  117.          2400bps          240cps         287cps    285cps
  118.          9600bps          960cps        1138cps   1124cps
  119.         14400bps         1440cps        1707cps   1686cps
  120.  
  121.  
  122.  
  123. Data Compression
  124. ----------------
  125.  
  126. The next layer of standards which can be added is data compression.
  127. The two common data compression protocols are MNP5 and V.42bis (not to
  128. be confused with V.42 which is an error correction protocol).
  129.  
  130. Data compression works similarly to programs like PKZIP except that they
  131. compress 'on-the-fly' as you send the data to the modem.  In general, if
  132. you are sending files which are already compressed with a program such
  133. as PKZIP then there is no advantage to turning on data compression in
  134. your modems.  In fact, if you are using MNP5 then you should disable
  135. data compression (go back to MNP4) before sending compressed files
  136. because it will actually take longer to send with MNP5 than it will with
  137. MNP4. V.42bis on the other hand is smart enough to realize that it can't
  138. compress the data any further and it turns itself off until it decides
  139. that it will be useful again.
  140.  
  141. Data compression has its biggest advantage when you are reading text
  142. which may repeat itself frequently (e.g. ANSI codes and menu boxes have
  143. a lot of redundancy and consequently they compress very well).  Because
  144. different types of data have different amount of redundancy, I've broken
  145. the throughput table into several types of data:
  146.  
  147. A) Compressed data (e.g. .ZIP, .ARC, .SIT, etc. files).
  148. B) Regular text (e.g. this article).
  149. C) Typical BBS Menus.
  150.  
  151. Typical throughput table for MNP5 and V.42bis (in cps):
  152.  
  153.                Protocol:     MNP5      |     V.42bis
  154.    Link Rate  Data Type:  A    B    C  |   A    B    C
  155.    ---------            ---- ---- ---- | ---- ---- ----
  156.      2400bps             254  489  609 |  285  768  928
  157.      9600bps            1013 1956 2440 | 1124 3072 3718
  158.     14400bps            1520 2934 3658 | 1686 4608 5574
  159.  
  160.  
  161. As you can see V.42bis does a better job than MNP5 for all types of
  162. data and has the advantage that you can always leave it on (even if you
  163. are going to be doing file transfers of compressed data).
  164.  
  165.  
  166. Software MNP5
  167. -------------
  168.  
  169. Some 2400bps modems for sale today offer MNP5 compatibility in software,
  170. not in hardware (read the box carefully).  If the modem manufacturer is
  171. offering software MNP5, he is really selling you a regular 2400bps modem
  172. (without any MNP capability) and including a terminal program for your
  173. PC which allows any modem to perform some of the functions of the MNP
  174. protocols.  In fact, if you were to buy any old 2400bps modem you could
  175. then go out and purchase a terminal program which had software MNP
  176. support.
  177.  
  178. Confused?  I'll try to clear this up further...
  179.  
  180. The MNP protocol cannot be implemented fully from the computer side of
  181. things.  In order to run at full speed it must be able to do the
  182. asynchronous to synchronous conversion and this cannot be done from the
  183. computer, it must be done inside the modem.  At 2400bps these are some
  184. of the typical throughput speeds you might expect to encounter for
  185. software MNP5:
  186.  
  187.                     No MNP    Hardware MNP5    Software MNP5
  188.                     -------   -------------    -------------
  189. Compressed data     240 cps      254 cps          193 cps
  190. Regular text        240 cps      489 cps          371 cps
  191. Typical BBS Menus   240 cps      609 cps          487 cps
  192.  
  193. As you can see from the table, software MNP5 is not nearly as efficient
  194. as hardware MNP5 and it also means that you cannot choose your terminal
  195. program - you must use the one which supplies the software MNP5 support.
  196.  
  197. Since software MNP4 does not benefit from the async to sync conversion
  198. it will offer you an error free line but it will only run at about 228
  199. cps (instead of the regular 240 cps you will get with no MNP support).
  200.  
  201.  
  202. Not Getting the Throughputs I claim?
  203. ------------------------------------
  204.  
  205. The throughput numbers I've provided in this document are the raw total
  206. throughput numbers.  Please note that this is not the same as what you
  207. would measure using a typical file transfer protocol.  For example,
  208. Zmodem normally gets about 234cps on a 240cps link, or to put it another
  209. way, Zmodem runs at 97.5% efficiency.  Therefore to calculate your
  210. expected throughput using Zmodem you simply need to multiple the numbers
  211. I've provided by 0.975.  Of course in this complicated world of
  212. communications no single number is enough:  Zmodem with the Moby-Turbo
  213. option usually offers about 99.2% efficiency (238cps on a 240cps link).
  214. Also note that non-streaming protocols (such as Xmodem and Ymodem) do
  215. not fair as well as streaming protocols (such as SEAlink, Ymodem-G, and
  216. Zmodem) on higher speed links because propogation delays and response
  217. times do not necessarily decrease when the link rate increases.
  218.  
  219.  
  220. Which to buy: an HST or V.32?
  221. -----------------------------
  222.  
  223. Many people in the PC world who want to upgrade to a modem which goes
  224. faster than 2400bps are faced with the question of which standard to go
  225. with.  As of this writing (Dec '90) the only two standards which are
  226. popular in the PC world are the USR HST standard and the V.32 (and soon
  227. to come V.32bis) standard.
  228.  
  229. In this section I won't tell you which to buy but I will give you some
  230. information which may help you to make your choice:
  231.  
  232. - Only USR is currently building HST modems.  If you wish to get an HST
  233.   modem it must come from USR.  The advantage of this is that you aren't
  234.   likely to run into compatibility problems when using the HST standard.
  235.   The disadvantage is the price: USR modems aren't cheap (but they are
  236.   of good quality).
  237.  
  238. - Many other manufacturers are supporting the V.32 standard. Competition
  239.   seems to be driving the price of V.32 modems below that of the HST
  240.   modems (this was not always the case).  In the future we can expect a
  241.   big difference between the two standards; V.32 modems will likely be
  242.   much cheaper in the long run than HST modems (even though V.32 modems
  243.   are more complicated to build).
  244.  
  245. - USR makes a modem called the 'Courier Dual Standard' which supports
  246.   both HST and V.32 protocols in the same modem.  It's disadvantage is
  247.   cost.
  248.  
  249. - Most public BBS's which support speeds higher than 2400bps only
  250.   support the HST standard.  This is because USR used to offer Courier
  251.   HST modems to BBS operators at a reduced cost.
  252.  
  253. - HST modems are only high speed in one direction at a time.  This
  254.   causes severe speed degradation problems during some kinds of file
  255.   transfers.  In all cases it is best to try before you buy.
  256.  
  257. - One very popular type of modem in the Unix world is the Telebit.  The
  258.   older Telebit modems are not compatible with either HST or V.32 modems
  259.   but many of the newer ones (if not all) have V.32 support added to
  260.   them (in addition to their native modes).  This is further evidence
  261.   that V.32 has more long term potential than HST.
  262.  
  263. - Compuserve recently purchased a bunch of rack-mount USR Dual Standard
  264.   modems but is unwilling to enable the HST mode on them because once
  265.   they start supporting HST mode they feel they must continue to do so
  266.   for years into the future and they do not want to be locked into
  267.   purchasing more modems from only one supplier.  It seems they also
  268.   feel V.32 is going to be the high speed modem choice of the future.
  269.   (They apparently purchased Dual Standard modems because they are the
  270.   only rack mount V.32 modems currently available.)
  271.  
  272. My feelings are that V.32 modems are technically superior to HST modems
  273. in many ways and are likely to become common in the next few years. The
  274. problem with this is that very few public BBS's support V.32 making a
  275. V.32 modem almost useless at anything over 2400bps if the only places
  276. you call are BBS's (you should check your favorite BBS yourself).
  277.  
  278.  
  279. Disclaimer
  280. ----------
  281.  
  282. The information provided in this document is for the convenience of the
  283. BBS and uunet community.  It may be freely distributed but may not be
  284. modified.  There are no warranties as to the accuracy of anything which
  285. has been written here.  In all cases if you are buying any computer
  286. equipment (including modems) it is best to test the setup you wish to
  287. purchase before purchasing anything.  Remember: if it won't work in the
  288. store then why would you expect it to work at home?
  289.  
  290. This document is Copyright (C) 1991 Mike Benna.
  291. --
  292.    ---> Mike Benna, Vancouver, B.C., Canada
  293.         MindSpan Technologies Corp - Video Game Design and Development
  294.   UUCP: Mike_Benna@mindlink.UUCP  or  uunet!van-bc!rsoft!mindlink!Mike_Benna
  295.  
  296.  
  297.