[sldev] AppendedAcks
Philippe Bossut (Merov Linden)
merov at lindenlab.com
Fri Apr 3 13:54:29 PDT 2009
Hi Carlo,
On Apr 3, 2009, at 5:53 AM, Carlo Wood wrote:
> I can't believe that, since my system is extremely fast. It laughs
> when you mention 'cpu intensive'. Nevertheless, if this is really
> true then why is the viewer only using one of my CPU's? In the VERY
> least it could start using the other three while decompressing
> JPEG2000 images! But I see the viewer NEVER use more than one cpu.
The odd thing is that the viewer is using threads to fetch and decode
textures. There's actually a thread just for image decoding. That
doesn't mean that this is making best use of the existing cpu on your
machines though but, it should...
One way though to turn the entire viewer into a single threaded app is
to turn MEM_TRACK_MEM to true when building. This define is supposed
to be used for tracking memory leaks and the like (if I'm reading the
code correctly). It's not turned on in the svn repo but, in any case,
if you are building your own viewer, you may want to check this just
on the outside chance it's turned on.
Cheers,
- Merov
More information about the SLDev
mailing list