Improving performance with custom-compiled source packages | Linux Today

Improving performance with custom-compiled source packages

Written By
Web Webster
Web Webster
Feb 17, 2011

“Feeling-the-need-for-speed asks: Can custom-compiled source
packages really improve performance compared to pre-compiled binary
packages? If yes, by how much?

“DistroWatch answers: Yes, software that is compiled
specifically for your system will often provide a performance boost
compared to binary packages provided by distributions. The packages
in distro repositories are designed to work across a wide variety
of machines and so will leave out optimizations. When we compile
software to work specifically for our processor we can throw away
the backward compatibility restrictions and gain more efficient
programs. Linux Magazine featured an article a while back by
Christopher Smart comparing standard Ubuntu packages with
custom-made Gentoo software. Some of the tests resulted in similar
results for both custom and pre-built software, but in some cases
there’s a dramatic difference.

“There is a downside. Compiling your own software to get these
performance boosts takes time. So, before you start compiling
replacements for all your applications, take a look at what you
stand to gain and what it’s going to cost. For example, it might
take you several hours to compile LibreOffice and the result will
be a slightly lighter, slightly faster office suite.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.