Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: MrpepeLepeu on December 25, 2018, 04:35:25 PM

Title: Railclone and multithreading
Post by: MrpepeLepeu on December 25, 2018, 04:35:25 PM
Hi,

While working with railclone I don't see all cores being used.
Why is that?
Thanks.
Title: Re: Railclone and multithreading
Post by: iToo on December 26, 2018, 09:20:31 AM
Hi, not all sotware can be multithreading because some steps must be computed sequentially, or there are other dependences.

In the case of RailClone, some stages are multithreading (as convert the pre-computed segments to meshes), but many others not (evaluate the style workflow, pre-compute segments, etc.)
Also many functions are implemented by Max, and are not thread safe (cannot run in multiple threads simultaneously).

Really, except certain processes which are easily parallelizable (as rendering), few times you will see all CPUs at 100% working in a single task.