[sldev] [PATCH] OpenJPEG2000: Tech Test with Intel's TBB

Callum Lerwick seg at haxxed.com
Thu Nov 8 17:01:22 PST 2007

On Thu, 2007-11-08 at 13:57 -0800, Dzonatas wrote:
> I've attached a very preliminary patch for a tech test of Intel's TBB 
> with no extra optimizations or special tune-ups.
> I need feedback on speed comparison between the current version of 
> OpenJPEG200 to this one.
> On a single processors, you may see about 5% slowdown.
> On multi-processors (or HT), you should see it run at least 75%-50% of 
> the time the current version normally runs.
> Let me know if you need any help to test this version.
> If this works well, I'll continue with this version and submit an option 
> to build libopenjpeg.so with TBB.

What does TBB do that OpenMP doesn't? Recent GCC supports OpenMP, and so
does VS2005. OpenMP is much less invasive and does not require C++.

I've been considering trying out some OpenMP on OpenJPEG, though the
only "multi-core" box I have is a decade old dual PII-333 workstation...

In SL's case, just running multiple decode worker threads seems like a
much better option than threading within OpenJPEG itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20071108/c8806cc8/attachment.pgp

More information about the SLDev mailing list