Greetings,
Depending on the processor, not all cores are "real" cores. Regarding chunk_size, I typically do not go over 8k for a large array and let chunking do its thing. Spawning workers early is beneficial, prior to allocating large amount of memory for input data.
max_workers => MCE::Util::get_ncpu() / 2,
Regards, Mario
In reply to Re^7: Getting started with MCE (the Many-Core Engine)
by marioroy
in thread Getting started with MCE (the Many-Core Engine)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |