From: Michael O'Reilly (oreillym@tartarus.uwa.edu.au)
Date: 04/29/93


From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Re: TERM 1.0.7: How to speed it up?
Date: 30 Apr 1993 03:27:22 GMT

Eric Jeschke (jeschke@cs.indiana.edu) wrote:
: ellis@nova.gmi.edu (R. Stewart Ellis) writes:

: V42.bis is supposed to be smart about compression and not compress
: things that already look compressed. MNP-5 compression, on the other
: hand will actually make compressed images larger.

: I have gotten good performance leaving V.42bis compression ON and
: turning OFF term's software compression. As suggested above, I set
: port speed to 38400 (both ends), escape nothing, and connect at V.32BIS.
: Remote non-intensive X clients run pretty decently under this
: configuration. And I get close to 1500cps on tupload (with another
: trsh running).

This is one way of doing this. Beware that you will very likely need
to increase the window size. 'window 7' or 'window 11' will probably
improve things.

useing 14.4K use should be able to get at least 1300 CPS w/o
compression. With just term's compression I have seen 550 CPS on text
over 2400 baud, so expect something like 3000 CPS over 14.4
compressed.

: One thing I am wondering about: I guess there is a prioritizing scheme
: for term clients, right? If I have, say, two trsh's running and fire
: up a tupload, it runs slower than if I only ran the tupload. If I close
: down one or both of the trsh clients I would expect the tupload
: performance to improve, but it doesn't. It's as if the priority was
: not increased. I noticied this by running tmon. Anyone else see this?

Yes, there is a priority scheme. a couple actually.
1st:
        An absolute priority. tupload use (by default) -2, tredir use
0, trsh use 2. the next packet to send is always taken from the first
ready stream with the highest priority.

2nd: In a bid to improve responce times, term will reduce packet sizes
when there is more than one ready stream. The algorithm is something
like 250 / (number of ready streams) where the denominator is
constrained to be < 8.

However, if you stop useing the trsh, things should pick up. The
absolute priorities don't change (you set them when you start the
client with the '-p<number>' flag).

: --
: Eric Jeschke | Indiana University
: jeschke@cs.indiana.edu | Computer Science Department