Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Tiny Source Mage

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: julian AT openit.de (Julian v. Bock)
  • To: eric AT lasvegasdata.com
  • Cc: "sm-discuss" <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Tiny Source Mage
  • Date: Tue, 30 Jul 2002 11:48:10 +0200

Hi

>>>>> "EW" == Eric Womack <eric AT lasvegasdata.com> writes:

EW> Now, where I run into trouble is with a "sorcery update"
EW> as well as "cast sorcery-only". It seems to hang on bunzip'ing
EW> the downloaded file (as in working on it for 2 days with no
EW> results). Now, I know the machine can compile (albiet slowly) so
EW> why would a sorcery update cause it so much trouble?

Probably the bunzip2 does heavy swapping. If the tarball was
compressed with a 900kb block size (default) the decompression will
need about 3700kb of mem (+ some executable code). The memory is
accessed very frequently so swapping does *really* hurt.

You might want to hack sorcery to add the -s option to bunzip2. This
makes the decompression slower, but needs only about 2350kb for a
900kb block compressed file.

If you modify sorcery, you might also want to use smaller block sizes
(200 or 300 kb) for compression (2000kb needed for 200kb blocks;
7600kb needed for 900kb blocks). If you use the -s option for
compression, bzip2 will use 200kb blocks. It is recommended to always
use this option if you have 8 megs or less.

Julian




Archive powered by MHonArc 2.6.24.

Top of Page