• DevelopmentTooling
  • Call for testers of Ryzen 1000 and 2000 owners to test AVX2 optimized libs

Hey ! User of a Ryzen 2600 here. I would like to help you, but when I put the ldd /usr/bin/id in a terminal I got this output :
linux-vdso.so.1 (0x00007ffff7773000)
libc.so.6 => /usr/lib/haswell/libc.so.6 (0x00007fc8c638c000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007fc8c659e000)

So as written, my lib64 is no the Haswell one that Joebonrichie talk about, buut if I understood well what Datadrake say after, it's 32 bit stuff so I should read the line above wich mention Haswell, isn't it ? As you can see I'm not quite a power user.
Thus, if you can confirm that I've got the good configuration, I can run the test for you.

    Flo That's exactly what you should see, one or more libraries from /usr/lib/haswell or /usr/lib64/haswell.

    Flo if I understood well what Datadrake say after, it's 32 bit stuff

    No, Haswell and Core 2 are both 64-bit. Haswell supports newer instruction sets like AVX and AVX2. You won't see that just from ldd or similar.

    • [deleted]

    • Edited

    Output of ldd /usr/bin/id :

    linux-vdso.so.1
    	libc.so.6 => /usr/lib/haswell/libc.so.6
    	/usr/lib64/ld-linux-x86-64.so.2

    Running phoronix-test-suite run-test system/glibc-benchmark gave me an error "[PROBLEM] Invalid Argument: system/glibc-benchmark", found something that looked like it, in the pts/glibc-bench folder which i then ran.

    Ryzen 2700 results:

      [deleted] Thanks for running the benchmark! Looks like results are good and are in-line with my zen2 results. Looks like there is a slight regression for the exp test though? On my system exp was 4.2% faster, could just be an anomaly.

      You're right, it is pts/glibc-benchmark but I can't seem to be able to edit my post.

        • [deleted]

        Ran the exp test again to confirm, and added the log2 test i forgot.

        exp test with glibc-2.29-61: 5.93862
        exp test with glibc-2.29-59: 5.86829

        log2 test with glibc-2.29-61: 5.06039
        log2 test with glibc-2.29-59: 6.83329

        For anyone else who is testing, i had to run: phoronix-test-suite run-test pts/glibc-bench

        i'll have a look into fixing the performance regression for exp on zen1, kind of difficult as it faster for me on zen2. Thanks again for running the tests.

        Hi there,

        Laptop: Huawei Matebook D Ryzen 2500U
        Specs:

        Output of ldd /usr/bin/id :
        linux-vdso.so.1 (0x00007fff216cf000)
        libc.so.6 => /usr/lib/haswell/libc.so.6 (0x00007f78c5d3a000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f78c5f3b000)

        Results using default Solus glibc: https://openbenchmarking.org/result/2003018-VE-GLIBCNEW179

        ** Results using default Solus r-benchmark:** Could not install r-benchmark (rbenchmark).

        ** Results using old glibc:** https://openbenchmarking.org/result/2003017-VE-GLIBCOLD177

        first results w default Solus libs; https://openbenchmarking.org/result/2003036-HU-TESTONE7872
        -r results with default solus libs: would not run

        older lib results: https://openbenchmarking.org/result/2003033-HU-OLDGLIB5124

        so, new libs were worse in exp, modf, sqrt, and moderately better in all others than the older libs.
        if these newer libs were put in in sync with this past Fridays update, can the change be what is causing screen tearing for me since the update when running any video full screen??

          Hi, using default glibc: here and old glibc here tested on a Ryzen 2700X

          Thanks guys. Good enough data to be confident that it's working as intended.

          Made a typo for the r benchmark it should be pts/rbenchmark 😅

          I can also make some tweaks to the toolchain to hopefully fix the exp, sqrt and modf small performance regressions some people were having.

          Drewfus unfortunately i can't help you there, the changes to glibc wouldn't cause your screen tearing issues.

          7 days later

          A bit late to the party, but here are results for my Ryzen 5 2600X. Seems fairly consistent with the rest of the results.

          As an aside, I think it is possible to get both benchmarks in the same report with the following:

          $ phoronix-test-suite run-test pts/glibc-bench pts/rbenchmark
          ...
              Enter a name for the result file: glibc
              Enter a unique name to describe this test run / configuration: glibc61
          ...
              Would you like to upload the results to OpenBenchmarking.org (y/n): n
          
          $ sudo eopkg it https://packages.getsol.us/shannon/g/glibc/glibc-2.29-59-1-x86_64.eopkg
          $ phoronix-test-suite run-test pts/glibc-bench pts/rbenchmark
          ...
              Enter a name for the result file: glibc
              Enter a unique name to describe this test run / configuration: glibc59
          ...
              Would you like to upload the results to OpenBenchmarking.org (y/n): y
          $ sudo eopkg it --reinstall glibc

          Of course, I figured that out after I had already performed, merged and uploaded the benchmarks.

          Thanks that's the first gen1 result posted. Definitely inconsistent/wonky perf with exp and sqrt across the board, i'll be updating glibc to 2.31 soon so can have another look at it then.

          No one ran any R benchmarks (it's a lot quicker to run as well) but I think the perf will be pretty much in-line as zen1 and zen2 results were similar for glibc.

            6 days later
            JoshStrobl unstickied the discussion .