Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: Getting started with MCE (the Many-Core Engine)

by marioroy (Priest)
on Jun 13, 2018 at 20:04 UTC ( #1216587=note: print w/replies, xml ) Need Help??


in reply to Re^6: Getting started with MCE (the Many-Core Engine)
in thread Getting started with MCE (the Many-Core Engine)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1216587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2019-03-21 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (110 votes). Check out past polls.

    Notices?