STEP file read might be crazy long ...

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
Kunda1
Posts: 8759
Joined: Thu Jan 05, 2017 9:03 pm

Re: STEP file read might be crazy long ...

Postby Kunda1 » Thu Jan 19, 2017 11:47 pm

Could these OCC 7.1 builds used to test some of the OCC bugs that have been fixed in 7.1?
http://freecadweb.org/tracker/search.ph ... ng=OCC+Bug
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 8759
Joined: Thu Jan 05, 2017 9:03 pm

Re: STEP file read might be crazy long ...

Postby Kunda1 » Thu Jan 19, 2017 11:56 pm

Kunda1 wrote:Could these OCC 7.1 builds used to test some of the OCC bugs that have been fixed in 7.1?
http://freecadweb.org/tracker/search.ph ... ng=OCC+Bug
To be more specific could the children of issue #1931 be tested with these builds?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
sgrogan
Posts: 6166
Joined: Wed Oct 22, 2014 5:02 pm

Re: STEP file read might be crazy long ...

Postby sgrogan » Fri Jan 20, 2017 12:17 am

Kunda1 wrote: To be more specific could the children of issue #1931 be tested with these builds?
Short answer is yes, anything that pertains to the OCCT HLR (hidden line removal) seems improved. OT(I'm having problems with .paxheaders that I solved before, to build it.)
I think triplus has built the whole matrix OCCT/6/7 w/wo/TBB on 16.04
"fight the good fight"
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: STEP file read might be crazy long ...

Postby triplus » Fri Jan 20, 2017 9:43 pm

sgrogan wrote:For win OCCT w/TBB is in the works. My experiments using triplus's draft array example don't show a big difference between OCCT 7.0 with or with out TBB (after he added multi-threading support to multiFuse). I'm working on 7.1 w/TBB because maybe TBB will be needed stand alone.
The main question for now i guess is if you observe in task manager (while the fuse operation is ongoing) does FreeCAD process show any signs of multithreading or not?
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: STEP file read might be crazy long ...

Postby triplus » Fri Jan 20, 2017 10:03 pm

Kunda1 wrote:To be more specific could the children of issue #1931 be tested with these builds?
Both issues issue #0002730 and issue #0002354 where resolved and can be closed:

https://forum.freecadweb.org/viewtopic. ... 10#p142531
Last edited by triplus on Fri Jan 20, 2017 10:11 pm, edited 1 time in total.
User avatar
sgrogan
Posts: 6166
Joined: Wed Oct 22, 2014 5:02 pm

Re: STEP file read might be crazy long ...

Postby sgrogan » Fri Jan 20, 2017 10:04 pm

triplus wrote:The main question for now i guess is if you observe in task manager (while the fuse operation is ongoing) does link.FreeCAD process show any signs of multithreading or not?
With multi-fuse FreeCAD in Task Manager will peg all my available threads both with and without TBB. In your BOA development thread I mentioned that OCCT doesn't need TBB or (OpenMP) to multi-thread. It will use it's internal algorithms.
On Windows I tested OCCT 7.0 with and without TBB and I didn't see a difference.
On Ubuntu I tested with the blobfish oce, based on OCCT 6.9.1. I need to check if that builds with OpenMP or not with default cmake (I built it with all defaults). I think it doesn't and I saw multi-threading that pegged all available threads.
For reference see also this post: viewtopic.php?f=4&t=17501&start=80#p142368
EDIT: I can confirm that OCC_MULTITHREAD_LIBRARY=NONE, TBB and OPENMP are available in CMake, for the blobfish branch mentioned above.
"fight the good fight"
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: STEP file read might be crazy long ...

Postby triplus » Sat Jan 21, 2017 2:39 am

@sgrogan i don't want to be too much off topic in this thread therefore i rather made few observations here (and i intended to adapt the benchmark at some point anyway):

https://forum.freecadweb.org/viewtopic. ... 15#p154815
User avatar
easyw-fc
Posts: 2915
Joined: Thu Jul 09, 2015 9:34 am

Re: STEP file read might be crazy long ...

Postby easyw-fc » Wed Jan 25, 2017 11:40 am

sgrogan wrote: Looks like the 7.0 stuff w/ TBB on my system is a mess. You will be the first tester with 7.1 ;) Probably will take a couple of days.
Hi @sgrogan
have you get a chance to manage this OCC 7.1 build?
Thx again
Maurice
User avatar
sgrogan
Posts: 6166
Joined: Wed Oct 22, 2014 5:02 pm

Re: STEP file read might be crazy long ...

Postby sgrogan » Wed Jan 25, 2017 10:16 pm

easyw-fc wrote:have you get a chance to manage this OCC 7.1 build?
I realized I must compile vejmaries OCC7 branch then his FreeCAD branch against this. I haven't given up.
triplus wrote:@sgrogan i don't want to be too much off topic in this thread therefore i rather made few observations here (and i intended to adapt the benchmark at some point anyway):
I saw thanks, I stumbled across another case. Following this thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=20210
After making the Cut, at some point during check geometry I get intense multi-threading. w/ OCCT 7.0 without TBB.
EDIT: Beware FreeCAD is using 18 GB ram and climbing.
"fight the good fight"
User avatar
Kunda1
Posts: 8759
Joined: Thu Jan 05, 2017 9:03 pm

Re: STEP file read might be crazy long ...

Postby Kunda1 » Wed Jan 25, 2017 10:28 pm

triplus wrote:
Kunda1 wrote:To be more specific could the children of issue #1931 be tested with these builds?
Both issues issue #0002730 and issue #0002354 where resolved and can be closed:

https://forum.freecadweb.org/viewtopic. ... 10#p142531
I've went ahead and resolved issue #2730 and issue #2354
But in regards to issue #2354 please see:
https://forum.freecadweb.org/viewtopic. ... 71#p153283
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features