Announcement

Collapse
No announcement yet.

An Early Look At GCC 12 Compiler Performance On The Core i9 12900K

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • An Early Look At GCC 12 Compiler Performance On The Core i9 12900K

    Phoronix: An Early Look At GCC 12 Compiler Performance On The Core i9 12900K

    With GCC 12 now onto stage four meaning that the major feature work is over, I've slowly begun running more tests on the GCC 12 compiler that is due for its stable introduction around April. First up is a look at the Core i9 12900K "Alder Lake" performance on GCC 12 in its near-final form compared to GCC 11.2 as the current stable release from last year.

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    The charts look stone age and are barely readable.

    Use responsive design column charts with error bars, e.g. https://www.highcharts.com/docs/char...ror-bar-series

    Comment


    • #3
      Originally posted by max0x7ba View Post
      The charts look stone age and are barely readable.

      Use responsive design column charts with error bars, e.g. https://www.highcharts.com/docs/char...ror-bar-series
      PTS is open source, so you're welcome to contribute.

      Comment


      • #4
        The charts in the benchmarks only have one real flaw - the mix of "bigger is better" and "smaller is better" makes them far harder to understand. It would be a huge step forward to be consistent - bigger is better.

        Comment


        • #5
          Error bars would be a big step forward; it's hard to know to what extent results are affected by noise (especially with just N=3).

          Benchmarking is hard; see e.g. https://speakerdeck.com/haypo/how-to...able-benchmark (disclosure: Victor is a colleague of mine).

          From the "please may I have a pony" department: even better would be for the benchmark to detect where the hotspots in the profile are, and to compare the generated asm before/after for the pertinent hotspots, and file some kind of actionable bug report in our bug tracker (caveat: I'm a GCC developer, though I focus mostly on diagnostics rather than optimization).

          Comment


          • #6
            No complaints about the charts. They convey the information well enough. Michael works 100 hour weeks and probably doesn't make much money keeping this wonderful site going for over a decade now I think. He worked his butt off at the beginning of the year doing a *BSD flavor comparison I asked for just for me.

            What is interesting is that -mach=native sometimes yielded no gains, sometimes substantial gains, and curiously enough sometimes huge performance losses!

            Comment


            • #7
              are the produced binaries with -O3 -flto in some way measurably faster than the ones with -O2?

              Comment


              • #8
                Originally posted by SigHunter View Post
                are the produced binaries with -O3 -flto in some way measurably faster than the ones with -O2?
                Clear Linux consistently wins in benchmarks on Phoronix and they use O3 -- with a plethora of other optimizations enabled, though.

                Comment


                • #9
                  Originally posted by birdie View Post

                  PTS is open source, so you're welcome to contribute.
                  Best comment so far!

                  Comment


                  • #10
                    Very recently GCC12 started to be able to compile the Kernel successfully again. That was broken for months.

                    Comment

                    Working...
                    X