Zach Deedler wrote:
Hello,
I forgot to mention that I am paging dxt5 compressed ive files converted
from OpenFlight.
Hmm.
Is the behavior different with uncompressed textures?
Since the performance is so bad at times, and it seems like it is
because of heavy I/O operations, is it possible that Windows is using
blocking I/O operations when reading files? This would explain why the
threads don't take their scheduled times. Does anybody know if there is
a way to specify non-blocking I/O. Any suggestions? I'm no expert on
the istream C++ class. Is anybody else?
All of the C/C++ IO operations are going to be host-thread-blocking, to my knowledge.
They fall through to the underlying Win32 IO APIs, which can be either blocking or not.
However, my understanding is that they only block the thread they are executing from,
and not other threads of the same process, so this would be a red herring.
Thanks.
Zach
--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at logrus
"I set the wheels in motion, turn up all the machines, activate the programs,
and run behind the scenes. I set the clouds in motion, turn up light and
sound,
activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/