Gentoo Optimizations Benchmarked

Gentoo is a source based distribution which lets the user decide how to optimize their system in many ways. Linux Magazine benchmarks three of the most common GCC optimizations; -Os, -O2 and -O3, and throws in Ubuntu for good measure.

As previously discussed on Linux Magazine, Gentoo is a source based distribution which lets the end user decide what their system will be.

All binary distributions make these choices for you, but building from source, Gentoo users can decide for themselves. They are able to choose what CPU their binaries will be built for, as well as GCC optimizations.

Taken directly from the GNU GCC Manual:

“Without any optimization option, the compiler’s goal is to reduce the cost of compilation and to make debugging produce the expected results… Turning on optimization flags makes the compiler attempt to improve the performance and/or code size at the expense of compilation time and possibly the ability to debug the program.

The compiler performs optimization based on the knowledge it has of the program. Compiling multiple files at once to a single output file mode allows the compiler to use information gained from all of the files when compiling each of them.”

The -O1 option begins the optimization, with -O2 and -O3 optimizing further. The special -Os option optimizes code for size. It enables all the options from -O2 which do not increase the size of the code and is especially useful for low-memory systems. Today Linux Magazine benchmarks three of the most common, -Os, -O2 and -O3.

The computer system used in these tests is an Intel Core2 CPU, and as such Gentoo was compiled in 64bit with the “-march=core2″ CPU type. Ubuntu is included for comparison purposes. Jaunty Jackalope 9.04 was chosen because it is the current stable version and more closely matches the Gentoo system, with the exception of the kernel which is two versions behind. Each installed system is just the base with any required dependencies for testing, plus XOrg and Xfce4.

The Hardware

Processor: Intel Core 2 Duo CPU E8400 @ 3.00GHz (Total Cores: 2) Intel SpeedStep Technology enabled
Motherboard: Gigabyte EP35-DS3P
Chipset: Intel 82G33/G31/P35/P31 + ICH9R
System Memory: 3965MB
Disk: 300GB ST3300831AS
Graphics: GeForce 8800 GT
Monitor: Samsung SyncMaster

Gentoo System

The Gentoo system was built from the stable branch using the same USE flags and packages. For each of the different GCC optimization levels, the system’s tool chain was re-built, then the entire system was rebuilt, twice. All systems used the same kernel configuration and packages.

Kernel: 2.6.30-gentoo-r5 (x86_64)
Desktop: Xfce 4.6.1
Display Server: X.Org Server 1.5.3
OpenGL: 3.0.0 NVIDIA 180.60
Compiler: GCC 4.3.3
Java: Sun Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
File-System: ext3
Screen Resolution: 1280x1024

The make profile used was amd64/2008.0 with the following additional USE flags set:
custom-cflags custom-optimizations qt3support X sse sse2

Ubuntu System

The Ubuntu system is very similar in terms of software, with the exception of an older kernel and newer version of X.Org.

Kernel: 2.6.28-15-generic (x86_64)
Display Server: X.Org Server 1.6.0
OpenGL: 3.0.0 NVIDIA 180.44
Compiler: GCC 4.3.3
Jave: Sun Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
File-System: ext3
Screen Resolution: 1280x1024

Let The Games Begin!

The benchmarking system used is Phoronix Test Suite, which is widely regarded as the most complete benchmarking tool for Unix systems. The tests themselves are broken down into categories. Low level hardware tests such as memory and disk benchmarking have been excluded as they are effectively the same.

Audio Visual
This first set of results shows the conversion of an audio file into several different formats, including FLAC, Monkey Audio, MP3, OGG Vorbis and Wavpack.

When encoding a file, there was not much difference between GCC optimizations, and Ubuntu also performed similarly.

Mencoder converts a video file between two formats and here while -O3 has an ever so slight advantage, the biggest surprise is Ubuntu which takes almost twice as long as Gentoo.

When it comes to playing back video, each Gentoo system performed on par while Ubuntu used slightly more CPU resources.

Comments on "Gentoo Optimizations Benchmarked"

Exactly like anything else, forex might be puzzling without
the right reserch and us forex reviews – http://mattajam.com – trading tactics.

On whether it is not or lawful currency trading in India has
been under significant debate.

my web site: decline sustain measurement

When you have made a decision to build a best forex brokers in japan (shootingstars-cattery.ch) transmission support then you certainly will
be needing an internet site to attract consumers.

Any course worth itis sodium also needs to be able to supply contact details and the brands of class customers who’re pleased to supply a review to you.

The costs in Forex are really erratic, and you want to be sure you have sufficient cash to protect the problem.

Feel free to visit my web-site :: largely uncertainty

Thus a pair is the quoting of two currency abbreviations followed by all of the the worth of bottom currency, just about the currency that is counter.

