Announcement

Collapse
No announcement yet.

AmpereOne Performance With GCC vs. LLVM Clang Compilers

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

  • AmpereOne Performance With GCC vs. LLVM Clang Compilers

    Phoronix: AmpereOne Performance With GCC vs. LLVM Clang Compilers

    While having the Supermicro ARS-211M-NR R13SPD server in the lab for AmpereOne benchmarking with the flagship AmpereOne A192-32X processor, I took the opportunity to run some fresh GCC vs. LLVM Clang compiler performance benchmarks on AArch64. Here are those results for that healthy competition between these open-source C/C++ compilers on AmpereOne cores.

    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
    I didn't do any other combinations like going for GCC 14 / GCC 15 development as primarily was interested in seeing the Clang performance and had to limited the tested combinations due to only having this Supermicro AmpereOne server in the lab for a few weeks before needing to return it.
    No matter the excuses, this was a bad choice for a comparison. Clang 19.1 is only about to be released and for drawing conclusions with Clang 20 is it far too early. GCC 14.2 is out for a while now and GCC 13 is starting to get old. This would have been a more interesting article if Clang 20 had been dropped and GCC 14 been included instead.

    Comment


    • #3
      Originally posted by sdack View Post
      . This would have been a more interesting article if Clang 20 had been dropped and GCC 14 been included instead.
      Is there an easy way to install a more recent GCC, if it is not available via the repos on Debian based distributions? And no, pinning packages from testing is not an option.

      Comment


      • #4
        Originally posted by oleid View Post
        Is there an easy way to install a more recent GCC, if it is not available via the repos on Debian based distributions? And no, pinning packages from testing is not an option.
        You can add the Testing-distribution to your list of repos, which is what you should always do when you are a developer. The Stable-distribution is notoriously behind. So is the default GCC under Stable still GCC 12. If for whatever reason this is not doable then download the source, run configure and make, and you are done. Takes like 5 minutes and should not be a problem for anyone.

        Comment


        • #5
          Originally posted by sdack View Post
          You can add the Testing-distribution to your list of repos, which is what you should always do when you are a developer. The Stable-distribution is notoriously behind. So is the default GCC under Stable still GCC 12. If for whatever reason this is not doable then download the source, run configure and make, and you are done. Takes like 5 minutes and should not be a problem for anyone.
          Okay, so to sum it up: the answer is "no".

          Comment


          • #6
            Originally posted by oleid View Post
            Okay, so to sum it up: the answer is "no".
            No, the answer is yes. It is very easy, unless one is you perhaps.

            Comment


            • #7
              Originally posted by sdack View Post
              No, the answer is yes. It is very easy, unless one is you perhaps.
              Ah, personal insults insinuating that the other person is stupid. The very essence of phoronix.


              Neither mixing Debian stable with testing is a reliable option ( I particularly said that I don't want this), nor installing software from source separate from a package manager. I know it is possible. I've done it many times. Probably while you were still in your diapers.
              And no, you cannot "only" compile gcc. That's only possible if the dependencies happen to be available in your distribution. Sometimes you have to fix compilation issues, because for strange reasons gcc doesn't build. I'm not interested in that anymore.

              I specifically asked for an easy solution, pre-built packages or something. But apparently you are not able to think a single meter further and try to understand what others want.

              So no, you had no proper answer to the question I posed.

              If anyone is interested: possibly nix is an option on Debian.
              Last edited by oleid; 17 September 2024, 12:06 AM.

              Comment


              • #8
                Thanks! Can you please add Arm Compiler for Linux next time when comparing compiler performance on ARM? See https://developer.arm.com/Tools%20an...%20for%20Linux

                Comment


                • #9
                  Originally posted by oleid View Post
                  I specifically asked for an easy solution
                  Yes, and installing from source is an easy solution. Of course, when you are stupid as you say, or suffer from dyslexia, ADHD, OCD, PTSD, bipolar, an addiction, or something else then try doing something else like painting, wood working or watch the clouds float past. That might indeed be easier. However, in the time you took to complain could you have installed either Clang or GCC instead. It is that easy. But if you choose to keep complaining, do not want to learn anything new, then many more things in your life will not be easy for you.

                  Comment


                  • #10
                    Originally posted by sdack View Post
                    Yes, and installing from source is an easy solution. .
                    Yeah, installing gcc and all its dependencies (mpfr, isl, gmp, mpc, ...) from source to your home directory without any lifecycle management.
                    This shows who works in a tinkering shop and for whom reliability is important. You have obviously remained at a hobby level. All bark, no bite.
                    Last edited by oleid; 17 September 2024, 06:17 AM.

                    Comment

                    Working...
                    X