home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / dcom / modems / 18601 < prev    next >
Encoding:
Text File  |  1992-12-29  |  3.2 KB  |  79 lines

  1. Newsgroups: comp.dcom.modems
  2. From: fred@genesis.demon.co.uk (Lawrence Kirby)
  3. Path: sparky!uunet!pipex!demon!genesis.demon.co.uk!fred
  4. Subject: Differences between modems... 
  5. Distribution: world
  6. References: <724804210.AA00684@cswamp.apana.org.au>
  7. Organization: BT
  8. Lines: 66
  9. Date: Tue, 29 Dec 1992 00:02:51 +0000
  10. Message-ID: <725587371snx@genesis.demon.co.uk>
  11. Sender: usenet@demon.co.uk
  12.  
  13.  
  14. In article <724804210.AA00684@cswamp.apana.org.au> Arthur@cswamp.apana.org.au writes:
  15.  
  16. >
  17. >On Mon 14 Dec at 15:59 Lawrence Kirby wrote in article
  18. ><724348796snx@genesis.demon.co.uk>:
  19. >
  20. > LK> In article <723940209.AA00624@cswamp.apana.org.au> 
  21. > LK> Arthur@cswamp.apana.org.au writes:
  22. >
  23. >[re V.42bis]
  24. >
  25. > LK> Does it specify when the transmitter should/should not send
  26. >
  27. > LK> data compressed?
  28. >
  29. >This matter came up in an Australasian Fidonet sysop conference,
  30. >and I'm adapting what I wrote there:
  31. >
  32. >CCITT Recommendation V.42bis does suggest how to calculate
  33. >compression efficiency (section II.3, quoted in my previous
  34. >message), but does state "The data compresssion function shall
  35. >periodically apply a test to determine the compressibility of the
  36. >data. The nature of the test is not specified in this
  37. >Recommendation; however it would considst of a comparison of the
  38. >number of bits required to represent a segment of the data stream
  39. >before and after compression." 
  40. >
  41. >The Recommendation goes on to state "If the data compression
  42. >function is in the transparent mode and determines that data
  43. >compression would be effective it shall ... enter compressed
  44. >mode" and  "If the data compression function is in the compressed
  45. >mode and determines that the data stream is currently not
  46. >compressible, it shall ... change the state to transparent mode"
  47. >(section 7.8).
  48. >
  49. >On a related area of V.42bis performance, the method of
  50. >determining whether the BTLZ dictionary needs to be reset is not
  51. >defined in CCITT Recommendation V.42bis either, but would
  52. >probably be useful when more than half the entries are stale i.e.
  53. >haven't been encountered recently in the data stream.
  54. >
  55. >None of this suggests that it should be particularly difficult to
  56. >achieve no loss of throughput with non-compressible data while
  57. >V.42bis data compression is enabled. I'd be interested in hearing
  58. >why some modems haven't achieved this.
  59. >
  60.  
  61. Well here's my guess! If a modem is going to pass data through as fast as
  62. possible it will have to start transmitting a block before it can determine
  63. whether that block is compressible or not. Therefore it must guess whether the
  64. block is compressible from previous data it has transmitted. This is fine
  65. unless the data varies rapidly between compressible and incompressible (e.g.
  66. a multiplexed line such as SLIP). It's quite easy to envisage a senario like
  67. this where the modem ends up compressing incompressible blocks and not
  68. compressing compressible blocks.
  69.  
  70. Of course there's also the processing overhead of the compression which may
  71. be too much for some modems. Modems need to go through the compression process
  72. even when they aren't sending data compressed since they still need to
  73. determine whether the data is compressible or not.
  74.  
  75. -----------------------------------------
  76. Lawrence Kirby | fred@genesis.demon.co.uk
  77. Wilts, England | 70734.126@compuserve.com
  78. -----------------------------------------
  79.