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

  1. Xref: sparky comp.dcom.modems:11266 can.uucp:180
  2. Path: sparky!uunet!wupost!cs.utexas.edu!torn!cunews!revcan!ecicrl!eci386!woods
  3. From: woods@eci386.uucp (Greg A. Woods)
  4. Newsgroups: comp.dcom.modems,can.uucp
  5. Subject: Re: UUCP 'g' vs. MNP & V.42
  6. Message-ID: <1992Jul27.190940.3268@eci386.uucp>
  7. Date: 27 Jul 92 19:09:40 GMT
  8. References: <1992Jul20.052318.29102@zooid.guild.org> <1992Jul23.180658.20724@eci386.uucp> <1992Jul24.034646.26340@chance.gts.org>
  9. Organization: Elegant Communications Inc.
  10. Lines: 86
  11.  
  12. In article <1992Jul24.034646.26340@chance.gts.org> john@chance.gts.org (John R MacMillan) writes:
  13. > [Greg A. Woods wrote:]
  14. > |Anybody running MNP at any level with UUCP 'g' should have their modem
  15. > |and UUCP configurations examined!  :-)
  16. > I don't know, I use MNP-5 (and hence 4) on two of my mostly-mail (ie.
  17. > uncompressed) connections and I see much improved throughput.  Even on
  18. > much of the compressed stuff there is some improvement, though there
  19. > is sometimes also degradation.
  20.  
  21. As I said, it depends upon the compressibility of the data, the
  22. configuration of the UUCP 'g' parameters, the exact nature of any line
  23. errors, and the ability of the modem to spoof UUCP 'g'.
  24.  
  25. > |MNP-4 is link-layer protocol that retries erroneous packets.  UUCP 'g'
  26. > |is a link-layer protocol that retries erroneous packets.  Guess what
  27. > |-- the don't get along very well!
  28. > Why not?  The 'g' protocol would just never (or very rarely; only in
  29. > modem-to-computer failures) see failures.  In my case, where the 'g'
  30. > protocol isn't spoofed at the modem, and has to go all the way to the
  31. > computer, that's a win.
  32.  
  33. Ah, but, as Sean Doran noted in private e-mail to me, "MNP-4 is a
  34. half-duplex protocol."  The timing issues involved can cause
  35. significant degradation to UUCP 'g' throughput due to uucico timeouts
  36. when waiting for ACK's with small window sizes.  Because of this it is
  37. often far more efficient to allow UUCP 'g' to do its own error
  38. correction.  Mind you, on a somewhat noisy line, MNP-4 may be be able
  39. to keep uucico from timing out where it normally would, and thus show
  40. increased throughput *given_the_same_line_conditions*.  This
  41. possibility is dependent upon the current window size the uucico's are
  42. using, and on the characteristics of the errors.
  43.  
  44. Again, with modem-to-host spoofing, MNP-4 is a definite win because of
  45. the synchronous transmission and guarantee of eliminating uucico
  46. timeouts; and without, you're better off dropping the MNP, as the
  47. timing clash may result in as much as a 20% reduction in throughput.
  48.  
  49. [The latter is a measured average, not theoretical, from regular MNP-4
  50. connections over V.22bis (i.e. 2400bps).]
  51.  
  52. So, in general, unless you have specific requirements, it is best to
  53. disable MNP completely when dialing out with UUCP.
  54.  
  55. > |...  [V.42bis, MNP-5, and LZ are all variants of the Lempel-Ziv
  56. > |compression algorithm, though most implementations of MNP-5 *reduce*
  57. > |throughput with pre-compressed data, and each have varying degrees of
  58. > |efficiency and ratios of compression.]
  59. > It's my understanding that all MNP-5 implementations will sometimes
  60. > reduce throughput of some pre-compressed data because the compression
  61. > is always done; it's not dependent on the implementation, but on the
  62. > data.
  63.  
  64. Well, sort of.  The MNP-5 variation of Lempel-Ziv will often result in
  65. inverse ratios of compression.  I've seen throughput for files
  66. (compressed news) drop to below 5% of normal throughput when
  67. transmitted using MNP-5 and V.32 on some modems.
  68.  
  69. However, when one of my downstream news sites tried picking up
  70. compressed news batches with MNP-5, and gave up quickly -- we saw UUCP
  71. throughput drop to ~40 cps (i.e. ~18% of normal (Telebit T-1000 to
  72. some clone) (i.e. the T-1000 implementation of MNP-5 is either a bit
  73. smarter than the Hayes one, or the timing clash with this particular
  74. site was far less of a problem (maybe due to V.22bis vs. V.32, or due
  75. to better quality lines, or due to a larger window size being
  76. possible).
  77.  
  78. > This is unlike V.42bis, where if the compressed block is larger
  79. > than the original, the uncompressed block is sent.
  80.  
  81. Exactly, which is why V.42bis is safe with compressed data.  Not to
  82. mention that is offers 4:1 compression when possible (vs. 2:1 with
  83. MNP-5).
  84.  
  85. However, as Bruce Becker says, allowing compression on a Telebit
  86. WorldBlazer or T-3000 may not be worthwhile if you transfer mostly
  87. compressed data, because MNP cannot be completely disabled, and as a
  88. result may end up being negotiated; and because the T-2500 cannot
  89. spoof when doing V.42bis.
  90. -- 
  91.                         Greg A. Woods
  92. woods@Elegant.COM, woods@robohack.UUCP  VE3TCP    ECI & UniForum Canada
  93. +1-416-443-1734 [h]  +1-416-595-5425 [w]    Toronto, Ontario; CANADA
  94. Political speech and writing are largely the defense of the indefensible-ORWELL
  95.