nCache threading

 
 
 

You can use Maya threading to preload your cached simulation data into your system’s memory for faster playback. When a cache’s Multi Thread attribute is on, one thread of Maya will load the cache’s data into memory, and another thread of Maya will playback the nCached simulation. If the nCache’s Queue Size (frames) is smaller than the cache, then the Maya threads will work together to preload the specified cache frames and playback those frames in the scene view. If the nCache’s Queue Size (frames) is greater than the size of the cache, then the entire nCache will be preloaded into your system’s memory. For best results, use a queue size larger than the frame range of your nCache and ensure that your system has sufficient memory (RAM) for the size of your nCache. The performance benefits of threading your nCache may vary depending on your system’s hardware and operating system configurations.

See cacheFile for information on threading-related nCache attributes.