Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!think.com!paperboy.osf.org!loverso From: loverso@osf.org (John Robert LoVerso) Newsgroups: comp.unix.bsd Subject: Re: rlogin/rlogind performance enhancements ??? Date: 18 May 1993 03:08:05 GMT Organization: OSF Research Institute, Cambridge MA Lines: 39 Message-ID: <1t9jul$5s5@paperboy.osf.org> References: <C777M3.39uH@austin.ibm.com> NNTP-Posting-Host: coltsfoot.osf.org You can get some details and the [very old] code (for both rlogin/rlogind and telnet/telnetd) by getting this tar file: afs /afs/ri.osf.org/user/loverso/pub/doc/in-kernel.tar.Z anon ftp xylogics.com:pub/in-kernel.tar This is something I put together in 1990 showing the tremendous performance win this "hack" is. In particluar, see the file `results.ps'. The code contained within are the original postings of the mods by Rick Ace (rlogin) and Charles Hedrick (telnet). The changes are against 4.2BSD. Don't expect these to even come close to being directly applicable to any "modern" system, since nothing I know of (off hand) has a tty driver like that any more. I do remember that Charles had done additional work on these changes, but I don't know what the status of that is anymore. The same type of changes should also be applicable to "xterm" and it's ilk. Of course, on a "modern" system, you should be able to obtain similar performance gains by using STREAMS for both your network code and your tty driver, and implement telnetd by pushing a tty module on top of the tcp module. A lucky implementation of this might just avoid the additional overhead you get for just using STREAMS. John Robert LoVerso OSF Research Institute Contents: rw-r--r--886/0 909 Feb 26 11:22:16 1990 README rw-r--r--886/0 5162 Dec 01 00:00:00 1989 news.article rw-r--r--886/0 20301 Oct 19 11:22:32 1989 nvt-rlogin.Z rw-r--r--886/0 21124 Oct 19 11:22:32 1989 nvt-telnet.Z rw-r--r--886/0 23252 Feb 26 11:51:10 1990 results.ps rwxr-xr-x886/0 0 Apr 01 23:31:07 1990 testresults/ rw-r-----886/0 5370 Feb 26 11:27:26 1990 testresults/benchmark.results rw-r-----886/0 3518 Feb 26 11:44:07 1990 testresults/results.me rw-r--r--886/0 888 Feb 26 10:44:27 1990 testresults/newdeltext.me rw-r--r--886/0 689 Feb 26 11:50:52 1990 testresults/README