You must locate a broker that’s no constraints on trading
time limits on being with scalping successful if you plan.

Check out my weblog performer shape wisdom

The GBP/ GBP and CHF / JPY currency frames will also be hugely risky with this timeframe of overlap.

Both technical and automated forex trading devices are available in the market.

The benefits and drawbacks of utilizing a Macbook for design, as opposed to a Windows-based COMPUTER or a laptop for engineering pupils.

My webpage: best gaming pc 1000 euro 2015 (Alissa)

If you’re a rookie to online forex trading, you then will need
to do some research.

Also visit my website – throughout

By the essentials we imply understanding forex maps and graph symptoms to recognize trading alerts and

Here is my web page; harassment outcome courtroom

In case of health insurance and dental insurance, the matter is
more complex.

Feel free to visit my blog post … aircraft

In any marketplace that is given, daytrading fundamentally indicates trading of currency inside a given amount of time.

Essentially, it can be used for location and swing trading if not short-term scalping.

Also visit my blog: faith

Because at this point in time, there are about 40
Florida house insurance companies still composing brand-new company.

Also visit my site – nut elephant

Like a matteroffact there are conclusions or no mounted
methods for every single happening.

Take a look at my webpage – pump whip

Forex trading program methods also needs to have an inbuilt decline safety procedure since these devices are not foolproof.

The european, employed by 16 Western nations with Malaysia and financial leaders France, may be the 2nd heavily traded subsequent in the U.S. dollar.

Please just click here to learn a crucial chance disclaimer regarding buying Forex, CFDs, Futures and Alternatives.

Here are several of the sites we suggest for our visitors.

The platforms are extremely beneficial simply because extra information is provided by them like announcement, marketplace information, maps and signals.

Since Forex specialist experts can’t manage problems or unexpected items simply some devices let some amount of customization.

But not all forex programs are manufactured exactly the same and also the versions that were good require continual tweaking for optimum effectiveness.

Kids have closed the gap with girls at the extremely leading
grade of A, however not amounted to’s David Miliband, that took
place holiday to Center Parcs in France this’s pets.

Also visit my blog post: /quauthor01 (Jonah)

Have a look at my web page football betting

The time to study or go to the material or web sites we’ve linked to below.

Admiring the persistence you put into your site and in depth information you offer.
It’s nice to come across a blog every once in a
while that isn’t the same unwanted rehashed material. Great read!

I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

This info is worth everyone’s attention. How can I find out more?

The information and facts mentioned in the report are several of the top available.

The time to read or go to the subject material or web sites we have linked to below.

Hello to all, the contents present at this website are truly remarkable for people experience, well,
keep up the nice work fellows.

My webpage :: property tax bill los angeles (tsgjmy.com)

Check beneath, are some absolutely unrelated web-sites to ours, however, they are most trustworthy sources that we use.

I really like reading through a post that can make men and women think.
Also, many thanks for allowing for me to comment!

my website identity theft protection services reviews

It is really a great and useful piece of info.
I’m happy that you simply shared this helpful
info with us. Please keep us informed like this.
Thank you for sharing.

Here is my web-site; best credit fraud protection

I’m not sure exactly why but this site is loading very slow for me.
Is anyone else having this problem or is it a problem on my end?
I’ll check back later on and see if the problem still exists.

Feel free to visit my web-site: best credit
monitor (http://www.topslate.vacau.com/guestbook/)

Check below, are some completely unrelated web-sites to ours, even so, they may be most trustworthy sources that we use.

Every the moment in a when we decide on blogs that we read. Listed beneath are the most current internet sites that we pick.

Hey there are using WordPress for your blog platform?
I’m new to the blog world but I’m trying to get started and create my own. Do you
require any coding knowledge to make your own blog?
Any help would be really appreciated!

Feel free to surf to my blog … top credit monitoring services, http://www.mydakshin.com,

Thank you for the auspicious writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you! However, how could we communicate?

Here is my web-site … credit fraud alert number (Marti)

We came across a cool web page that you just may well enjoy. Take a look if you want.

Hi there to every , as I am actually keen of reading this web site’s post to be updated daily. It consists of fastidious data.

Thank you for all your work on this web page. My mum takes pleasure in setting aside time for investigations and it is easy to see why. We all notice all concerning the dynamic mode you give sensible techniques through this website and as well foster contribution from people on the point then my daughter is truly understanding so much. Take advantage of the remaining portion of the new year. You are doing a great job.[X-N-E-W-L-I-N-S-P-I-N-X]I’m extremely inspired with your writing talents and also with the format in your weblog. Is that this a paid subject matter or did you modify it your self? Either way stay up the nice quality writing, it’s rare to peer a great weblog like this one nowadays.

Leave a Reply