GCC 14 vs. LLVM Clang 18 Compiler Performance On Fedora 40

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • vladpetric
    Senior Member
    • Oct 2014
    • 516

    #21
    Originally posted by carewolf View Post

    The performce bugs I have filed has been adressed, especially if you debug it down to general cases and assembler. Though I also fixed a few of them myself. The only one I can remember that wasn't fixed, was because it was caused by a specific micro-ops limit in Sandybridge processors, so slightly more agressive optimization caused a regression, but they didn't want to hardcore such specific limits for all processors. clang also doesnt have that.
    E.g. https://bugs.llvm.org/show_bug.cgi?id=20014

    Comment

    • mrg666
      Senior Member
      • Mar 2023
      • 1034

      #22
      At this point I am not expecting any compiler to beat GCC after averaged in a set of benchmarks like Michael did here. GCC 14 is also great with building the latest kernel version. I have been using with Fedora 40 on 8 (or so) computers and there are no problems at all. I tried LLVM before for building Linux kernel, but I did not see any performance miracles there. It is just as good as GCC. Just take your pick.

      Comment

      • junkbustr
        Junior Member
        • Nov 2019
        • 17

        #23
        Is that clock speed on the CPU (7.79Ghz) a typo? I thought the vendor offered 5.1Ghz on the 7980X.

        ALL RIGHT! WHO USED UP ALL THE LIQUID NITROGEN??
        Last edited by junkbustr; 24 April 2024, 10:20 PM.

        Comment

        • imaami
          Junior Member
          • Dec 2021
          • 14

          #24
          Yawn. I'm already on clang-19.

          Comment

          • Kjell
            Senior Member
            • Apr 2019
            • 650

            #25
            Originally posted by imaami View Post
            Yawn. I'm already on clang-19.
            Gentoo?

            Comment

            • Anux
              Senior Member
              • Nov 2021
              • 1902

              #26
              Good we have 2 OS compilers sort of competing with each other, more benefits and choices for us.

              Originally posted by avis View Post
              Not a lot of sense in comparing video codecs because they include hand written assembly for most important/heavy parts of processing, so the compiler's role is quite minimal.
              Since we see up to 5% difference in video codecs it certainly is valuable to compare them and assembly clearly isn't the only relevant factor.

              Comment

              • avis
                Senior Member
                • Dec 2022
                • 2198

                #27
                Originally posted by Anux View Post
                Good we have 2 OS compilers sort of competing with each other, more benefits and choices for us.

                Since we see up to 5% difference in video codecs it certainly is valuable to compare them and assembly clearly isn't the only relevant factor.
                Um, where?

                SVT-AV1: ~2%
                x265: ~2%

                ugv266 is a dead encoder without too much assembly where yeah, up to 5%, but no one cares. VVC is hated and destroyed here on Phoronix, why would you use it? vvenc is tons better, why would you use ugv266?

                What's the practical use of seeing the results of something that absolutely nobody uses? It's like the dude earlier in the thread who requested ages old Quake and Doom games to be tested. Why? This will extremely unlikely to translate to any modern workloads.
                Last edited by avis; 25 April 2024, 05:55 AM.

                Comment

                • marios
                  Senior Member
                  • Jul 2020
                  • 273

                  #28
                  Although those benchmarks are a nice start, we need to see the effects of LTO, graphite vs poly etc. PGO and bolt, albeit useful, are too much of a hassle, since they are not just a flag.

                  Comment

                  • Anux
                    Senior Member
                    • Nov 2021
                    • 1902

                    #29
                    Originally posted by avis View Post
                    Um, where?
                    Exactly the places that you avoid looking because the results are an inconvenience for your strange argumentation. Kvazaar ugv266
                    What's the practical use of seeing the results of something that absolutely nobody uses?
                    How do you know that no one uses it? Are you working for the NSA?

                    Comment

                    • imaami
                      Junior Member
                      • Dec 2021
                      • 14

                      #30
                      Originally posted by Kjell View Post

                      Gentoo?
                      Just Debian, tracking the unstable repo + specific parts of experimental (e.g. the clang/llvm stuff).

                      Comment

                      Working...
                      X