Originally posted by phoronix
View Post
Announcement
Collapse
No announcement yet.
GCC vs. LLVM Clang Compiler Performance On AMD's Ryzen
Collapse
X
-
-
Originally posted by sordna View Post
Hey Michael thanks for this test. Can you share some detail on your timed compilation tests, do you use single threaded make or make --jobs # and what number do you pass ? (number of cores? Number of virtual processors shown in /proc/cpuinfo ? What does the Phoronix test suite default to?)Michael Larabel
https://www.michaellarabel.com/
Comment
-
Originally posted by Michael View Post
The details on any test profile can be found by going to OpenBenchmarking.org, finding the test, then clicking on the link for the particular test version.
How is $NUM_CPU_JOBS calculated ? Curious to see if it's set to 8 or 16 for ryzen.
Comment
-
Originally posted by sordna View Post
I went there but see: make -s -j \$NUM_CPU_JOBS 2>&1
How is $NUM_CPU_JOBS calculated ? Curious to see if it's set to 8 or 16 for ryzen.Michael Larabel
https://www.michaellarabel.com/
- Likes 1
Comment
-
-
Originally posted by Michael View Post
it would be 16 for ryzen
Any chance you'll do some tests with 8 jobs and SMT disabled ? Since your mobo can't do it, you can offline the 2nd virtual cpu for every real core id, in this case: for num in 1 3 5 7 9 11 13 15 ; do echo 0 > /sys/devices/system/cpu/cpu$num/online ; done
- Likes 1
Comment
-
Originally posted by Michael View PostJust straight wins vs. losses, if anyone has any better ideas or complementary data, patches certainly welcome! The code is really easy in that part.
This ought to give a more complete picture than the current metric and, more importantly, makes it easier to count results within a 3% range or so as "on par" (i.e., ignoring it completely). I mean, look at the Stockfish results, there is no real "winner" there, the only real outlier is Clang 4.0. Everything else performs basically the same.
Comment
Comment