Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2002 10:40:17 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        imp@village.org, des@ofug.org, pst@pst.org, jkh@winston.freebsd.org, obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, winter@jurai.net
Subject:   Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade
Message-ID:  <XFMail.20020403104017.jhb@FreeBSD.org>
In-Reply-To: <200204031537.g33FbE9r083749@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 03-Apr-2002 Mikhail Teterin wrote:
> On  3 Apr, John Baldwin wrote:
>> 
>> On 03-Apr-2002 Matthew N. Dodd wrote:
>>> On Tue, 2 Apr 2002, M. Warner Losh wrote:
>>>> It would be a lot easier with package.tar rather than package.tar.gz
>>>> I think. Or does the meta-data include the decompression tables?
>>>
>>> It would be alot easier with package.zip.
>>
>> That's why libh uses zip rather than tar. zip uses a table at the
>> beginning of hte file where as tar's records are inline, correct? Thus
>> with zip all your metadata is in one fixed location but in tar it's
>> scattered all over the file and you have to seek around to find bits,
>> which would be very slow unless you cached it.
> 
> But .zip is noticeably bigger than .tar.gz. Not to mention, .tar.bz2.
> And the package size is what's of the highest priority, IMHO, since
> disks and especially bandwidth don't grow nearly as fast as the CPU
> speeds.

Actually, since you dont' hae to read the whole file to find out where the 10th
file's data starts, you actually consume less bandwidth.  Disk size still seems
to be growing exponentially so I don't think that is quite as large of a
concern.  The bigger problem with that is that Bloatware (tm) packages keep
growing faster than the disks do. :)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020403104017.jhb>