Test core count and hyperthreadnig #443
-
It says the program is tested using 8 cores of an EPYC 7502P. How is that implemented? Does Runtime.getRuntime().availableProcessors() return 8? Or 16 since hyperthreading is enabled? Edit: availableProcessors() will definitely always return 8. It's just question if those are all physical cores or not. @gunnarmorling Can you confirm if hyperthreading is enabled on the test server? My implementation is efficient enough at exploiting ILP that running extra threads with hyperthreading just slows it down due to cache contention. Edit: It seems like server CPUS all have their physical cores listed first, for both AMD and Intel, even for multiple-socket machines. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can check in |
Beta Was this translation helpful? Give feedback.
-
So if hyperthreading is enabled it will only run on 4 cores with 8 threads. However the script also tries to print a warning if hyperthreading is enabled, so it's seems like maybe it's not enabled on the test machine. |
Beta Was this translation helpful? Give feedback.
You can check in
evaluate.sh