United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6378768 : using rtpatch flag NOCOMPRESS will reduce each JRE download by 264KB

Details
Type:
Bug
Submit Date:
2006-01-30
Status:
Resolved
Updated Date:
2010-04-04
Project Name:
JDK
Resolved Date:
2006-04-20
Component:
install
OS:
generic
Sub-Component:
install
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
5.0u7
Fixed Versions:
5.0u8 (b01)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
We are currently using RTpatch software to build the binary difference between a update release (5.0uX) and it's baseline release (5.0).  By default, RTPatch will use it's software to compress the binary diff, and then our installer will use lzx compression to compress further.  However, there is no reason to have 2 separate compressors.

By using the NOCOMPRESS rtpatch flag, we can turn the rtpatch compression off, and only use our lzx compression.  This will reduce the download of all JRE full installs as well as updates by 264KB.  Also, because there is only 1 uncompression, it will make our installers somewhat faster (I haven't done any benchmarks on this yet).

The saving should be relatively bigger for the JDK installer also.

                                    

Comments
SUGGESTED FIX

install/src/windows/patchgen/patch.cmd

sccs sccsdiff -r 1.16 -r 1.17 patch.cmd

------- patch.cmd -------
62a63
> NOCOMPRESS
                                     
2006-03-02
EVALUATION

More info, this NOCOMPRESS flag also reduces our JDK installers by 1.23MB each.
                                     
2006-01-31
EVALUATION

I ran a bunch of performance benchmarks today and it looks like this will slow our 5.0u7 JRE installation process down by an average of 5 seconds.  Here are my 5 tests on my 933MHZ/512MB Dell machine:

Before-fix:  46s, 46s, 45s, 46s, 45s   
After fix:   50s, 50s, 51s, 51s, 51s

I guess installshield's lzx is better compression vs rtpatch's compression, but it's slower to uncompress.

So we need to determine whether reducing the JRE 264KB is worth adding ~5 seconds to the install time.  Keep in mind that I have a slow 933MHZ machine.
                                     
2006-01-30



Hardware and Software, Engineered to Work Together