From: clau@acs.ucalgary.ca (Christopher Lau) Subject: Re: CPS rates in tupload... Date: Sun, 8 Aug 1993 03:23:41 GMT
sreekar@panix.com (Sreekar Shastry) writes:
> I am running term between a 14.4 and a 16.8 and when I try to download
> something using tupload, I get CPS's of about 220, but when I use regular sz
> I get CPS's of about 1700. The line is almost error free, I only escape
> characters 17 , 19, and 29, and the baudrate is set to 38400. When I use
> tupload, the only other term client I run is the trsh in which to execute
> the tupload. I also noticed that I get about 400 bytes/second using ncftp
> or termftp. It usually works fine, it's just that is takes incredibly long
> to transfer files. The remote machine is a sun. I can run X and irc pretty
> fast over term, its just the file transfer. I get the same results whether
> compression is on or off.
I escape about 7-8 characters and I still get 1660 cps binary uploads.
Here's some things to try, in decreasing order of importance:
1- Make sure the "baudrate" variable in your termrc is at least 19200.
This parameter directly controls the effective maximum data rate to
the serial port. I normally use it as a throttle, since I've only
got a 16450 UART that can't handle 38400 directly- I set it to 28800
and everything works fine.
2- Try playing with the window and timeout values. In general, a bigger
window tends to increase effective transfer speeds, but slows down
interactive response time. I use 5 windows and 105 timeout which gives
very decent transfer speeds and excellent interactive response.
3- Turn modem compression (v.42bis) on, and turn Term's compression off.
Unless you have a 486/66 or some *VERY* fast machine, you'll always
lose with Term's compression. Even if you have a fast machine, v.42bis
seems to do a better job than Term.
4- Try using the "shift" variable. It may or may not help a great deal..
(in my case it does, since I have to escape 13, the carriage return)
5- Make sure the "flowcontrol" variable is commented out. If you're using
an error corrected link, there's no possible way a spurious ctrl-s can
get in. If enabled, flowcontrol just spits out extra ctrl-q's every so
often, which ends up reducing your throughput.
6- If you're using an error corrected link, don't put in any "ignore"
variables. For the same reason as #5, you can never get these, and
Term will just spend extra time looking for them if you put them in.
>
> Thanks in advance.
Regards,
c4
-- Christopher Lau | Dammit Jim, I'm a doctor, The University of Calgary | not an engineer! Dept. of Electrical & Computer Engg. | Well, you're an engineer now.. lau@enel.ucalgary.ca -OR- clau@acs.ucalgary.ca -OR- root@fusion.cuc.ab.ca