tyFlow Forum
Is it possible to make cache export multi-threaded? - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Feature Requests (https://forum.tyflow.com/forum-4.html)
+--- Thread: Is it possible to make cache export multi-threaded? (/thread-4514.html)



Is it possible to make cache export multi-threaded? - Alexx31 - 10-07-2024

At my current production the longest part is often the cache writing. It would be great, if that is one day also multi-threaded Smile
Something I am doing for savety and comparison reasons every time.

- It takes up to 10 minutes, only the export part.
I can see, it's just using one of the 64 cores. 

- For the whole simulation it takes roughly only about 3 minutes ("high tread priority" enabled)

- When I press escape it asks me to stop but goes on the whole time. The only thing it is then not doing are the few seconds to create the tyCache object.
p.s. And when I load the "escape pressed" cache later it is corrupt, so it would have been better not to press escape, because time is the same, but the result I have to delete.




   


RE: Is it possible to make cache export multi-threaded? - tyFlow - 10-09-2024

tyCache export is already multi-threaded wherever it can be. If you see it limited to a single thread, then that just means it's performing necessarily-serial functions (like writing to disk or compressing data).


RE: Is it possible to make cache export multi-threaded? - Alexx31 - 10-12-2024

Thanks, I realized it was only happening so extreme with a certain scene. Maybe a hidden different reason.
You can delete this thread.