Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-06-01 22:48 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (11 votes). Check out past polls.