By: Andrei F (andrei.frm.delete@this.gmail.com), May 26, 2022 7:37 am
Room: Moderated Discussions
> able to tune the optimization for the CPUs of the newest of those reviews.
I see what this discussion is about, and it's again a lot of nonsense by people who haven't done their due diligence in testing or actually practised what they preach.
What you refer to as "tune" are the mtune setting or specifically the scheduler models fed into the compilers. Irrelevant of if we're talking about LLVM or GCC, these are almost completely irrelevant to the performance of a run and any variations are within the margin of error on the geomean score.
The decision to do ISO binaries on the -march=x86-64 -mtune=core-avx2 -mfma -mavx -mavx2 was because that was the subset that performed the best on all platforms within margin. On a Zen CPU running -mcpu=zen2/3 didn't make any difference in performance over 0.5% on the geomean, and while there's some difference in subscores they were a mish-mash of improvements as well as regressions.
> the compilation was made for a Haswell, even if the target was an Ice Lake
Because I did that and it doesn't make any difference in performance.
> the best available compiler should have been chosen on each platform, and on x86 I doubt that clang is that.
The value of having the same compiler that enables the same high-level optimisations on mobile devices, macOS, and Windows/Linux is of higher priority in the client SPEC numbers than the small GCC uplift. The GCC vs Clang performance difference were +2.5% for int2017 and +1.1% for fp2017. All the server SPEC numbers published were on GCC because that was the priority target for that environment and because there's little point in comparing a laptop to a server.
> So if an old clang version has been used for all x86 CPUs, the newer must have been disadvantaged.
Again, you speak theories instead of having verified this. It's just not the case.
> applying the benchmark rules, i.e. using the best compiler with the best options, for each CPU.
The benchmark rules state no such thing. I would suggest familiarising yourself with them.
I see what this discussion is about, and it's again a lot of nonsense by people who haven't done their due diligence in testing or actually practised what they preach.
What you refer to as "tune" are the mtune setting or specifically the scheduler models fed into the compilers. Irrelevant of if we're talking about LLVM or GCC, these are almost completely irrelevant to the performance of a run and any variations are within the margin of error on the geomean score.
The decision to do ISO binaries on the -march=x86-64 -mtune=core-avx2 -mfma -mavx -mavx2 was because that was the subset that performed the best on all platforms within margin. On a Zen CPU running -mcpu=zen2/3 didn't make any difference in performance over 0.5% on the geomean, and while there's some difference in subscores they were a mish-mash of improvements as well as regressions.
> the compilation was made for a Haswell, even if the target was an Ice Lake
Because I did that and it doesn't make any difference in performance.
> the best available compiler should have been chosen on each platform, and on x86 I doubt that clang is that.
The value of having the same compiler that enables the same high-level optimisations on mobile devices, macOS, and Windows/Linux is of higher priority in the client SPEC numbers than the small GCC uplift. The GCC vs Clang performance difference were +2.5% for int2017 and +1.1% for fp2017. All the server SPEC numbers published were on GCC because that was the priority target for that environment and because there's little point in comparing a laptop to a server.
> So if an old clang version has been used for all x86 CPUs, the newer must have been disadvantaged.
Again, you speak theories instead of having verified this. It's just not the case.
> applying the benchmark rules, i.e. using the best compiler with the best options, for each CPU.
The benchmark rules state no such thing. I would suggest familiarising yourself with them.
Topic | Posted By | Date |
---|---|---|
Zen 4 is really bad | Kara | 2022/05/26 01:52 AM |
Zen 4 is really bad | -.- | 2022/05/26 02:13 AM |
who is the champ right now? | Michael S | 2022/05/26 03:36 AM |
who is the champ right now? | Kara | 2022/05/26 04:16 AM |
Alder lake better than zen4! | Kara | 2022/05/26 04:24 AM |
Alder lake better than zen4! | Adrian | 2022/05/26 05:40 AM |
Alder lake better than zen4! | anon2 | 2022/05/26 06:14 PM |
Alder lake better than zen4! | Adrian | 2022/05/27 04:18 AM |
Alder lake better than zen4! | Matt Hughes | 2022/05/28 11:15 PM |
who is the champ right now? | -.- | 2022/05/26 05:23 AM |
who is the champ right now? | Adrian | 2022/05/26 06:09 AM |
who is the champ right now? | Andrei F | 2022/05/26 06:16 AM |
who is the champ right now? | Adrian | 2022/05/26 07:10 AM |
who is the champ right now? | Andrei F | 2022/05/26 07:37 AM |
who is the champ right now? | Andrei F | 2022/05/26 07:59 AM |
who is the champ right now? | Eric Fink | 2022/05/27 12:17 AM |
who is the champ right now? | Adrian | 2022/05/27 05:41 AM |
Optimally? | Anon | 2022/05/26 09:43 AM |
Optimally? | Andrei F | 2022/05/26 12:10 PM |
who is the champ right now? | -.- | 2022/05/26 06:43 PM |
who is the champ right now? | Adrian | 2022/05/27 05:24 AM |
Nothing wrong with anads spec2006 results - see the breakdown | Heikki Kultala | 2022/05/27 03:23 PM |
Nothing wrong with anads spec2006 results - see the breakdown | Doug S | 2022/05/27 09:59 PM |
Nothing wrong with anads spec2006 results - see the breakdown | Matt Hughes | 2022/05/28 06:32 PM |
Nothing wrong with anads spec2006 results - see the breakdown | Michael S | 2022/05/29 01:44 AM |
Nothing wrong with anads spec2006 results - see the breakdown | Adrian | 2022/05/29 03:53 AM |
Zen 4 is really bad | Adrian | 2022/05/26 05:16 AM |
Zen 4 is really bad | -.- | 2022/05/26 05:58 AM |
Zen 4 test conditions | Adrian | 2022/05/26 06:14 AM |
Zen 4 test conditions | Groo | 2022/05/26 06:01 PM |
Zen 4 ECC | Adrian | 2022/05/26 06:33 AM |
Zen 4 ECC | -.- | 2022/05/26 06:38 PM |
Zen 4 ECC | Adrian | 2022/05/27 05:11 AM |
Zen 4 ECC | -.- | 2022/05/27 08:30 PM |
Zen 4 ECC | Michael S | 2022/05/28 11:19 AM |
Zen 4 ECC | drAgonear | 2022/05/26 11:58 PM |
Zen 4 ECC | David Hess | 2022/05/30 07:29 PM |
Zen 4 is really bad | goose | 2022/05/26 08:14 PM |
Zen 4 is really bad | Adrian | 2022/05/27 04:44 AM |
Zen 4 is really bad | James | 2022/05/27 06:13 AM |
Zen 4 is really bad | John H | 2022/05/26 05:45 AM |
Zen 4 is really bad | Doug S | 2022/05/26 10:50 AM |
Zen 4 is really bad | Dummond D. Slow | 2022/05/28 09:14 PM |
Zen 4 is really bad | Doug S | 2022/05/29 09:49 AM |
Please check the faxts instead of posting crap like this | Heikki Kultala | 2022/05/26 11:05 AM |
Zen 4 IPC | ⚛ | 2022/05/26 11:24 AM |
Zen 4 IPC and AVX-512 | Per Hesselgren | 2022/05/27 01:07 AM |
Zen 4 IPC and AVX-512 | Per Hesselgren | 2022/05/27 03:44 AM |
Zen 4 IPC and AVX-512 | Adrian | 2022/05/27 04:57 AM |
Zen 4 IPC and AVX-512 | anon | 2022/05/27 08:22 AM |
Zen 4 is really bad | Parsnip | 2022/05/29 04:20 AM |
What do you mean by 3-wide desing? | Heikki Kultala | 2022/05/29 01:05 PM |
What do you mean by 3-wide desing? | Doug S | 2022/05/29 02:32 PM |