discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

CPU and RAM Resources Allocations Increase for OpenSCAD

S
Still_learning
Wed, May 23, 2018 5:39 PM

After checking my Preference settings, I find that both CGAL Cache and
PolySet Cache sizes are set to 1000000000 (one billion) bytes, and that
number does not accept alteration that increases the size.

Is there some reason for that?


The more I learn, the more I get curious about.

Sent from: http://forum.openscad.org/

After checking my Preference settings, I find that both CGAL Cache and PolySet Cache sizes are set to 1000000000 (one billion) bytes, and that number does not accept alteration that increases the size. Is there some reason for that? ----- The more I learn, the more I get curious about. -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Wed, May 23, 2018 11:10 PM

My settings are changeable but less than yours, ~800M & ~400M.
However I could only change it to 2.1G, I suspect that is unintended,
something like a variable type issue.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

My settings are changeable but less than yours, ~800M & ~400M. However I could only change it to 2.1G, I suspect that is unintended, something like a variable type issue. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Wed, May 23, 2018 11:41 PM

Look like it is a signed int limit 2,147,483,647 (it actually accepts ...648,
but I'd advise against that).
I'll raise an issue on this.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Look like it is a signed int limit 2,147,483,647 (it actually accepts ...648, but I'd advise against that). I'll raise an issue on this. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Thu, May 24, 2018 12:30 AM

Issue https://github.com/openscad/openscad/issues/2401  raised.
This could be a hard limit (or 4GB maybe) for 32 bit systems, and may need
fanagling to get more on 64 bit.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Issue <https://github.com/openscad/openscad/issues/2401> raised. This could be a hard limit (or 4GB maybe) for 32 bit systems, and may need fanagling to get more on 64 bit. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Thu, May 24, 2018 1:29 AM

Also check the output of render.

Rendering Polygon Mesh using CGAL...
Geometries in cache: 862
Geometry cache size in bytes: 1612848
CGAL Polyhedrons in cache: 14
CGAL cache size in bytes: 10765200
Total rendering time: 0 hours, 0 minutes, 36 seconds

Note Geometry cache=Polyset cache.

That shows the actual cache used. If the use for expensive models is below
the limit, there is no point increasing it.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Also check the output of render. Rendering Polygon Mesh using CGAL... Geometries in cache: 862 Geometry cache size in bytes: 1612848 CGAL Polyhedrons in cache: 14 CGAL cache size in bytes: 10765200 Total rendering time: 0 hours, 0 minutes, 36 seconds Note Geometry cache=Polyset cache. That shows the actual cache used. If the use for expensive models is below the limit, there is no point increasing it. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
S
Still_learning
Thu, May 24, 2018 4:52 PM

As a concluding note on this series of posts, I also increased the Advanced
Preference setting for  "Turn off rendering"  from 200,000 elements to
20,000,000 elements.

Following the collective recommendations to reduce $fn= settings, I lowered
them to 150 on spheres and 120 on cylinders, then started the render
crunching.

Result was 17 hrs 39 minutes to conclusion.

Did not note balance of computational results.

Are they logged anyplace?


The more I learn, the more I get curious about.

Sent from: http://forum.openscad.org/

As a concluding note on this series of posts, I also increased the Advanced Preference setting for "Turn off rendering" from 200,000 elements to 20,000,000 elements. Following the collective recommendations to reduce $fn= settings, I lowered them to 150 on spheres and 120 on cylinders, then started the render crunching. Result was 17 hrs 39 minutes to conclusion. Did not note balance of computational results. Are they logged anyplace? ----- The more I learn, the more I get curious about. -- Sent from: http://forum.openscad.org/
M
MichaelAtOz
Fri, May 25, 2018 12:44 AM

Still_learning wrote

Are they logged anyplace?

Nope, may be something to consider tho.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Still_learning wrote > Are they logged anyplace? Nope, may be something to consider tho. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/