MultiThread Is In Master

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

MultiThread Is In Master

Post by wandererfan »

I merged the hlrThreadrc2 branch to master this morning. This branch is based on hlrThreadrc1 with some clean ups.

EXPECTATION MANAGEMENT
The multithreading does not extend to the actual OCC hidden line algorithms or to the FC face detection algorithm. Load and recompute times will reflect the most complex View in the file. If your file contains 1 complex View, you will not notice an improvement, except that you will be able to carry on with other tasks while the view is recomputing. On the other hand, if your file contains a number of Views, you should see an improvement as the various views will be recomputed in parallel.


A big thank you to everybody, especially user1234, who helped with the testing and to werner for the hints on how to do separate threads.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: MultiThread Is In Master

Post by user1234 »

Yeah! Many thanks!

Greetings
user1234
Haavard
Posts: 217
Joined: Wed Feb 17, 2021 10:48 pm

Re: MultiThread Is In Master

Post by Haavard »

Awesome ! :D
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: MultiThread Is In Master

Post by Kunda1 »

Early testing should be available on Snap 'edge' channel.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: MultiThread Is In Master

Post by -alex- »

Thank you for this great enhencement, it brings FC to a higher level, very useful.
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: MultiThread Is In Master

Post by chrisb »

user1234 wrote: Thu Aug 18, 2022 2:58 pm Yeah! Many thanks!
+1
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bensay
Posts: 202
Joined: Wed Dec 22, 2021 8:14 pm
Location: Danmark
Contact:

Re: MultiThread Is In Master

Post by bensay »

Kunda1 wrote: Thu Aug 18, 2022 4:12 pm Early testing should be available on Snap 'edge' channel.
We really need some Windows pipelines too. First of all to make sure compiling also works in Windows. Second of all to allow user testing on Windows, where the majority of FreeCAD users probably belong
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: MultiThread Is In Master

Post by Kunda1 »

bensay wrote: Fri Aug 19, 2022 9:53 pm We really need some Windows pipelines too.
@bensay indeed. No one has stepped up yet to provide one (besides using conda)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply