Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-27-2007, 04:28 PM   #1
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,480

Rep: Reputation: 86
How much runtime loss using binary over locally compiled package?


I am sure this question has been asked many times. But I cannot find an answer.

I am using several Debian penguins on Pentium/Celeron machines. I installed through network, binary packages. I rebuilt kernel to customize.

I somewhat think binary packages (.deb) are complied to 8086 or 80386. If I compile packages locally (gentoo way) -download source, make .deb and install, how much faster will my penguins swim? Also, glib needs to be recompiled??

Happy Penguins!
Old 07-27-2007, 04:34 PM   #2
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
That's tough to say. Some code optimizes well, some doesn't. If you ask a Gentoo user, they'll probably say "enough to be worth it", but if you ask others they may say the difference is negligible. Most distributions compile their executables for a generic i386, but most computers sold today have, at minimum, the 586 instruction set available to them. And if you were to locally compile something, glib would be a good choice. Since many different programs will load glib, a small performance gain there will be magnified. So, perhaps it would be fair to say that custom compiles are worth it for libraries like glib, but perhaps not for applications like Firefox.
Old 07-27-2007, 06:52 PM   #3
Registered: Feb 2003
Location: Portland, OR
Distribution: openSUSE 10.3, among others
Posts: 141
Blog Entries: 1

Rep: Reputation: 15
I can't answer your question. But I can say that I tried to "emerge" on a Gentoo-based distro, and finally cancelled out of the compilation after 15 hours with no end in sight.

My conclusion was that some negligible amount of speed-up does not make it worth tying up your computer for the number of hours it takes to compile a large program (like Firefox or that you could install from a binary in minutes.
Old 07-28-2007, 10:09 AM   #4
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
AFAIK, the difference is nearly impossible to detect on desktop use.
Unless you do heavy weigh number crunching, not worth the trouble, IMO.
Old 07-31-2007, 12:38 PM   #5
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch
Posts: 1,480

Original Poster
Rep: Reputation: 86

Thanks. I will stay with binary packages, unless I need some special configuration.

Originally Posted by PatrickNew
Somebody told me that linux was just a headache.
So here's our choices:
A) a $200 headache
B) a free headache
This is because wiDoEser do not have head, they do not think, ponder, just pay money for non functional junk... There is no organ to ache, if no head.


binary, compile, debian, package, performance

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get pre-compiled binary for ndiswrapper? BootLaptop Linux - Wireless Networking 2 07-24-2007 01:31 AM
How to check if a package(eg. gdebi)will be available in 'Etch' as binary package? Akhran Debian 4 08-28-2006 12:53 PM
Runtime binary encryption tools evmccart Linux - Software 1 11-21-2005 06:42 AM
is there a compiled binary package of anjuta 2.0.1 in SLES 9? hongxing SUSE / openSUSE 2 10-13-2005 08:40 AM
What is a statically compiled binary? james_cwy Linux - Newbie 4 11-09-2003 11:51 PM

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration