TechDraw Multithread Testing

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Multithread Testing

Post by Kunda1 »

Heads up testers: new snap build triggered (should be ready in an hour or so). https://github.com/FreeCAD/FreeCAD-snap/pull/44
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
user1234
Veteran
Posts: 3261
Joined: Mon Jul 11, 2016 5:08 pm

Re: Multithread Testing

Post by user1234 »

bleber wrote: Fri Aug 05, 2022 8:46 pm There are plans to multithread other parts of FreeCAD, constraints in sketcher for example.?
Boolean operations already have multithread support (through tbb2 in OCCT), but not in all cases.

There never was a need for multithreading in the sketcher. When your sketch that slow, then you do something fundamentally wrong.


Greetings
user1234
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Multithread Testing

Post by wandererfan »

For those still following this saga, I am currently working on getting the multi-thread branch to work in windows. It seems there are some small differences from linux. Have not got a working version yet, but the list of errors is getting smaller. :?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Multithread Testing

Post by Kunda1 »

Making programs work cross-platform is no joke. Thank you for your perseverance !
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
ToniTen
Posts: 239
Joined: Fri Sep 04, 2020 10:11 am

Re: Multithread Testing

Post by ToniTen »

Many many thanks for working on this. This will not only speed up Techdraw a great deal, but it will feel way more agile, as updating views will no longer lock the whole UI. I assume it will also speed up opening documents with multiple views, since AFAIK, when you open a document with embedded Techdraw views, such views are recalculated during document load.
user1234
Veteran
Posts: 3261
Joined: Mon Jul 11, 2016 5:08 pm

Re: Multithread Testing

Post by user1234 »

wandererfan wrote: Thu Aug 11, 2022 6:58 pm For those still following this saga, I am currently working on getting the multi-thread branch to work in windows. It seems there are some small differences from linux.
Good luck with that. Sadly i can not test it, since i have no access to an windows computer.


Greetings
user1234
Syres
Veteran
Posts: 2891
Joined: Thu Aug 09, 2018 11:14 am

Re: Multithread Testing

Post by Syres »

wandererfan wrote: Thu Aug 11, 2022 6:58 pm I am currently working on getting the multi-thread branch to work in windows.
Quick question, are you compiling against this Libpack (the same as 0.20.1) https://github.com/FreeCAD/FreeCAD-LibP ... es/tag/2.7 ?
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Multithread Testing

Post by wandererfan »

Syres wrote: Fri Aug 12, 2022 1:01 pm Quick question, are you compiling against this Libpack (the same as 0.20.1) https://github.com/FreeCAD/FreeCAD-LibP ... es/tag/2.7 ?
I deleted the 7zip file to save space on my Windows VM. I'm probably using v2.6 since my OCC version is 7.6.2. I can download and build from v2.7 if it is significant.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30072 (Git)
Build type: Release
Branch: hlrThreadrc1
Hash: 7a40e0026b490fd99743c9e3edee78b5f757a28f
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk , OCC 7.6.2
Locale: English/Canada (en_CA)
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Multithread Testing

Post by wandererfan »

voila!
Attachments
threadsOnWin.png
threadsOnWin.png (218.37 KiB) Viewed 1020 times
balrobs
Posts: 449
Joined: Fri Apr 24, 2020 8:58 pm

Re: Multithread Testing

Post by balrobs »

wandererfan wrote: Fri Aug 12, 2022 2:37 pmvoila!
Exciting stuff :o
Post Reply