home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / networki / 1265 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.6 KB  |  70 lines

  1. Newsgroups: comp.os.os2.networking
  2. Path: sparky!uunet!newsgate.watson.ibm.com!news.ans.net!ans.net!db3l
  3. From: db3l@ans.net (David Bolen)
  4. Subject: Re: TCP/IP 1.2.1 remote telnet session too slow!
  5. Sender: news@ans.net (News Administrator)
  6. Message-ID: <1992Sep08.155958.68622@ans.net>
  7. In-Reply-To: assela@aix.rpi.edu's message of Tue, 8 Sep 1992 05: 35:20 GMT
  8. Date: Tue, 8 Sep 1992 12:00:15 GMT
  9. References: <1567@cogsci.ucsd.EDU> <rx3yaj=@rpi.edu>
  10. Organization: Advanced Network & Services, Inc. - Elmsford, NY
  11. Lines: 57
  12.  
  13. In article <rx3yaj=@rpi.edu> assela@aix.rpi.edu (A. Andre Asselin) writes:
  14.  
  15. >lopes@cogsci.ucsd.EDU (alann lopes) writes:
  16. >
  17. >>  Whenever I telnet into our os2 machines running tcp/ip 1.2.1
  18. >>  and the machine is doing some cpu intensive task, the remote
  19. >>  telnet session is unusable. 
  20. >
  21. >Alann,
  22. >   Unfortunately, this is an artifact of how the telnet server is implemented.
  23. >Whenever the screen is modified, the telnet server will generally repaint the
  24. >whole screen, rather than send a particular escape sequence to accomplish the
  25. >same thing.  This shows up particularly with screen scrolling.  It is
  26. >unfortunate, but the way OS/2 allows access to the contents of a screen, it
  27. >would be pretty complicated to implement it any other way.
  28.  
  29. Just to be accurate - this behavior does depend upon the terminal type that
  30. is being used.  For example, if you come in via a VT100, then any scrolling
  31. of regions that comprise the full width of the screen are accomplished very
  32. efficiently (using an ESC [ # M region scroll command (# = lines)).  However,
  33. if you come in via an ANSI terminal (such as the ANSITERM telnet supplied
  34. with OS/2), it has no equivalent scrolling function, so the telnet server
  35. allows OS/2 to perform the scroll, and then sends the complete updated region
  36. to the client.  In a full-screen scroll case, this does result in the entire
  37. screen being sent.  The VT100 emulation does the same thing in the event
  38. that a scrolling region other than full-line width is used, since the VT100
  39. can only define a scrolling region in terms of lines.
  40.  
  41. Mostly because of this, you should find that in general VT100 results in a
  42. smaller amount of information being transmitted over the net, although ANSI
  43. gives you full character set support and color.  However, on the flip side,
  44. the current VT100 emulator is much slower than ANSITERM (which just gives
  45. the characters to OS/2), so it can be a toss-up depending on what you are
  46. trying to optimize.
  47.  
  48. Something that I have played with, but never quite completed due to lack of
  49. time is to write an OS/2 terminal type driver, such that the OS/2 VIO calls
  50. got shipped across basically intact.  This should give a reasonably good
  51. traffic/performance tradeoff.
  52.  
  53. Oh, and I should also mention that if you use the telnet enhancer that
  54. Mikael put up on ftp-os2 recently, then from another OS/2 machine ANSITERM is
  55. much better than VT100, since TN_ENH waits a second or two and then sends
  56. the result of a number of operations, rather than trying to send a full
  57. screen for each scroll operation.  Unfortunately in this case, TN_ENH actually
  58. sends more information than the native VT100 emulation would have, so that
  59. plus the additional VT100 processing on the client end, makes VT100 definitely
  60. perform worse than ANSITERM.
  61.  
  62. --
  63. -- David
  64. --
  65. /-----------------------------------------------------------------------\
  66.  \              David Bolen             \  Internet: db3l@ans.net      /
  67.   |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
  68.  / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
  69. \-----------------------------------------------------------------------/
  70.