Re: Deprecating .gz format on kernel.org

John Jasen (jjasen@realityfailure.org)
Thu, 20 Mar 2003 08:10:12 -0500 (EST)


Among the latest 2.4-release kernels (2.4.19 and 2.4.20), it seems that
bz2 saves ~6MB.

Downloads: 1.5MB DSL

time `ncftpget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz`
real 3m24.004s
<snipped>

time `ncftpget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2`
real 2m51.481s
<snipped>

Uncompression: Dual AMD 1600+, 512MB ram, 30 GB seagate EIDE
time `gunzip linux-2.4.20.tar.gz`
real 0m5.428s
user 0m2.285s
sys 0m1.096s

time `bunzip2 linux-2.4.20.tar.bz2 `
real 0m28.892s
user 0m27.318s
sys 0m1.363s

Compression: Dual AMD 1600+, 512MB ram, 30 GB seagate EIDE
time `gzip linux-2.4.20.tar`
real 0m18.771s
user 0m17.990s
sys 0m0.674s

time `gzip -9 linux-2.4.20.tar`
real 0m42.032s
user 0m40.725s
sys 0m0.791s

time `bzip2 linux-2.4.20.tar`
real 1m50.411s
user 1m49.197s
sys 0m0.555s

bz2 is about 18% of the size of the tarfile. gz is 22%. gzip -9 saved a
whopping 310k compared to gzip.

-- 
-- John E. Jasen (jjasen@realityfailure.org)
-- User Error #2361: Please insert coffee and try again.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/