Reviews by Mario Roy

cpanratings
 

RSS

MCE (1.002)

The below is a test running on a Sun T5120 with eight cores each at 1.165 GHz. This chip has 32 logical cores.

$ ls -l o.ap
-rw-r--r-- 1 red other 929645146 Nov 9 19:46 o.ap

## binary wc utilizes one core

$ time wc -l o.ap

4625247 o.ap

real 0m36.031s
user 0m34.167s
sys 0m1.864s

## wc.pl example in MCE

$ time ./wc.pl --max_workers 4 -l o.ap

4625247 o.ap

real 0m6.676s
user 0m24.002s
sys 0m1.741s

$ time ./wc.pl --max_workers 8 -l o.ap

4625247 o.ap

real 0m3.820s
user 0m25.939s
sys 0m1.911s

$ time ./wc.pl --max_workers 16 -l o.ap

4625247 o.ap

real 0m2.911s
user 0m34.679s
sys 0m2.333s

## widefinder.pl example in MCE

$ ./wide_finder.pl --max_workers 9 o.ap
41164 2006/09/29/Dynamic-IDE
9252 2006/07/28/Open-Data
6016 2003/07/25/NotGaming
3703 2006/01/31/Data-Protection
3700 2003/09/18/NXML
3700 2003/10/16/Debbie
3238 2003/06/23/SamsPie
2778 2005/11/03/Cars-and-Office-Suites
2778 2005/07/27/Atomic-RSS
2778 2006/01/08/No-New-XML-Languages

## Compute time: 1.818

The Sun OS box tested here runs at 1.165 GHz.

The Sun OS box at www.tbray.org/ongoing/When/200x/2007/...
was running at 1.4 GHz.

The fastest time submitted was a perl script utilizing Sys::Mmap and 32 workers
taking 1.51 seconds.

So, in comparison and accounting for the processor speed difference, MCE is
able to perform very well utilizing 9 workers. 1.51 / 1.818 * 1.4 GHz = 1.163 GHz

Mario Roy - 2012-11-09T12:16:02 (permalink)

1 out of 2 found this review helpful. Was this review helpful to you?  Yes No