On Wed, Aug 5, 2009 at 5:05 PM, Darren J Moffat<[email protected]> wrote:
> Martin Bochnig wrote:
>> Also: In case of the existing clofi compression livemedia approach
>> currently in use since Moinak developed it, the compression is equal
>> or higher (depending on algo settings used for compression). And even
>> the layout of the iso9660 fs can be optimized for highest throughput.
>> Performance is quite good.
>
> I'm not saying don't do that, in saying that the suggestion of using shcomp
> may help as well.



Ok, Darren. But if we compress a compressed file, size may even
increase 1% or 2%.
What I wanted to say is, that not much, if anything, compares to clofi
plus iso9660 layout optimizations.

If we would be talking about thousands of shell scripts, then maybe we
should reconsider.
But all you would save in _total_ would be the 1MB from
/lib/svc/method. Compiling shell scripts is limited to exactly that.
While the other approaches is universally employable.

On the day when the kernel and userland migrates to shell scripts,
then I give you a strong +1      ;-)

But seriously, using gcc instead of Studio: That's really it!
No changed interfaces, packaging nor anything else required.

Requirements are limited to:

0.) Changing the nightly build env in order to make /usr/sfw/bin/gcc
the primary compiler and SUNWspro the shadow compiler (see
http://opensolaris.org/os/community/on/flag-days/pages/2006033001/).

1.) Afterwards debug the kernel, because normally the gcc object code
is being discarded, and it is not linked. This kept at least one major
kernel panic on IA32 undetected. Alexander Eremin (and myself in 2006,
there you see that nobody detected it in 3 years! It was my fault,
because I should have filed the bug in July 2006. Alexander did it
now. Must look-up bugid. Not sure what the current status is. This
only affects the 32bit x86 kernel, none else).

Additional space-optimization flags might degrade performance.
Everything has its price. Ok, so you would not specify any. But even
then you would save 20% (or so, it depends) space consumption.

Please somebody: Keep an eye on it!


Martin
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to