A lot of people say that Gentoo is much faster than a distribution like Ubuntu. Is the performance of Gentoo really so impressive? Is Gentoo recommendable as a desktop system?

link|improve this question

40% accept rate
2  
The point of Gentoo is not so much performance as customizability. People making these performance claims hardly ever tested them and just repeat what they would like to be true. – honk Mar 3 '10 at 16:23
1  
yep. the "performance" is all eaten up by nonstop compiling. customizability is the point. – akira Mar 11 '10 at 12:01
1  
In my experience the two factors that improve performance most on both systems is a custom kernel, and removing unnecessary services. Gentoo got its reputation by having these by default. Also, if you're worried about compile times, -march=native -O1 will give you a fast system that compiles fast. – György Andrasek Sep 15 '10 at 12:11
1  
@akira: "the "performance" is all eaten up by nonstop compiling. customizability is the point." ... Compiling is not "non-stop" -- you only have to do it when you install/update packages. Second, performance is not "eaten up" by it, because most of the time, it's not happening. Please take a moment to think before you mash your fingers on the keyboard. Better yet, try not to talk about things you know nothing about. – jrtayloriv Apr 15 '11 at 7:34
feedback

closed as not constructive by studiohack Apr 27 '11 at 1:40

This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.

4 Answers

Having used both Gentoo and Ubuntu as desktop systems for multiple years each, I would say Gentoo's performance advantage is not at all noticeable. I imagine there might be some noticeable difference if you spend a lot of time using some CPU-intensive application. However, when it comes to average day-to-day usage, there's really no difference.

Unless you're talking about how much time you'll spend wrestling with your system, in which case Ubuntu wins hands down! Not only does basic installation of programs (not to mention the system itself) take exponentially longer in Gentoo, but getting things configured "just so" (which you'll quite often have to do in Gentoo) can be a tedious mess.

I would liken the difference between Gentoo and Ubuntu (and pretty much any other pre-compiled distro) somewhat to the difference between C++ and C# (or pretty much any other garbage-collected C-style language). In Gentoo, you have to manage a lot of the garbage that Ubuntu manages for you. But you might get slightly better performance under certain circumstances. It's a trade-off between special-case performance and overall productivity, efficiency, what have you.

Now don't get me wrong. I absolutely love Gentoo. I'm currently using it as my desktop OS at work. If you really want to get your hands dirty with Linux, it's a great way to go.

Done rambling now...

link|improve this answer
1  
Hmm, why the down-vote? I know I could have been a little more concise, but I really was trying to help. Oh well. – Stephen Ward Mar 9 '10 at 21:50
feedback

Polish Linux has a side-by-side comparison for Linux-based systems, including Ubuntu vs Gentoo, although it focuses more on the general aspects of each distro, rather than the outright performance.

Linux Magazine has an article with a series of benchmark comparisons between the three most common GCC optimizations for Gentoo and Ubuntu "for good measure".

Conclusion

These tests show that when it comes to optimizing with GCC, there is not a huge amount of difference between them. If there had to be a winner, it would probably be -O2. It was often on par with -O3 while sometimes leading and sometimes trailing by a small margin. The fact that -O2 will also result in lower memory usage probably helps to tip the scales in its favour.

Generally speaking, the -Os level did worse than the others, which were much more evenly matched. It is still the choice for low end systems as it uses less memory and still performs quite well. It did however, even manage to take out several tests in its own right.

Although we are not comparing apples to apples, Gentoo did out-perform Ubuntu in almost every test, and sometimes by a fair margin. It does appear that optimizing for a specific CPU can yield a decent performance increase.

Of course, Gentoo offers benefits in other areas with their USE flags and being able to build a highly customized system. The question is whether the amount of time it takes is worth the benefit, and that’s a personal choice

link|improve this answer
3  
just to add my 2ct: unless i have timecritical calculations to do, i do not even care about the compile options and i prefer binary builds over source builds (done by my machine) by far. the time you gain by the speedier gentoo binaries you will lose by compiling all the day all the time again and again and again. – akira Mar 1 '10 at 8:53
"the time you gain by the speedier gentoo binaries you will lose by compiling all the day all the time again and again and again." ... yes, because everyone knows that you can't do anything else with your computer while you're compiling. ;p – jrtayloriv Apr 15 '11 at 7:31
@jrtayloriv: i ran gentoo ~ 2002 - 2008. the system was slowere while emerge ran, my main tasks (which is not idling around on su) were slower for sure. – akira Apr 15 '11 at 12:58
feedback

Basic points:

a) Flexibility(Gentoo) vs easiness(Ubuntu)

b) Customization(Gentoo) vs Rigid structure(Ubuntu)

c) Power of knowledge vs dumbness;like many other binary distro(Ubuntu)

d) Not for everybody(sorry geeks only) vs anybody(window user love to migrate through this)

e) One has to have the understanding of lot many GNU/Linux internal to work with Gentoo...because it demands it :) ; but on the other hand one can cake walk Ubuntu..because the underlying details are masked :(

f)Choice of absolute necessary(Gentoo) vs friendliness(Ubuntu)

g) Rolling release..not to break system (Gentoo) vs Need to upgrade to next release..might break

and many more .....

link|improve this answer
Gentoo is nerds only. The geeks go to Ubuntu... – mathepic May 20 '11 at 19:29
feedback

Lots of the performance gain is not by directly the optimization itself, but the dependencies. lddin an average executable in Ubuntu yields a lot of lines, libraries to load. In Gentoo I'm not particularly trying to keep the system lean but a few selected USE flags can make a difference. Loading apps from the HD takes time, critical time, if the application otherwise eats little resources.

This USE aspect is a direct consequence of gentoo's fine customizability.

link|improve this answer
feedback

protected by studiohack Apr 27 '11 at 1:41

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

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