Does computer influence on benchmarking affect test results?

Does the computer use anything else when benchmarking (using the Benchmark module) affects the test results?

+4
source share
1 answer

Yes Yes. This running perl process follows the general process control rules that your OS runs. The OS process scheduler will distribute processor time among all running processes.

You can influence this distribution command - nice . It can be used to set the priority of a process, so the scheduler can give this process more processor time.

The smaller the pleasant priority value, the more time the processor will receive.

For the exmaple nice -n -20 ./benchmark.pl almost all the processor time will be received

+8
source

Source: https://habr.com/ru/post/1402819/


All Articles