Set the number of cores (cpus). Is this normal behaviour? #3391
-
Expected behaviour and actual behaviourI have written a workflow under Ubuntu, which I limit to 4 cpus, for some processes even a bit more per directive. If I use the same workflow under macOS with M1 chip, it is no longer parallelized as usual. If I assign 8 ( It seems like my available cores are divided by the value I specify in cpus (and cast an integer from that? Like 10 / 3 = 3.33 => 3 cores used). I can't find anything in the documentation about this behaviour. Is it supposed to do that under 21.10.6? With Ubuntu it works as usual mentioned in the documentation. Steps to reproduce the problemI simply created a channel containing 10 values and passing it to a process with the described directive (cpus), which calls a python script that just execute time.sleep(5). Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello, @Subject-13 ! I think it would be good if you can share how you're measuring CPU usage. I have seen people using different approaches to do that, and they're not always correct if I remember correctly. |
Beta Was this translation helpful? Give feedback.
Hello, @Subject-13 !
I think it would be good if you can share how you're measuring CPU usage. I have seen people using different approaches to do that, and they're not always correct if I remember correctly.