Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nemobench5 compiler regression #156

Open
teuben opened this issue Oct 18, 2024 · 1 comment
Open

nemobench5 compiler regression #156

teuben opened this issue Oct 18, 2024 · 1 comment

Comments

@teuben
Copy link
Owner

teuben commented Oct 18, 2024

As of gcc-12 (13 and 14 as well) both orbint and potcode (especially) run a lot slower.

Here's a sample on an i9-12900K, but this was confirmed on laptops as well, as well as an AMD Ryzen 7 5800H, suggestive there's some coding in NEMO that should be improved. potential function pointers?

# gcc-11
CPU_USAGE  directcode  :  3.95  3.95  0.00  0.00  0.00  1395775176
CPU_USAGE  gyrfalcON   :  3.18  3.16  0.00  0.00  0.00  1395775572
CPU_USAGE  hackcode1   :  3.25  3.24  0.00  0.00  0.00  1395775890
CPU_USAGE  orbint      :  3.23  3.22  0.00  0.00  0.00  1395776215
CPU_USAGE  potcode     :  3.59  3.58  0.00  0.00  0.00  1395776539
CPU_USAGE  treecode1   :  3.89  3.88  0.00  0.00  0.00  1395776898
NEMOBENCH5 score:   1422.48

# gcc-13
CPU_USAGE  directcode  :  3.82  3.82  0.00  0.00  0.00  1395837821
CPU_USAGE  gyrfalcON   :  3.21  3.21  0.00  0.00  0.00  1395838204
CPU_USAGE  hackcode1   :  3.26  3.26  0.00  0.00  0.00  1395838526
CPU_USAGE  orbint      :  3.98  3.97  0.00  0.00  0.00  1395838853    <=== bit slower
CPU_USAGE  potcode     :  6.56  6.54  0.00  0.00  0.00  1395839251    <=== much slower
CPU_USAGE  treecode1   :  3.72  3.71  0.00  0.00  0.00  1395839907
NEMOBENCH5 score:   1221.99
@teuben teuben changed the title bench5 compiler regression nemobench5 compiler regression Oct 18, 2024
@teuben
Copy link
Owner Author

teuben commented Oct 21, 2024

It appears the default compilation with -g -O2 was doing the trick. With -O3 most (if not all) the differences in performance with potcode and orbint has gone away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant