home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!ibmpcug!kate.ibmpcug.co.uk!dylan
- From: dylan@ibmpcug.co.uk (Matthew Farwell)
- Subject: Re: How to increase transfer speed in Kermit
- Organization: The IBM PC User Group, UK.
- Date: Tue, 28 Jul 1992 13:22:50 GMT
- Message-ID: <1992Jul28.132250.1419@ibmpcug.co.uk>
- References: <25JUL199219285170@oregon.uoregon.edu>
- Lines: 60
-
- In article <25JUL199219285170@oregon.uoregon.edu> ccyang@oregon.uoregon.edu (Chun-Ching Yang) writes:
- >I just bought a 14,400 Modem. However, after trying to download the data from
- >the VAX in the university, I found the download speed from the mainframe to my
- >Mac was slow. The transfering speed was about 560 byts in each TWO seconds. If
- >the high speed modem worked fine, then the transfer speed should be about
- >1,440 in ONE second. (Is that right?)
- >I have check the VAX and the modem there is 14,400. I don't expect that the
- >speed can reach 1440 in a second but the speed I got was so slow. How come?
-
- You can do a few things to try to improve your throughput for kermit,
- but a little explanation first.
-
- Kermit uses a protocol which requires one acknowledgement for each
- packet transmitted, ie something like:
-
- sender receiver
- --------- data ------->
- <-------- ack ---------
- --------- data ------->
- <-------- ack ---------
-
- This is fine for lines which have a lot of errors on them (old phone
- lines, etc), but most modern exchanges dont have that much noise. The
- default packet size that kermit uses is 93 bytes, so a lot of bandwidth
- is wasted with ack's. You can obviously cut down on the number of acks,
- and therefore increase your bandwidth by using larger packets. You can
- increase the packet size by saying
-
- set send packet-size 1000
-
- or something similar, but this is still quite inefficient. A better
- technique is to use a 'sliding window' protocol. In this scheme, the
- ack is sent after every n packets, where n is variable. For instance,
- if you chose a window size of 5, the sequence would look something like:
-
- sender receiver
- --------- data ------->
- --------- data ------->
- --------- data ------->
- --------- data ------->
- --------- data ------->
- <-------- ack ---------
-
-
- Zmodem, and the newer versions of Kermit are able to do this.
- Obviously, if n is equal to 1, then you should get exactly the same
- behaviour. You can do this in kermit by saying
-
- set window-size 20
-
- or something similar. Zmodem dynamically configures the number of
- window slots it uses, I believe.
-
- So to improve your data throughput, you can 1) Increase the packet
- size 2) Use a modern kermit with the window facility 3) Use Zmodem.
-
- Dylan.
- --
- It is no coincidence that in no known language does the phrase 'As
- pretty as an Airport' appear -- Douglas Adams
-