A From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 21-FEB-1994 18:58:17.17  To:	EVERHART CC:	% Subj:	Re: Kermit File Transfer Speeds    X-Newsgroups: comp.os.vms ( Subject: Re: Kermit File Transfer Speeds1 Message-ID: <2k2sll$cpj@apakabar.cc.columbia.edu> - From: fdc@fdc.cc.columbia.edu (Frank da Cruz)  Date: 18 Feb 1994 17:08:05 GMT Distribution: World ! Organization: Columbia University & NNTP-Posting-Host: fdc.cc.columbia.edu
 Lines: 113 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET   8 In article <s5$Oj86y-nB0055yn@faraday.clas.virginia.edu>8 gap5u@faraday.clas.virginia.edu (Gregory Perron) writes: > H > I'm downloading from a vax 4000-90 thru a terminal server of some sortG > to my PC.  14.4's at both ends: I have a cardinal internal; they have A > us robotics.  I get messages of 14.4, lapm, v.42bis, etc.  But,  > downloads have been hideous. > @ > I've given up on sz, because of too many aborted transfers.  IG > *think* the problem is w/ the vax, but I'm not sure.  [I get flawless G > 1600-1650 cps dl's on zipped files from a local bbs] Yes, I tried all * > the -ebrw permutations I could think of. > B > On to kermit: I use procomm plus/dos 2.01 on my PC.  On the vax, > ckermit pops up and says: ) > Ckermit 5a(188) 23 NOV 92, OpenVMS Vax.  > G You'll get better results with C-Kermit 5A(189) or later, which has two @ new features described below.  C-Kermit 5A(189) is available viaF anonymous ftp to kermit.columbia.edu, directory kermit/b, get the file( ckvaaa.hlp, read it, take it from there.   > My ckermit.ini file has: > set send pack 1000 > 2 This command is not needed; see the documentation.   > set receive pack 1000  > set buff 20000 20000 > set file type bin  > set windows 10
 > set block 3  > F > Symptoms: max dl cps has been around 1100 for a zipped/jpg/gif file.C > And that's unusual: 950-1050 is more normal. It's almost like I'm # > only at 9600, modem report aside.  > H I can't speak for Procomm, but I ran some tests using MS-DOS Kermit 3.13D (the current version) on a 486/66 over a V.32bis/V.42/V.42bis dialupE connection to a Cisco terminal server, and from there to a VAXstation D 3100 running VMS 5.x and C-Kermit 5A. The calling modem is a Telebit, T3000, the answering modem is a USR Courier.  I MS-DOS Kermit 3.13 is available via anonymous ftp to kermit.columbia.edu, 3 directory kermit/bin, binary mode, file msvibm.zip.   F In these tests, I downloaded a 330K ZIP file (MSVIBM.ZIP -- the MS-DOSH Kermit 3.13 distribution).  My serial interface speed was 57600 bps, andH I used RTS/CTS flow control between my PC and the modem, and RTS/CTS was@ also active between the answering modem and the terminal server.  H In the first test (10 window slots x 1000-byte packets, same settings asE yours), I achieved an effective throughput of 1091 cps, like you got.   F Since the connection between the terminal server and VMS is via TCP/IPH TELNET, and we know that TCP and IP will handle the flow control betweenF the VAX and the terminal server, I told C-Kermit to SET FLOW NONE (its> default setting is XON/XOFF) and ran the test again: 1136 cps.  C Now that we've got the basics taken care of, we can work on tuning.  Next I tell C-Kermit to:     SET CONTROL UNPREFIX ALL   SET CONTROL PREFIX 1 129 255  G (version 5A(189) or later is required for this; see the CKCKER.UPD file E for explanation) -- This removes control-character prefixing overhead H for all but 3 characters (4 really: NUL, Ctrl-A, Ctrl-A plus parity, andH the TELNET IAC character).  Now I get 1549 cps.  Note: control-characterH unprefixing is of benefit primarily for precompressed files, secondarilyD for uncompressed binaries, and has very little effect at all on text files.  A Well, the PC I was using is one of the new "high-speed, low-cost" A models, and so lacks a buffered UART.  All of the above transfers H suffered various amounts of retransmissions due to UART buffer overruns.C Switching to a much slower PC (a PS/2-70, 15MHz I think) that has a D 16550A buffered UART, same transfer, same parameters, the throughput goes up to 1601 cps.  B Now, since I don't have to worry about buffer overruns any more, IB increase Kermit's packet length to 5000 (SET RECEIVE PACKET-LENGTH 5000).  Throughput: 1608 cps.   @ And now, since this is a precompressed file, I note that neitherD Kermit's run-length compression, nor the modem's V.42bis compressionA will do any good -- and some would say that they slow things down $ a lot.  Let's see.  I turn both off:  E   Kermit: SET REPEAT COUNTS OFF (C-Kermit 5A(189) or later required). "   Modem:  ATS190=0 (Telebit T3000)  F and download the file again.  Result: 1616 cps.  Not a big difference.  C Lessons (which apply mainly to this particular type of connection):   5  1. Buffered UARTs are better than nonbuffered UARTs. 1  2. Be sure to get the flow control at both ends. B  3. Use long packets (1K - 5K, whatever works) and sliding windows     (4 or more).C  4. Once you've got all that working optimally, you can squeeze out A     another 20-30% efficiency with control-character unprefixing. D  5. After that, don't bother too much with fine tuning, particularlyG     with disabling modem or software compression - it makes very little      difference.   D Please, before we have another flurry of postings from people askingG for the "optimal" list of control characters to be unprefixed, THERE IS J NONE.  Every connection is different, with its own unique characteristics.I Read the documentation.  Ditto for all the other variables we have looked 7 at here: window size, packet length, flow control, etc.    - Frank   