Originally posted by nuetzel
View Post
Announcement
Collapse
No announcement yet.
Benchmarks Of Arch Linux's Zen Kernel Flavor
Collapse
X
-
-
As a gentoo user I'd like to point out that unless you're editing Kernel make files, there's only -O2 or -Os options for compiling the kernel, I do however use that patches that allow -march=native from https://github.com/graysky2/kernel_gcc_patch which has been benchmarked
Comment
-
Originally posted by birdie View PostCompiling the kernel with -O4 like many Gentoo users have been doing for years would have surely given them better results.
Oh, wait, -O4 doesn't exist and works as -O3 and -O3 in its turn often doesn't give any benefits but makes your binaries a lot bigger.
Well, time to dig into `man gcc` and find something no one has been using before. -ffast-math for the win! Oh wait, it's unsafe to use.
Exercises with uber-optimizations will probably never cease. Maybe 'cause people don't write compilers while believing there's some hidden untapped potential only for them.
99% of programmers use floats just to calculate "real number" stuff, they don't even know what a exponent/significand is, so it's mostly safe.
For the kernel though, it won't make a difference since it doesn't use floating point to begin with.
- Likes 3
Comment
-
@Michael: I like the comparison graphs for 2 setups. I would suggest a short first line that explains what follows (as equivalent to "More is better") because I always have to think twice what the graph bars mean. The worst result of the two is the baseline, and the percentage is the relative disadvantage of the setup (in the current column), i.e. the empty column setup is N % better than the column with the bar?
Comment
Comment