Re: Debian, Arch or Gentoo?

From: Christopher Browne (cbbrowne_at_acm.org)
Date: 07/04/05


Date: Mon, 04 Jul 2005 00:12:20 -0400

In an attempt to throw the authorities off his trail, Jon Harrop <usenet@jdh30.plus.com> transmitted:
> I have found Debian to be excellent. I switched from Red Hat about 5 years
> ago and never looked back.
>
> Justin wrote:
> [Gentoo]
>> It is a massive waste of time.
>
> I've heard that from other people.
>
>> Compiling from source offers
>> virtually no performance increase over pre-compiled binaries;
>
> Ironically, I'm going to have to disagree with you there. You can sometimes
> get substantial performance improvements exactly where you want them by
> compiling from source.
>
> I did this with ghostscript by fetching the Debian package source using
> "apt-get source", altering it to compile with optimisation flags for my CPU
> and then installing the replacement package. As ghostscript uses a lot of
> tight array loops with integer and floating point maths, it sped up
> considerably when switching to CPU-specific code.

There will be cases where this is the case.

But there are plenty of "Gentoo Ricers" out there looking for the
mystical set of CFLAGS options to let them maximize performance on
everything when they'd be *WAY* better off having 98% of their
packages brought in as binaries that were compiled by some competent
person that knew what they were doing.

I'd guess that there are likely to be 5% of packages where there would
be merit to compiling from source in order to take advantage of
CPU-specific flags. Examples would include:

 - Possibly LIBC, although there's GREAT danger there...
 - XFree86 (someday)
 - Mathematical libraries (e.g. - if you're using NETLIB)
 - Sound rendering libs
 - Some graphical libraries (particularly for anything "chromey")

It surprises me a bit that Ghostscript would be an example of such,
but only a bit.

-- 
(format nil "~S@~S" "cbbrowne" "gmail.com")
http://linuxdatabases.info/info/slony.html
Pound for pound, the amoeba is the most vicious animal on earth.


Relevant Pages

  • Re: Windows/Linux dual booting
    ... Or you come across an RPM with a file-based dependency (WTF? ... the package, for chrissake!), or you come across an RPM that gratuitously ... Debian and every fork of Debian that doesn't run straight from the CD can ... Compiling for my specific hardware makes it ...
    (microsoft.public.windowsxp.general)
  • Re: pros/cons of installing from source
    ... Debian supply both optimised kernels and to a lesser degree ... Doing a full emerge of the kernel source (inside the ... really required and what is not for a package (this requires the most ... soon as it stopped compiling and installing. ...
    (Debian-User)
  • Re: ISO config settings used by distro
    ... > When compiling a package, there are often configuration options ... > configuration settings used when compiling a program for a Debian ...
    (Debian-User)
  • ISO config settings used by distro
    ... When compiling a package, there are often configuration options ... configuration settings used when compiling a program for a Debian ...
    (Debian-User)
  • Re: the best Linux for me
    ... I've ben using debian on my desktop for about 8 years, ... What's Debian's package / distro system called? ... cl-clx-sbcl - An X11 Common Lisp client library for SBCL ... You can also see how out of date my unstable install ...
    (comp.lang.lisp)