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

odd performance difference bench11 and bench12 #178

Open
teuben opened this issue Mar 9, 2025 · 0 comments
Open

odd performance difference bench11 and bench12 #178

teuben opened this issue Mar 9, 2025 · 0 comments
Labels
OS an upstream issue in the OS

Comments

@teuben
Copy link
Owner

teuben commented Mar 9, 2025

Modern laptops have thermal protection, so they tone down the cpufreq when it gets too hot. This effects benchmarks, or makes them vary a lot, as other things affect the CPU on a multi-core machine.
The bench11 and bench12 are short runs with gyrfalcON and hackcode1 resp, usually taking 10-20 sec.

The bench11a and bench12a are the same, except they run "forever". This way tools that monitor the cpufreq (KDE has a nice graphical tool hidden in their System Monitor tool, but you have to activate it) can be seen how they react to a CPU heating up.

It was observed that bench11a would stay at the peak freq, whereas bench12a would drop a notch. For example on my k2 laptop the peak is 4.7GHz, but bench12a would drop to 4.4GHz.. This does depend on power settings, in particular performance mode would also attract lots of other tasks to steal cpu cycles, and the cpufreq curve looks erratic. In powersave mode it will achive this clear distinction that gyrfalcON is able to hover at peak cpufreq, but hackcode1 drops.

To note, this can depend a lot on the linux kernel version, and the CPU model of course.

This observation was made on a i7-1260P with 6.8.0-51-kfocus kernel. YMMV as they say.

@teuben teuben added the OS an upstream issue in the OS label Mar 9, 2025
@teuben teuben changed the title performance difference bench11 and bench12 odd performance difference bench11 and bench12 Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS an upstream issue in the OS
Projects
None yet
Development

No branches or pull requests

1 participant