Itoo Software Forum

Author Topic: Railclone and multithreading  (Read 239 times)

MrpepeLepeu

  • Newbie
  • *
  • Posts: 9
Railclone and multithreading
« 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.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3498
    • iToo Software
Re: Railclone and multithreading
« Reply #1 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.

Carlos Quintero
iToo Software