Toby Everett suggested Win32::ProcFarm in another forum for a similar
problem (an excerpt from his message):

"What Win32::ProcFarm
lets you do is define a single parent process that in turn spins off a bunch
of child processes.  The child processes are assigned tasks sequentially
from a pool of tasks (pretty much your standard worker thread pattern in a
multi-threaded language), and Win32::ProcFarm takes care of all the
communications issues. To improve the performance, have the parent process
assign blocks of tasks rather than single tasks (since there's some latency
between the parent and the child processes, this will amortize the latency
over a large group of tasks - for instance, have the child processes execute
variable requests in blocks of 100)."


----- Original Message -----
From: "Bill Stennett" <[EMAIL PROTECTED]>
To: "Activeperl" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 10:12 AM
Subject: multi processor support in AS perl for win NT4


> Hi All
>
> We use AS perl 5.6 on windows NT4.
>
> I have a long running process (it takes about half an hour)
which indexes
> entries in a glossary and I need to speed it up if possible.
I switched to
> a dual processor system and one thing I noticed is that when
the process is
> running the NT task manager only shows one processor doing
significant work.
> Is AS perl multiprocessor aware by default or do I have to
download a
> different version?
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to