home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19049 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  8.3 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: jim@ncd.com (Jim Fulton)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: What is Xremote? [and notice about LBX]
  5. Message-ID: <1993Jan2.054127.3400@sm.sony.co.jp>
  6. Date: 2 Jan 93 05:41:27 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Network Computing Devices, Mountain View, CA
  10. Lines: 175
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Message-Id: <9301020207.AA03293@verbosa.ncd.com>
  14. Date: Fri, 01 Jan 93 18:07:20 PST
  15.  
  16.  
  17. I've also attached a copy of the Frequently Asked Questions (FAQ) posting that
  18. goes out to comp.windows.x every month.  There is also more technical
  19. information on XRemote available via anonymous ftp on export.lcs.mit.edu. 
  20.  
  21. For people who are interested in LBX (Low Bandwidth X, the X Consortium's
  22. standard for R6 that is being evolved from XRemote), there will be a paper at
  23. the X Conference in Boston (the proceedings of which will be published by The X
  24. Resource).  PostScript for the paper will also be placed on export.lcs.mit.edu
  25. at that time.
  26.  
  27.  
  28.     >I saw someone post something about a program called 
  29.     >Xremote?  It sounds interesting, what is it?  Could it
  30.     >be a way to dial into my machine at work and set my 
  31.     >display to my 486 at home?!  Wow! That would be 
  32.     >great!  Thanks...  :)
  33.  
  34. Yup, that's the idea.
  35.  
  36.  
  37.     its a product NCD developed i believe - send a note to
  38.     info@ncd.com and they'll tell you about it i imagine
  39.  
  40. Both for X terminals and PCs.
  41.  
  42.  
  43.     VisionWare produces XVision  the first and still market-leading
  44.     Windows-based PC X server. XVision was the first PC X server to support
  45.     XRemote - the compressed protocol which allows users to connect to 
  46.     remote hosts over an RS232 line and through a modem.
  47.     XVision also supports auto dial-up modems.
  48.  
  49.     For more information and pricing details you may care to contact our
  50.     US office on 1-800-949-8474 or email nic@visionware.co.uk .
  51.  
  52. Yup.
  53.  
  54.  
  55.     -  You need then some networking protocol on your serial line.
  56.        SLIP (Serial Line IP) is the most commonly known solution,
  57.        PPP is another possibility.
  58.  
  59. You only need SLIP or PPP if you intend to run X over them (or want them for
  60. some other reason.  Most of the common X-over-serial-line products don't
  61. currently require SLIP or PPP since they still are not ubiquitously bundled
  62. with host platforms (sigh; fortunately this is slowly changing). 
  63.  
  64.  
  65.     -  NCD has developed a special protocol for dealing with the
  66.        X protocol on serial lines. It includes compression techniques,
  67.        I believe. Of course, NCD has included this software in their
  68.        X-terminal-software, and for the X-client-side (e.g. UNIX-server)
  69.        you can buy the software.  I think NCD has contributed Xremote to the X
  70.        consortium, and it might be included in X11R6. Maybe someone else 
  71.        can comment on this.
  72.  
  73. NCD has donated the XRemote protocol and is co-chairing the effort to define a
  74. standard that is using it as a stepping stone.  I recommend that anyone who
  75. is interested in the topic get the proceedings of the conference or ftp the
  76. paper afterwards.
  77.  
  78.  
  79.     -  I don't know how SLIP/PPP and modems with good compression techniques
  80.        (V.42bis) relate to Xremote w.r.t. performance. Any comments?
  81.  
  82. The problem with such "raw X" approaches is that they do nothing to remove the
  83. redundancies in the X protocol.  This means that you have to send every little
  84. bit of data over the line each time, even if it is essentially equivalent to
  85. something that just was sent (which is esp. common when typing text, for
  86. example). 
  87.  
  88. Also, in some environments, you actually get better performance by letting
  89. the host and display handle the compression and decompression.  This happens
  90. for two reasons:
  91.  
  92.     o    Serial interfaces are typically not very efficient, so reducing the
  93.     number bytes that you have to dribble across them can be a big win.
  94.  
  95.     o    Modem compression introduces delay (frequently called "latency")
  96.     since the modem has to wait around for enough data to arrive before
  97.     it can start compressing.  If the data is already compressed, then
  98.     the modem can start transmitting immediately rather than sitting
  99.     around twiddling its electronic thumbs.
  100.  
  101. Similarly, you can often get better performance by also turning off modem error
  102. detection.  Since you have to do this at the higher levels anyway (otherwise
  103. any noise or errors that happen between the modem and the operating system
  104. [e.g. "zs0: silo overflow"] will leave you dead in the water), it's not worth
  105. the added delay to have the modem do it as well. 
  106.  
  107. Another hint is to make sure that you get a product that provides a window
  108. manager running inside the display.  Otherwise, changing focus between
  109. windows can be annoying.  Fortunately, I think most real products provide
  110. this these days.
  111.  
  112. Below is the comp.windows.x FAQ entry on X over serial lines.
  113.  
  114.                             Jim
  115.  
  116.                                 *  *  *  *  *
  117.  
  118.  
  119.  
  120. >    I've seen a reference to XREMOTE, PPP and SLIP in this month's 
  121. >    Workstation News.  Where can I get more information on these topics?
  122.  
  123. Here's a quick summary:
  124.  
  125. SLIP - Serial Line IP; this is both a mechanism and a protocol for sending IP
  126. packets over point-to-point serial links.  It has been around for several
  127. years, and implementations are available for many of the major TCP/IP
  128. implementations.  Most X Terminal vendors supply this as a checkoff item,
  129. although nobody really ever uses it since it is horribly slow.  The TCP/IP
  130. headers add 40 bytes per packet and the TCP/IP encoding of the X protocol is
  131. rather verbose (rightfully so; it is optimized for packing and unpacking over
  132. high-speed links). 
  133.  
  134. CSLIP - Compressed header SLIP; this is a variant of SLIP that compresses
  135. the 40 bytes of TCP/IP headers down to about 5 or 6 bytes.  It still doesn't
  136. do anything about reencoding the X protocol.  Modems that do compression
  137. can help, but they increase packet latency (it takes time to dribble the
  138. uncompressed data through typical serial interfaces, plus the compression
  139. assembly time).
  140.  
  141. PPP - Point-to-Point Protocol; this is an emerging standard for point-to-point
  142. links over serial lines that has a more complete set of option negotiation than
  143. SLIP.  A growing number of people see the combination of PPP for the serial
  144. line management and CSLIP for the header compression as becoming common for
  145. running normal TCP/IP protocols over serial lines.  Running raw X over the
  146. wire still needs compression somewhere to make it usable.
  147.  
  148. XRemote - this is the name of both a protocol and set of products originally
  149. developed by NCD for squeezing the X protocol over serial lines.  In addition
  150. to using a low level transport mechanism similar to PPP/CSLIP, XRemote removes
  151. redundancies in the X protocol by sending deltas against previous packets and
  152. using LZW to compress the entire data stream.  This work is done by either a
  153. pseudo-X server or "proxy" running on the host or in a terminal server.  There
  154. are several advantages to doing compression outside the modem:
  155.  
  156.    (1)    You don't *have* to have compressing modems in there if you wouldn't 
  157.     otherwise be using them (e.g. if you were going to be directly 
  158.     connected), and
  159.  
  160.    (2)    It reduces the i/o overhead by cutting down on the number of bytes 
  161.     that have to cross the serial interface, and
  162.  
  163.    (3)    In addition to the effects of #2, it reduces the latency in 
  164.     delivering packets by not requiring the modem to buffer up
  165.     the data waiting for blocks to compress.
  166.  
  167. LBX - Low Bandwidth X; this is an X Consortium project that is working on a
  168. standard for this area.  It is being chaired by NCD and Xerox and is using
  169. NCD's XRemote protocol as a stepping stone in developing the new protocol.  LBX
  170. will go beyond XRemote by adding proxy caching of commonly-used information
  171. (e.g. connection setup data, large window properties, font metrics, keymaps,
  172. etc.) and a more efficient encoding of the X protocol. 
  173.  
  174. The hope is to have a Standard ready for public review in the first half of
  175. next year and a sample implementation available in R6.
  176.  
  177.  
  178.                         Jim Fulton
  179.                         NCD
  180.  
  181.  
  182. p.s. Additional technical information about how XRemote works and a few
  183. notes on how LBX might be different are available via anonymous ftp from
  184. export.lcs.mit.edu:/contrib/ in the following files:
  185.  
  186.         XRemote-slides.ps               slides describing XRemote
  187.         XRemote-LBX-diffs.ps            more slides describing some of LBX
  188.