in reply to Threads From Hell #3: Missing Some Basic Prerequisites [Solved]
Updated: Added duration times for 4 and 2 workers.
Recap for the time taken for the Mandelbrot examples. Testing was done on a MBP (Haswell Core i7 quad-core at 2.6 GHz with HT) running Perl v5.16.2.
Serial code: 21.327 secs (HoH) MCE gather: 5.795 secs (HoH) Sadly, MCE::Shared is not able to reach this thread::shared: 19.157 secs (AoA) Locking is not necessary for this demonstration thread::shared: 9.730 secs (AoA) However, runs faster with added lock statements MCE::Shared: 8.743 secs (AoA) 8 workers ; made possible from parallel IPC MCE::Shared: 11.048 secs (AoA) 4 workers ; supporting processes and threads MCE::Shared: 18.488 secs (AoA) 2 workers
MCE::Shared is not yet available on CPAN and will be released soon along with MCE 1.7.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Threads From Hell #3: Missing Some Basic Prerequisites
by FreeBeerReekingMonk (Deacon) on Jun 01, 2015 at 17:35 UTC | |
by marioroy (Prior) on Jun 02, 2015 at 04:21 UTC |