Originally posted by skeevy420
View Post
Announcement
Collapse
No announcement yet.
"CC_OPTIMIZE_FOR_PERFORMANCE_O3" Performance Tunable Dropped In Linux 6.0
Collapse
X
-
Originally posted by dekernel View PostSo they are giving the easy option to enable -O3 if you want ... or there are apparently distros doing just that so just use that distro and be done with it. Me, personally, I am paid to develop solutions, and no part of that is debugging edge-case kernel crashes. I want stability...period, and I will always take guidance from the people who own the code because they know far more than myself how to best use their product.
I guess we have the same here too.
- Likes 1
Comment
-
I did some testing recently: https://www.phoronix.com/forums/foru...91#post1331591
None of these are straight O3, but you get the idea. Plus the speedups here and there Micheal found in the article.
- Likes 4
Comment
-
Originally posted by dekernel View PostSo they are giving the easy option to enable -O3 if you want ... or there are apparently distros doing just that so just use that distro and be done with it. Me, personally, I am paid to develop solutions, and no part of that is debugging edge-case kernel crashes. I want stability...period, and I will always take guidance from the people who own the code because they know far more than myself how to best use their product.
That and what kozman wrote about fuzzing it yourself if it's important to you.
Comment
-
BTW, it can be some kind of https://en.wikipedia.org/wiki/Survivorship_bias
Not that there lack of -O3 users, but there a lot of -O3 users actually and they noticed ... no difference or breakage, so no reports.
Also to note: the main goal of GentooLTO was to find and report bugs, and I hope we helped a lot (LTO, -O3, GCC GRAPHITE, etc.).
- Likes 9
Comment
-
Originally posted by kozman View PostLike anything, someone has to take the 1st steps to use -O3 a LOT. Beat the hell out of O3 from all angles. Find those pesky corner cases. Fuzz, if possible, the crap out of O2 and then O3 and compare side by side. I'm no compiler expert but at the very least, it requires years of people beating on it but, most importantly, reporting results and errors.
Originally posted by kozman View PostGet -O2 running as close to perfect before you go heralding or cursing what O3 can bring to the table. It seems it still needs some more time to mature and develop. It's not worth losing data to score a couple more % of perf.
Originally posted by kozman View PostIf Clear Linux is indeed leveraging O3 a lot, they've probably hit some of the odd effects and behaviors people have talked about.
Originally posted by kozman View PostI just hope they're reporting those effect and, if they can be fixed, contributing fixes to stabilize that O3 feature.
Second, the fact that Clear Linux continues to use -O3 implies they must have fixed any bugs they hit, which they're unlikely to do without upstreaming those fixes, which they can't do without reporting the bugs.
Originally posted by kozman View PostMaybe GCC 13/14 will be in better shape with O3.
It seems your entire post is a tower of flawed assumptions.
- Likes 11
Comment
-
Originally posted by dekernel View PostSo they are giving the easy option to enable -O3 if you want ...
Originally posted by dekernel View PostMe, personally, I am paid to develop solutions, and no part of that is debugging edge-case kernel crashes. I want stability...period,
Originally posted by dekernel View PostI will always take guidance from the people who own the code because they know far more than myself how to best use their product.
- Likes 2
Comment
-
Originally posted by CochainComplex View PostReminds me of the conservative racecar engineer telling that speed above 150km/h in corner xyz is not save because...techyadayada. But after 10 rounds petrolhead "no brainer" testdriver jumps out of the car shouting: did you see? I beat the 160km/h mark in the corner?! wuhhuu that was fing awesome.
In that scenario, they have some basis for their thinking. In this case, we have nothing but old anecdotes and superstition.
- Likes 3
Comment
-
Originally posted by binarybanana View PostI did some testing recently: https://www.phoronix.com/forums/foru...91#post1331591
Comment
Comment