Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Somewhere I read that I should remove default programs in ubuntu and then compile and install them again for speeding up my os.

Is this true?

share|improve this question
    
I'd be interested in knowing where you got this nugget of information from. –  popey Nov 19 '10 at 23:01

5 Answers 5

up vote 12 down vote accepted

No, and it wouldn't be worth the time it would take you to do it, not to mention the fact that you wouldn't get security updates directly from Ubuntu anymore.

share|improve this answer

The only time I would build myself is if you need a version of the software not in any repository, then consider downloading the source. Download the dependencies (development libraries etc) from Ubuntu repositories and build when you need to update.

I don't want to seem disrespectful, as I include myself in this, but the package maintainers on the whole will produce a far better build than you will. Unless your build options enable some sort of hardware acceleration, you won't see a lot of difference.

I've compiled complete systems from scratch using linux from scratch and gentoo and found I only felt performance improvements on really lower powered and specific hardware, such as the Playstation 2 and a 1ghz Atom cpu on a mini-ITX board. Bear in mind that I was required to do this on these systems as normal compilation flags would not work on the defaults.

share|improve this answer

The answer is yes.

By compiling the operating system just for your PC, by removing any and all modules that are not needed and compiling for your architecture and optimizing for your hardware and using the latest compiler you might get a 1-2% increase in performance.

It has been proven over time that a distribution like Gentoo offers a fraction of an improvement in performance, however the downside is really that it is not worth the effort. (Don't get me wrong Gentoo is a great distribution, just its not a mass market distribution)

Suddenly you'll have to track all software updates to your system and if there is a problem with the new version your needing to know the underlying application to debug why it wont build.

There are already people optimizing the operating system, only do it if you want to spend days doing this as a hobby or for research reasons.

share|improve this answer

it is not worth the effort. If you want, you may try Gentoo Linux, there are no precompiled packages (well, a few are), and a package manager named portage compiles software for your PC. But you propably won't see the difference

share|improve this answer

no unless you compile in a specific option that helps or compile out a lot of options...example tcmalloc for ree or removing a ton of codecs from ffmpeg...just saying - it depends

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.