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 #70422 is a reply to message #70421] Fri, 16 April 2010 02:02 Go to previous messageGo to previous message
wita is currently offline  wita
Messages: 43
Registered: January 2005
Member
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:image1@ftp.alterra.nl/pub/adewit/process_manager.zi p


Allard de Wit
[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: Sat Oct 11 13:56:01 PDT 2025

Total time taken to generate the page: 2.64037 seconds