Thank you very much. We were very successful at integrating the use of lcms
with Intel's Threading Building Blocks to achieve a four-fold speed-increase
on a 4-core machine. I uses cmsFLAGS_NOCACHE. That flag even sped things up
on a 1-core machine by about 20% or more.
I was just wondering about what you wrote about CMS_DONT_USE_PTHREADS. First
you wrote to "uncomment" it. Then you wrote that "commenting it out" does
the trick. Did you perhaps mean "Uncommenting it out" does the trick?
Thanks.
On Thu, Oct 21, 2010 at 6:37 AM, <marti.ma...@littlecms.com> wrote:
>
> Hi,
>
> You can either use cmsFLAGS_NOCACHE or uncomment CMS_DONT_USE_PTHREADS
> in lcms2.h
>
> You can use the 1-pixel cache on multiple threads if wish so, but
> then you need some locking for the cache. Commenting out
> CMS_DONT_USE_PTHREADS does the trick.
>
> Regards
> Marti
>
>
>
> Quoting David Kantrowitz <kantrow...@diaginc.com>:
>
> Hi!
>>
>> I'm trying out LCMS2 for a project. So far it's working nicely but I'd
>> like to speed up the application of a transform. My question is this:
>> Is it safe to create a single transform on the main thread and apply
>> it (via DoTransform) on multiple threads running concurrently? I'm
>> creating the transform with CreateMultiprofileTransform.
>>
>> If so, are there any settings I must use, such as #defines, to make
>> the operation thread-safe?
>>
>> If that cannot be done, and I have to have separate transforms for
>> each thread, what about the creation of the transforms? Can I do that
>> concurrently on separate threads, or is CreateMultiprofileTransform
>> also not thread-safe? If it is thread-safe, is there a performance
>> gain from doing so, or am I better off creating them sequentially on
>> one thread?
>>
>> Finally, if there is the ability to create the transforms
>> concurrently, do they _have_ to be created on the threads that use
>> them? And is there an advantage to setting a core affinity for each
>> one, or does that not matter?
>>
>> Thanks in advance.
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Lcms-user mailing list
>> Lcms-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lcms-user
>>
>>
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user