in reply to MCE - max_workers
Hi Ken,
That's a great idea. I can add a regex check for %; i.e. max_workers => '25%' and set the value accordingly. It will clamp to 1 minimum and MCE::Util::get_ncpu() maximum.
With regards to max_workers => 'auto', that limits to 8 max including on machines with more than 8 logical cores. It was a safety mechanism at the time to not have MCE consume more cores for heavy IO related tasks. Basically, I did not want for MCE to be the reason why a server went down.
auto*0 is not a bug. The minimum number of workers is 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MCE - max_workers
by kcott (Archbishop) on Nov 16, 2021 at 04:43 UTC | |
by marioroy (Prior) on Nov 16, 2021 at 09:56 UTC | |
by kcott (Archbishop) on Nov 16, 2021 at 12:27 UTC | |
by marioroy (Prior) on Nov 17, 2021 at 01:48 UTC |