MCE reviews

cpanratings
 

RSS | Module Info | Add a review of MCE

MCE (1.002) *****

We are using MCE to monitor and manage over 20,000 devices on our network. We do a get of 20 metrics and a walk of two trees of over 20,000 devices in about 100 seconds using MCE! MCE is truly invaluable - we would not be able to scale our service without it!

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

MCE (1.002) *****

This module has been a HUGE time saver. Programs processing very large volumes of data that were running in hours are now running in 10 minutes or less. Just turn the parts of your script that take a long time to run when done serially into subroutines and this module will give you the ability to process parts of it in parallel and aggregate it back up.

Nice work, Mario! Don't let anyone tell you otherwise.