ocaml-bench / sandmark

A benchmark suite for the OCaml compiler
The Unlicense
82 stars 40 forks source link

Running parallel benchmarks seems to fail sometimes because chrt permissions are lost? #469

Open punchagan opened 4 months ago

punchagan commented 4 months ago

I noticed that parallel runs on Navajo started failing suddenly, because chrt -r 1 running permissions are lost. Not sure if this happened because of an upgrade, but adding an explicit test that chrt -r 1 is runnable and printing an explicit error message in this case would make it easy to debug and fix.

taskset --cpu-list 0 chrt -r 1 ls
chrt: failed to set pid 0's policy: Operation not permitted