Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Optimizing with Caching vs. Parallelizing (MCE::Map)

by Anonymous Monk
on Apr 07, 2020 at 18:15 UTC ( #11115184=note: print w/replies, xml ) Need Help??


in reply to Optimizing with Caching vs. Parallelizing (MCE::Map)

These "surprising" results really shouldn't surprise you. Multithreading a compute-intensive application can only try to exploit the presence of multiple CPUs or cores, but even so the added overhead of multithreading can easily wipe out all gains. Multithreading really shines only when it facilitates I/O overlap.
  • Comment on Re: Optimizing with Caching vs. Parallelizing (MCE::Map)

Replies are listed 'Best First'.
Re^2: Optimizing with Caching vs. Parallelizing (MCE::Map)
by 1nickt (Abbot) on Apr 07, 2020 at 19:02 UTC

    My cmd-f shows the only use of 'surprising' in this thread is by you. You don't seem to know what you are talking about, have clearly not run any of the code in this highly informative thread, and appear to be just another blowhard.

    Unsurprising, for someone who doesn't sign their posts.


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-10-25 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?