comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multi-core techniques
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multi-core techniques [message #70421 is a reply to message #70420] Fri, 16 April 2010 03:47 Go to previous messageGo to previous message
Juggernaut is currently offline  Juggernaut
Messages: 83
Registered: June 2008
Member
On Apr 16, 5:02 am, Allard de Wit <allard.de...@wur.nl> wrote:
> Dear Tim,
>
> My experience with the IDL thread pool is that for certain type of
> operations in ENVI, the thread pool is actually slowing things down.
> The most notable example was a "Sum data bands"  operation in ENVI
> which executed extremely slow. After disabling the thread pool (cpu,
> TPOOL_NTHREADS=1), the operation executed several times faster. Maybe
> some IDL internals that decide on when to use or not to use the thread
> pool, performed poorly in the case.
>
> Another approach on parallelizing your process is to use the
> IDL_IDLbridge which allows you to spawn multiple IDL session which can
> run on different cores. You may want to have a look at my process
> manager, which uses this technique to distribute processing tasks over
> several bridges. You can get the code here:
> ftp://sc:ima...@ftp.alterra.nl/pub/adewit/process_manager.zi p
>
> Allard de Wit

Other methods include the use of the IDL_IDLBridge to spawn a separate
processes on the other core. I've found this works well if the
overhead of setting up the IDL_IDLBridge object is low.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: mandelbrot
Next Topic: mandelbrot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Dec 03 21:10:42 PST 2025

Total time taken to generate the page: 2.07636 seconds