Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Run the benchmarks with priority #50

Closed
joao-paulo-parity opened this issue Sep 1, 2021 · 0 comments · Fixed by #53
Closed

Run the benchmarks with priority #50

joao-paulo-parity opened this issue Sep 1, 2021 · 0 comments · Fixed by #53

Comments

@joao-paulo-parity
Copy link
Contributor

We have other processes running on the dedicated machine and they might interfere with the benchmarks' timings.

We can work around that by giving the bot's benchmarks a higher priority, e.g.

sudo ionice -c 1 -n 0 sudo nice -n20 sudo -u benchbot cargo ...

Aside from ionice and nice, I've also heard about chrt but never used it myself.

I'm by no means an expert in setting process' priorities so I'd advise for the implementer to also consider other Unix tools aside from the ones listed above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant