2018-07-11 9:19 GMT+02:00 Andrea Griffini <agr...@tin.it>: > May be is something obvious but I find myself forgetting often about > the fact that most modern CPUs can change speed (and energy consumption) > depending on a moving average of CPU load. > > If you don't disable this "green" feature and the benchmarks are quick then > the > result can have huge variations depending on exactly when and if the CPU > switches to fast mode.
If you use "sudo python3 -m perf system tune": Turbo Boost is disabled and the CPU frequency is fixed. More into at: http://perf.readthedocs.io/en/latest/system.html Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com