Closed rasolca closed 9 months ago
cscs-ci run
With @rasolca we did a quick test to check if fastcov
might end up anyway oversubscribing the same cores. From a quick check it uses multiprocessing.Process
, which relies on OS scheduler, so it respects the binding given by Slurm.
After a couple of out-of-memory happened in codecov tests e.g. https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/4700071344751697/7514005670787789/-/jobs/5937332970#L5063
I found that python doesn't handle correctly affinity
fastcov uses multiprocessing.cpu_count() as default, which leads to a huge oversubscription. https://github.com/RPGillespie6/fastcov/blob/master/fastcov.py#L940
Generation of the report is slower: e.g.
v.s.
v.s.