Language Selection

English French German Italian Portuguese Spanish

Gentoo Optimizations Benchmarked

Filed under
Gentoo

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.

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.

Rest Here




More in Tux Machines

Why Open Source is gaining momentum in Digital Transformation?

Once upon a time in IT, using open source simply meant Linux instead of Windows, or maybe MySQL instead of Oracle. Now, there is such a huge diversity of open source tools, and almost every leading digital business and tech startup is making extensive use of them. It’s been a remarkable turnaround for open source over the last 10 years, placing the trend firmly at the heart of the digital revolution. Read more

Linux 4.7

So, after a slight delay due to my travels, I'm back, and 4.7 is out. Despite it being two weeks since rc7, the final patch wasn't all that big, and much of it is trivial one- and few-liners. There's a couple of network drivers that got a bit more loving. Appended is the shortlog since rc7 for people who care: it's fairly spread out, with networking and some intel Kabylake GPU fixes being the most noticeable ones. But there's random small noise spread all over. Read more Also: Linux 4.7 Kernel Officially Released