mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Samuelson <peter@cadcamlab.org>
To: Mark Mielke <mark@mark.mielke.cc>
Cc: linux-kernel@vger.kernel.org
Subject: Re: gzip vs. bzip2 (mainly de-)compression "benchmark"
Date: Tue, 7 May 2002 10:44:13 -0500	[thread overview]
Message-ID: <20020507154413.GW4049@cadcamlab.org> (raw)


[Mark Mielke]
> For floppy disks, it is doubtful that the image could be read off the
> floppy faster than even older computers could un-bzip2 the images,
> meaning that execution time is irrelevant in this context.

Well, first, the disk reads are performed by the boot loader, so to run
the two steps concurrently you'd have to do the decompression stage in
the boot loader as well.  In which case what you really want is an
uncompressed image format, bzip2'd after the fact.  A hypothetical
bImage.bz2, if you will.

The other problem with your statement is that bzip2 (unlike gzip) is
block-oriented: you can't start until you have a pretty big chunk of
the input data.  (I could be wrong, but I believe you need the same
block size you compressed with - whatever 900k compresses to, in the
case of maximum compression.)  So that would limit the amount of
parallelisation you could get within LILO anyway.

             reply	other threads:[~2002-05-07 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 15:44 Peter Samuelson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-06 17:58 Thunder from the hill
2002-05-07  1:58 ` Mark Mielke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020507154413.GW4049@cadcamlab.org \
    --to=peter@cadcamlab.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@mark.mielke.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®