Skip to content

tests/eas/preliminary: WorkThroughput improvement

Created by: valschneider

_check_work_throughput() had an unused 'margin' variable. It's now used to check that each CPU does at least 10% more work at its highest OPP than at its lowest. This also 'fixes' false positives induced by the fact that every sysbench run is not quite identical, so we could be comparing 99 events vs 100 events, which should be a failure.

Also added a list of (freq -> work) in the test output should it fail, which can help figuring out what is causing the failure

Merge request reports