Hello Guys!

I have been searching the archive and I could not find anything on this.
Basically I am using open image IO as slate generation tool (among other
things of course). It works great! I am looking at speeding up the process,
so I have attempted to call my python function using various threading
modules, and I am not getting a lot of speed up. I am using nthread=0 to
ensure the call uses all available threads/cores.

I do know that Python GIL is well known to be great at certain type of
multi-threading calls, especially anything IO bound offers best
performance. However I was wondering if there are any know issues with
python multithreading, and/or if there was any list of do's and don'ts.

Currently the only way I could get all the cores to be utilized to 100% was
to spawn a separate python process, which will process a single frame, so
on my box I would have 24 concurrent python subprocesses invoking OIIO. The
machine grinds almost to halt ( which is good in this case), but I was
wondering what are the other things I don't know regarding this subject. :)

Any help would be appreciated.
Best
Dave Lajoie
R&D Director Digital District Montreal
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to