Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!bu-cs!madd From: madd@bu-cs.BU.EDU (Jim Frost) Newsgroups: comp.sys.ibm.pc Subject: Re: Kermit 2.30 part 4 / 4 (To ARC or not to ARC) Message-ID: <19235@bu-cs.BU.EDU> Date: 25 Jan 88 21:20:24 GMT References: <5004@bellcore.bellcore.com> <3243@psuvax1.psu.edu> <1339@looking.UUCP> Reply-To: madd@bu-it.bu.edu (Jim Frost) Followup-To: comp.sys.ibm.pc Organization: Boston University Distributed Systems Group Lines: 61 In article <1339@looking.UUCP> brad@looking.UUCP (Brad Templeton) writes: >In article <3243@psuvax1.psu.edu> wcf@psuhcx (Bill Fenner) writes: >>EVERYBODY- Unless it's going to make the file bigger (only when the file is >>about 5 bytes long), ARC THE FILES BEFORE YOU UUENCODE! You'll save the >>net a LOT of money! If you post .EXE or .COM files, you're contributing >>to the downfall of comp.binaries.ibm.pc! >EVERYBODY - don't listen to this. Every major long distance link that is >cost conscious uses lempel-ziv compression on transmitted files. If >Arc+LZ gives better than LZ, it's marginal. Sometimes it is worse. > >Doing ARC first does save disk space, I will say that for it, but it >doesn't do much for transmission time. I'll respond to this by pulling my article out of comp.binaries.pc: -- cut here -- From: madd@bu-cs.BU.EDU (Jim Frost) Newsgroups: comp.binaries.ibm.pc Subject: Re: Kermit 2.30 part 4 / 4 (really: compression of ARC files) Message-ID: <19173@bu-cs.BU.EDU> Date: 24 Jan 88 18:49:33 GMT References: <5004@bellcore.bellcore.com> <3243@psuvax1.psu.edu> <2526@auscso.UUCP> In article <2526@auscso.UUCP> johnk@auscso.UUCP (John Knutson) writes: >First, most sites compress news before sending it. (in fact the standard way >is to use sendbatch to send compressed news to other systems) >second, compress makes arced files BIGGER!!!!! it's true, believe it or not! This is not necessarily, or even usually, true. ARCing an ARC file makes the resultant file bigger (providing that the user didn't force the ARC format to non-optimal), but ARC files submitted over the net are uuencoded, which expands them quite a bit (4 bytes for every 3, or a 33% increase not including headers). Since the file has been expanded, it is subject to space savings if compression techniques are used. To verify that ARC files actually would save space, I ran some tests on an actual ARC file on our system: Straight files: 112k (binary, can't mail) uuencoded files: 155k compressed uuencoded files: 94k ARC format: 77k (binary, can't mail) uuencoded ARC: 120k compressed uuencoded ARC: 91k I was unable to compress the actual ARC file because compress determined that the ARC file would be bigger compressed and refused to compress it, which is really what you would expect it to do anyway. From the results, it is obvious that with an unARCed file, you have to send some 35k more if the file was unARCed and transmitted in uuencoded format, or 3k more if the uuencoded files were sent through compress. Note that part of the ARC file was a document and this compressed very efficiently; you still saved 3k if it were ARCed first. In conclusion, ARCed files do save space and therefore time and money, even on systems that use compression in their mailers. jim frost madd@bu-it.bu.edu