[Ns-developers] [RFC] Worker Infrastructure - Parallelization in Large

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jan 6 11:48:26 PST 2009


On Tue, 2009-01-06 at 20:33 +0100, Hagen Paul Pfeifer wrote:

> >3) You would be my personal hero if you would modify the waf
> >build/regression system to run the regression suite using a small C++
> >program based on the WorkManager when it is available on the target
> >platform.
> 
> An alternative way is something like "if sys.platform == 'win32'". The
> interesting question is _how_ to react for systems where fork(2) is not
> supported.

We support win32 through cygwin so, I am not worried about the lack of
fork.

> Should "WorkManager::Run()" blindly ignores that a parallelized execution is
> not supported and execute all registered task consecutively. This is my
> favorite solution because the simulation file is independent from the platform
> and the only disadvantage is a slower execution. My personal wish is that the
> WorkManager is totally opaque to the user.

This also sounds great.

Mathieu



More information about the Ns-developers mailing list