Hi Ulrich,
Ulrich Hertlein wrote: > > Why would you read from disk into a RAM disk, then read from RAM disk into, > err, RAM > again? Instead of reading straight from disk into your RAM cache? > > ... > > Set up a read thread that reads the images into RAM buffers and upload the > images from the > buffers as needed. At least that way you have the I/O wait in another thread > and not your > draw thread. > you mentioned exactly the same what I told by using RAM-disk and external application which will load the data into it. So, you agree that this is the way to go ;) ? But nevertheless, as soon as coping the data from RAM into VRAM is faster than loading from HDD into RAM, you will always stuck after some time. It doesn't matter how much data you deliver into the RAM buffers from the HDD. After some time you will just reach the end of the buffered data and hence your draw thread will have to wait. Maybe you could try out to stream from HDD to RAM compressed files and uncompress them on the CPU (some simple runtime length encoding or so). Hence 3 threads, streaming, uncompressing and drawing threads. Each of them is working on some kind of RAM buffer. cheers ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7467#7467 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

