FreeCAD renderer is CPU bounded (at least for me)

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
mouse
Posts: 11
Joined: Mon Feb 27, 2017 11:20 am

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by mouse »

yorik wrote:For architecture models, yes, it works quite well already (examples:
https://github.com/uncreatednet/casa-ec ... 2001.FCStd
https://github.com/uncreatednet/wikilab ... ilab.FCStd )
Indeed at some point you begin to reach performance limits. But there is a lot that can be done, simplify some parts of the model, remove "parametricism", etc. But I see none of these problems as very show-stopping, because there i still a lot to be done on the freecad side to make things better (assemblies, GUI optimization, etc), and also this is an inherent problem of parametric cad, it is very easy to raise the complexity to infinite levels...
Thanks, that sounds encouraging. I have downloaded and will have a look this evening.

Any insight into this problem of the rendering shimmering when I am doing nothing to the object. It seems to consume a lot of cycles?

Kind regards

Mouse
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by yorik »

mouse wrote:Any insight into this problem of the rendering shimmering when I am doing nothing to the object. It seems to consume a lot of cycles?
Actually I've never seen such a behaviour in FreeCAD yet...
wmayer
Founder
Posts: 20308
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by wmayer »

I am running under Win 7 ultimate on a i7-2600 3.4 Ghz machine with 16Mb of memory.
16 Mb of memory is not a lot. I wonder how Windows can even start. :D
Any insight into this problem of the rendering shimmering when I am doing nothing to the object. It seems to consume a lot of cycles?
What's about the RAM consumption? Is it growing or is it stable? Do you have Skype screen sharing activated? See issue #0002298
mouse
Posts: 11
Joined: Mon Feb 27, 2017 11:20 am

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by mouse »

wmayer wrote:
I am running under Win 7 ultimate on a i7-2600 3.4 Ghz machine with 16Mb of memory.
16 Mb of memory is not a lot. I wonder how Windows can even start. :D
Any insight into this problem of the rendering shimmering when I am doing nothing to the object. It seems to consume a lot of cycles?
What's about the RAM consumption? Is it growing or is it stable? Do you have Skype screen sharing activated? See issue #0002298
Whoops!

Thanks very much. RAM consumption looked OK and stable, but I will double check. I checked my Skype settings and there was none called 'Screen sharing'. Possibly that is only on the paid for version?

Kind regards

Mouse
Last edited by mouse on Tue Feb 28, 2017 10:14 pm, edited 1 time in total.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by sgrogan »

I think the shimmering is z-fighting.
I can almost reproduce this. On one computer with nearly identical set-up as @mouse, same cpu and RAM, slightly lower Radeon graphics (I'll edit this post tomorrow with the exact model)
Rotating wildly in CAD Navigation, I get 3% cpu, ie 25% of one core. Releasing the mouse, allowing animation, I peg one core.

Repeating on another system, with lower cpu but Quadro K4100M gpu, cpu stays at 3%.
I tested both with:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
"fight the good fight"
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by easyw-fc »

sgrogan wrote:I think the shimmering is z-fighting.
It would be nice to test on same hw with FC0.17 and OpenGL Vertex Buffer Object VBO enabled or disabled...
vbo.png
vbo.png (65.44 KiB) Viewed 2009 times
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by sgrogan »

easyw-fc wrote:It would be nice to test on same hw with FC0.17 and OpenGL Vertex Buffer Object VBO enabled or disabled...
w/Quadro K4100M gpu
no difference with out without VBO

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10337 (Git)
Build type: Release
Branch: master
Hash: 6c720ced84b64f323370e3d9f0e87028d3312651
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
"fight the good fight"
mouse
Posts: 11
Joined: Mon Feb 27, 2017 11:20 am

Re: FreeCAD renderer is CPU bounded (at least for me)

Post by mouse »

sgrogan wrote:I think the shimmering is z-fighting.
I can almost reproduce this. On one computer with nearly identical set-up as @mouse, same cpu and RAM, slightly lower Radeon graphics (I'll edit this post tomorrow with the exact model)
Rotating wildly in CAD Navigation, I get 3% cpu, ie 25% of one core. Releasing the mouse, allowing animation, I peg one core.

Repeating on another system, with lower cpu but Quadro K4100M gpu, cpu stays at 3%.
Thanks for trying to replicate.Sounds similar. I am not actually cxausing anything to animate directly when the cpu/gpu event is happening but animation is enabled in preferences. One correction to my report above i7 processor has 8 logical processors, 4 physical cores, so I am maxing a logical processor. Also of course system has 16GB of memory (not MB).

Here are fuller system and FreeCAD details:
Display adapter type AMD Radeon HD 6700 Series
Total available graphics memory 8951 MB
Dedicated graphics memory 1024 MB
Dedicated system memory 0 MB
Shared system memory 7927 MB
Display adapter driver version 8.850.0.0
Primary monitor resolution 1920x1200
DirectX version DirectX 10

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

Image
Post Reply