discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

I'd like a OpenSCAD compute service running in the cloud. Is this already available?

D
dpa
Sun, Nov 14, 2021 9:42 AM

Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

[..] and although I haven't rigorously measured, performance feels about
the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just
quiet and cool. But this is just blabla.. Is there a benchmark.scad I
could measure the time ?

Hey, Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster < davidphilliposter@gmail.com>: > [..] and although I haven't rigorously measured, performance feels about > the same as it was on my previous bottom of the line Intel Mac Mini. > I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?
DP
David Phillip Oster
Sun, Nov 14, 2021 7:30 PM

On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric

candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...

Compiling design (CG Tree generation)..

Rendering Polygon Mesh using CGAL...

Geometries in cache: 40

Geometry cache size in bytes: 427208

CGAL Polyhedrons in cache: 10

CGAL cache size in bytes: 19629368

Total rendering time: 0:00:56.089 <--

Top level object is a 3D object:

Simple:  yes

Vertices: 4021

Halfedges: 12068

Edges: 6034

Halffacets: 4038

Facets: 2019

Volumes: 2

Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...

Compiling design (CG Tree generation)

Rendering Polygon Mesh using CGAL.

Geometries in cache: 40

Geometry cache size in bytes: 427208

CGAL Polyhedrons in cache: 10

CGAL cache size in bytes: 19629368

Total rendering time: 0:00:42.553 <--

Top level object is a 3D object:

Simple:  yes

Vertices:  4021

Halfedges: 12068

Edges:  6034

Halffacets: 4038

Facets: 2019

Volumes: 2

Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even
though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa sc@pankd.de wrote:

Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

[..] and although I haven't rigorously measured, performance feels about
the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just
quiet and cool. But this is just blabla.. Is there a benchmark.scad I
could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: Parsing design (AST generation)... Compiling design (CG Tree generation).. Rendering Polygon Mesh using CGAL... Geometries in cache: 40 Geometry cache size in bytes: 427208 CGAL Polyhedrons in cache: 10 CGAL cache size in bytes: 19629368 Total rendering time: 0:00:56.089 <-- Top level object is a 3D object: Simple: yes Vertices: 4021 Halfedges: 12068 Edges: 6034 Halffacets: 4038 Facets: 2019 Volumes: 2 Rendering finished. On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: Parsing design (AST generation)... Compiling design (CG Tree generation) Rendering Polygon Mesh using CGAL. Geometries in cache: 40 Geometry cache size in bytes: 427208 CGAL Polyhedrons in cache: 10 CGAL cache size in bytes: 19629368 Total rendering time: 0:00:42.553 <-- Top level object is a 3D object: Simple: yes Vertices: 4021 Halfedges: 12068 Edges: 6034 Halffacets: 4038 Facets: 2019 Volumes: 2 Rendering finished. I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de> wrote: > Hey, > > Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster < > davidphilliposter@gmail.com>: > >> [..] and although I haven't rigorously measured, performance feels about >> the same as it was on my previous bottom of the line Intel Mac Mini. >> > > I'm running a MacBookAir M1 and it feels the same: not really faster, just > quiet and cool. But this is just blabla.. Is there a benchmark.scad I > could measure the time ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DS
David Schooley
Sun, Nov 14, 2021 8:04 PM

Hi,

This topic is the reason I joined this list.

I have done some testing with complex objects to look at both the initial display time and the rendering time. All of what I have done is based on what OpenSCAD reports.

Some of what you are seeing here might be based on the released version running under emulation. I have managed to compile a native M1 version using whatever is on GitHub for comparison.

When initially loading an object, the emulated 2021.01 version seems to be faster than the native version at displaying the preview. This doesn’t make any sense. I think there might be some debugging code getting in the way.

The native version is quite a bit faster when rendering. Rendering an object that takes 3 minutes in 2021.01 under emulation might take less than two minutes when OpenSCAD is native M1.

As a third test, I tried this under ARM version of Ubuntu 20.04 using the VMWare Preview. The Ubuntu version I have is 2019.05. It is the fastest of the bunch both for generating a preview and rendering. The Ubuntu version is faster by a significant amount.

I am using an M1 Max powered MacBook Pro. I also have an M1 Mac Mini available. I haven’t done any comparisons yet between the Mini and the MacBook Pro. I also have an Intel i9 MacBook Pro that I will use for some quick testing.

My native build uses libraries installed by HomeBrew. I haven’t had a chance yet to dig in and see if there are any compiler options or debugging flags that might be slowing things down.

On Nov 14, 2021, at 1:30 PM, David Phillip Oster davidphilliposter@gmail.com wrote:

On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de mailto:sc@pankd.de> wrote:
Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
[..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Hi, This topic is the reason I joined this list. I have done some testing with complex objects to look at both the initial display time and the rendering time. All of what I have done is based on what OpenSCAD reports. Some of what you are seeing here might be based on the released version running under emulation. I have managed to compile a native M1 version using whatever is on GitHub for comparison. When initially loading an object, the emulated 2021.01 version seems to be faster than the native version at displaying the preview. This doesn’t make any sense. I think there might be some debugging code getting in the way. The native version is quite a bit faster when rendering. Rendering an object that takes 3 minutes in 2021.01 under emulation might take less than two minutes when OpenSCAD is native M1. As a third test, I tried this under ARM version of Ubuntu 20.04 using the VMWare Preview. The Ubuntu version I have is 2019.05. It is the fastest of the bunch both for generating a preview and rendering. The Ubuntu version is faster by a significant amount. I am using an M1 Max powered MacBook Pro. I also have an M1 Mac Mini available. I haven’t done any comparisons yet between the Mini and the MacBook Pro. I also have an Intel i9 MacBook Pro that I will use for some quick testing. My native build uses libraries installed by HomeBrew. I haven’t had a chance yet to dig in and see if there are any compiler options or debugging flags that might be slowing things down. > On Nov 14, 2021, at 1:30 PM, David Phillip Oster <davidphilliposter@gmail.com> wrote: > > On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: > > Parsing design (AST generation)... > Compiling design (CG Tree generation).. > Rendering Polygon Mesh using CGAL... > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:56.089 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: > > Parsing design (AST generation)... > Compiling design (CG Tree generation) > Rendering Polygon Mesh using CGAL. > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:42.553 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. > > On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: > Hey, > > Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: > [..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini. > > I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
D
dpa
Sun, Nov 14, 2021 8:13 PM

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):

Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples >
Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...

Compiling design (CG Tree generation)..

Rendering Polygon Mesh using CGAL...

Geometries in cache: 40

Geometry cache size in bytes: 427208

CGAL Polyhedrons in cache: 10

CGAL cache size in bytes: 19629368

Total rendering time: 0:00:56.089 <--

Top level object is a 3D object:

Simple:  yes

Vertices: 4021

Halfedges: 12068

Edges: 6034

Halffacets: 4038

Facets: 2019

Volumes: 2

Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...

Compiling design (CG Tree generation)

Rendering Polygon Mesh using CGAL.

Geometries in cache: 40

Geometry cache size in bytes: 427208

CGAL Polyhedrons in cache: 10

CGAL cache size in bytes: 19629368

Total rendering time: 0:00:42.553 <--

Top level object is a 3D object:

Simple:  yes

Vertices:  4021

Halfedges: 12068

Edges:  6034

Halffacets: 4038

Facets: 2019

Volumes: 2

Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me,
even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa sc@pankd.de wrote:

Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

[..] and although I haven't rigorously measured, performance feels about
the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster,
just quiet and cool. But this is just blabla.. Is there a benchmark.scad I
could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad on *MacBook Air (M1 2020):* Total rendering time: 0:00:59.042 on *MacBook Pro (13-inch, M1, 2020):* Total rendering time: 0:00:36.017 Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster < davidphilliposter@gmail.com>: > On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > > Parametric > candleStand.scad then Render: the OpenSCAD console reports: > > Parsing design (AST generation)... > > Compiling design (CG Tree generation).. > > Rendering Polygon Mesh using CGAL... > > Geometries in cache: 40 > > Geometry cache size in bytes: 427208 > > CGAL Polyhedrons in cache: 10 > > CGAL cache size in bytes: 19629368 > > Total rendering time: 0:00:56.089 <-- > > Top level object is a 3D object: > > Simple: yes > > Vertices: 4021 > > Halfedges: 12068 > > Edges: 6034 > > Halffacets: 4038 > > Facets: 2019 > > Volumes: 2 > > Rendering finished. > > > On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: > > > Parsing design (AST generation)... > > Compiling design (CG Tree generation) > > Rendering Polygon Mesh using CGAL. > > Geometries in cache: 40 > > Geometry cache size in bytes: 427208 > > CGAL Polyhedrons in cache: 10 > > CGAL cache size in bytes: 19629368 > > Total rendering time: 0:00:42.553 <-- > > Top level object is a 3D object: > > Simple: yes > > Vertices: 4021 > > Halfedges: 12068 > > Edges: 6034 > > Halffacets: 4038 > > Facets: 2019 > > Volumes: 2 > > Rendering finished. > > > I have to say that I was surprised: the M1 actually felt faster to me, > even though OpenSCAD says the M1 is slower. > > On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de> wrote: > >> Hey, >> >> Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster < >> davidphilliposter@gmail.com>: >> >>> [..] and although I haven't rigorously measured, performance feels about >>> the same as it was on my previous bottom of the line Intel Mac Mini. >>> >> >> I'm running a MacBookAir M1 and it feels the same: not really faster, >> just quiet and cool. But this is just blabla.. Is there a benchmark.scad I >> could measure the time ? >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DS
David Schooley
Sun, Nov 14, 2021 8:23 PM

MacBook Pro (M1 Max)
OpenSCAD 2021.01 (emulated):  Total rendering time: 0.00:35.374
OpenSCAD GitHub (native): Total rendering time 0:00:26.163
OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds.

On Nov 14, 2021, at 2:13 PM, dpa sc@pankd.de wrote:

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):
Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de mailto:sc@pankd.de> wrote:
Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
[..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

MacBook Pro (M1 Max) OpenSCAD 2021.01 (emulated): Total rendering time: 0.00:35.374 OpenSCAD GitHub (native): Total rendering time 0:00:26.163 OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds. > On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de> wrote: > > ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad > on MacBook Air (M1 2020): > Total rendering time: 0:00:59.042 > > on MacBook Pro (13-inch, M1, 2020): > Total rendering time: 0:00:36.017 > > Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: > On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: > > Parsing design (AST generation)... > Compiling design (CG Tree generation).. > Rendering Polygon Mesh using CGAL... > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:56.089 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: > > Parsing design (AST generation)... > Compiling design (CG Tree generation) > Rendering Polygon Mesh using CGAL. > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:42.553 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. > > On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: > Hey, > > Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: > [..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini. > > I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
BC
Bob Carlson
Sun, Nov 14, 2021 8:31 PM

Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS?

-Bob
Tucson AZ

On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com mailto:dcschooley@gmail.com> wrote:

MacBook Pro (M1 Max)
OpenSCAD 2021.01 (emulated):  Total rendering time: 0.00:35.374
OpenSCAD GitHub (native): Total rendering time 0:00:26.163
OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds.

On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de mailto:sc@pankd.de> wrote:

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):
Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de mailto:sc@pankd.de> wrote:
Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
[..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org

-Bob
Tucson AZ

Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS? -Bob Tucson AZ On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com <mailto:dcschooley@gmail.com>> wrote: MacBook Pro (M1 Max) OpenSCAD 2021.01 (emulated): Total rendering time: 0.00:35.374 OpenSCAD GitHub (native): Total rendering time 0:00:26.163 OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds. > On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: > > ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad > on MacBook Air (M1 2020): > Total rendering time: 0:00:59.042 > > on MacBook Pro (13-inch, M1, 2020): > Total rendering time: 0:00:36.017 > > Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: > On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: > > Parsing design (AST generation)... > Compiling design (CG Tree generation).. > Rendering Polygon Mesh using CGAL... > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:56.089 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: > > Parsing design (AST generation)... > Compiling design (CG Tree generation) > Rendering Polygon Mesh using CGAL. > Geometries in cache: 40 > Geometry cache size in bytes: 427208 > CGAL Polyhedrons in cache: 10 > CGAL cache size in bytes: 19629368 > Total rendering time: 0:00:42.553 <-- > Top level object is a 3D object: > Simple: yes > Vertices: 4021 > Halfedges: 12068 > Edges: 6034 > Halffacets: 4038 > Facets: 2019 > Volumes: 2 > Rendering finished. > > I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. > > On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: > Hey, > > Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: > [..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini. > > I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> -Bob Tucson AZ
DS
David Schooley
Sun, Nov 14, 2021 8:36 PM

Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under the VMware Fusion Tech Preview.

On Nov 14, 2021, at 2:31 PM, Bob Carlson bob@rjcarlson.com wrote:

Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS?

-Bob
Tucson AZ

On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com mailto:dcschooley@gmail.com> wrote:

MacBook Pro (M1 Max)
OpenSCAD 2021.01 (emulated):  Total rendering time: 0.00:35.374
OpenSCAD GitHub (native): Total rendering time 0:00:26.163
OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds.

On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de mailto:sc@pankd.de> wrote:

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):
Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de mailto:sc@pankd.de> wrote:
Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
[..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org

-Bob
Tucson AZ


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under the VMware Fusion Tech Preview. > On Nov 14, 2021, at 2:31 PM, Bob Carlson <bob@rjcarlson.com> wrote: > > Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS? > > -Bob > Tucson AZ > > On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com <mailto:dcschooley@gmail.com>> wrote: > > MacBook Pro (M1 Max) > OpenSCAD 2021.01 (emulated): Total rendering time: 0.00:35.374 > OpenSCAD GitHub (native): Total rendering time 0:00:26.163 > OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds. > >> On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: >> >> ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad >> on MacBook Air (M1 2020): >> Total rendering time: 0:00:59.042 >> >> on MacBook Pro (13-inch, M1, 2020): >> Total rendering time: 0:00:36.017 >> >> Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: >> On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: >> >> Parsing design (AST generation)... >> Compiling design (CG Tree generation).. >> Rendering Polygon Mesh using CGAL... >> Geometries in cache: 40 >> Geometry cache size in bytes: 427208 >> CGAL Polyhedrons in cache: 10 >> CGAL cache size in bytes: 19629368 >> Total rendering time: 0:00:56.089 <-- >> Top level object is a 3D object: >> Simple: yes >> Vertices: 4021 >> Halfedges: 12068 >> Edges: 6034 >> Halffacets: 4038 >> Facets: 2019 >> Volumes: 2 >> Rendering finished. >> >> On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: >> >> Parsing design (AST generation)... >> Compiling design (CG Tree generation) >> Rendering Polygon Mesh using CGAL. >> Geometries in cache: 40 >> Geometry cache size in bytes: 427208 >> CGAL Polyhedrons in cache: 10 >> CGAL cache size in bytes: 19629368 >> Total rendering time: 0:00:42.553 <-- >> Top level object is a 3D object: >> Simple: yes >> Vertices: 4021 >> Halfedges: 12068 >> Edges: 6034 >> Halffacets: 4038 >> Facets: 2019 >> Volumes: 2 >> Rendering finished. >> >> I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. >> >> On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: >> Hey, >> >> Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: >> [..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini. >> >> I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ? >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > > > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
DP
David Phillip Oster
Sun, Nov 14, 2021 10:58 PM

If  you are going to recompile OpenSCAD from source, here are my notes on
attempts to add GPU and multi-core support to OpenSCAD:

https://github.com/openscad/openscad/pull/3193

https://github.com/TheJKM/OpenSCAD-Parallel-Build

https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/

On Sun, Nov 14, 2021 at 12:36 PM David Schooley dcschooley@gmail.com
wrote:

Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under
the VMware Fusion Tech Preview.

On Nov 14, 2021, at 2:31 PM, Bob Carlson bob@rjcarlson.com wrote:

Clarification? All three of those are running on the MBP M1Max? The third
one booted into Ubuntu rather than MacOS?

-Bob
Tucson AZ

On Nov 14, 2021, at 13:23, David Schooley dcschooley@gmail.com wrote:

MacBook Pro (M1 Max)
OpenSCAD 2021.01 (emulated):  Total rendering time: 0.00:35.374
OpenSCAD GitHub (native): Total rendering time 0:00:26.163
OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes,
12 seconds.

On Nov 14, 2021, at 2:13 PM, dpa sc@pankd.de wrote:

ok, the OpenSCAD's menubar's File > Examples > Parametric >
candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):
Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples >
Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me,
even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa sc@pankd.de wrote:

Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <
davidphilliposter@gmail.com>:

[..] and although I haven't rigorously measured, performance feels
about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster,
just quiet and cool. But this is just blabla.. Is there a benchmark.scad I
could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

-Bob
Tucson AZ


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

If you are going to recompile OpenSCAD from source, here are my notes on attempts to add GPU and multi-core support to OpenSCAD: https://github.com/openscad/openscad/pull/3193 https://github.com/TheJKM/OpenSCAD-Parallel-Build https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/ On Sun, Nov 14, 2021 at 12:36 PM David Schooley <dcschooley@gmail.com> wrote: > Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under > the VMware Fusion Tech Preview. > > On Nov 14, 2021, at 2:31 PM, Bob Carlson <bob@rjcarlson.com> wrote: > > Clarification? All three of those are running on the MBP M1Max? The third > one booted into Ubuntu rather than MacOS? > > -Bob > Tucson AZ > > On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com> wrote: > > MacBook Pro (M1 Max) > OpenSCAD 2021.01 (emulated): Total rendering time: 0.00:35.374 > OpenSCAD GitHub (native): Total rendering time 0:00:26.163 > OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, > 12 seconds. > > On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de> wrote: > > ok, the OpenSCAD's menubar's File > Examples > Parametric > > candleStand.scad > on *MacBook Air (M1 2020):* > Total rendering time: 0:00:59.042 > > on *MacBook Pro (13-inch, M1, 2020):* > Total rendering time: 0:00:36.017 > > Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster < > davidphilliposter@gmail.com>: > >> On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > >> Parametric > candleStand.scad then Render: the OpenSCAD console reports: >> >> Parsing design (AST generation)... >> Compiling design (CG Tree generation).. >> Rendering Polygon Mesh using CGAL... >> Geometries in cache: 40 >> Geometry cache size in bytes: 427208 >> CGAL Polyhedrons in cache: 10 >> CGAL cache size in bytes: 19629368 >> Total rendering time: 0:00:56.089 <-- >> Top level object is a 3D object: >> Simple: yes >> Vertices: 4021 >> Halfedges: 12068 >> Edges: 6034 >> Halffacets: 4038 >> Facets: 2019 >> Volumes: 2 >> Rendering finished. >> >> On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: >> >> Parsing design (AST generation)... >> Compiling design (CG Tree generation) >> Rendering Polygon Mesh using CGAL. >> Geometries in cache: 40 >> Geometry cache size in bytes: 427208 >> CGAL Polyhedrons in cache: 10 >> CGAL cache size in bytes: 19629368 >> Total rendering time: 0:00:42.553 <-- >> Top level object is a 3D object: >> Simple: yes >> Vertices: 4021 >> Halfedges: 12068 >> Edges: 6034 >> Halffacets: 4038 >> Facets: 2019 >> Volumes: 2 >> Rendering finished. >> >> I have to say that I was surprised: the M1 actually felt faster to me, >> even though OpenSCAD says the M1 is slower. >> >> On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de> wrote: >> >>> Hey, >>> >>> Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster < >>> davidphilliposter@gmail.com>: >>> >>>> [..] and although I haven't rigorously measured, performance feels >>>> about the same as it was on my previous bottom of the line Intel Mac Mini. >>>> >>> >>> I'm running a MacBookAir M1 and it feels the same: not really faster, >>> just quiet and cool. But this is just blabla.. Is there a benchmark.scad I >>> could measure the time ? >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DS
David Schooley
Mon, Nov 15, 2021 1:40 AM

Thanks. I’ll take a look at this. For now, I would like to get the single-core build working like it should, or at least understand why the native linux build is so much faster. At least that way whatever is causing the slowdown doesn’t get lost in any multi-core improvements.

I did my native build using HomeBrew for all of the dependencies and then manually compiled the OpenSCAD source. That worked pretty well with whatever is current on GitHub. I ran into errors when checking out the 2021.01 release. Now I’m going back and manually building all of the dependencies.

On Nov 14, 2021, at 4:58 PM, David Phillip Oster davidphilliposter@gmail.com wrote:

If  you are going to recompile OpenSCAD from source, here are my notes on attempts to add GPU and multi-core support to OpenSCAD:

https://github.com/openscad/openscad/pull/3193 https://github.com/openscad/openscad/pull/3193
https://github.com/TheJKM/OpenSCAD-Parallel-Build https://github.com/TheJKM/OpenSCAD-Parallel-Build
https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/ https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/

On Sun, Nov 14, 2021 at 12:36 PM David Schooley <dcschooley@gmail.com mailto:dcschooley@gmail.com> wrote:
Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under the VMware Fusion Tech Preview.

On Nov 14, 2021, at 2:31 PM, Bob Carlson <bob@rjcarlson.com mailto:bob@rjcarlson.com> wrote:

Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS?

-Bob
Tucson AZ

On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com mailto:dcschooley@gmail.com> wrote:

MacBook Pro (M1 Max)
OpenSCAD 2021.01 (emulated):  Total rendering time: 0.00:35.374
OpenSCAD GitHub (native): Total rendering time 0:00:26.163
OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds.

On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de mailto:sc@pankd.de> wrote:

ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad
on MacBook Air (M1 2020):
Total rendering time: 0:00:59.042

on MacBook Pro (13-inch, M1, 2020):
Total rendering time: 0:00:36.017

Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
On the 8 GB M1 Mac Mini  OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports:

Parsing design (AST generation)...
Compiling design (CG Tree generation)..
Rendering Polygon Mesh using CGAL...
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:56.089 <--
Top level object is a 3D object:
Simple:  yes
Vertices: 4021
Halfedges: 12068
Edges: 6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get:

Parsing design (AST generation)...
Compiling design (CG Tree generation)
Rendering Polygon Mesh using CGAL.
Geometries in cache: 40
Geometry cache size in bytes: 427208
CGAL Polyhedrons in cache: 10
CGAL cache size in bytes: 19629368
Total rendering time: 0:00:42.553 <--
Top level object is a 3D object:
Simple:  yes
Vertices:  4021
Halfedges: 12068
Edges:  6034
Halffacets: 4038
Facets: 2019
Volumes: 2
Rendering finished.

I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower.

On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de mailto:sc@pankd.de> wrote:
Hey,

Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com mailto:davidphilliposter@gmail.com>:
[..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini.

I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org

-Bob
Tucson AZ


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Thanks. I’ll take a look at this. For now, I would like to get the single-core build working like it should, or at least understand why the native linux build is so much faster. At least that way whatever is causing the slowdown doesn’t get lost in any multi-core improvements. I did my native build using HomeBrew for all of the dependencies and then manually compiled the OpenSCAD source. That worked pretty well with whatever is current on GitHub. I ran into errors when checking out the 2021.01 release. Now I’m going back and manually building all of the dependencies. > On Nov 14, 2021, at 4:58 PM, David Phillip Oster <davidphilliposter@gmail.com> wrote: > > If you are going to recompile OpenSCAD from source, here are my notes on attempts to add GPU and multi-core support to OpenSCAD: > > https://github.com/openscad/openscad/pull/3193 <https://github.com/openscad/openscad/pull/3193> > https://github.com/TheJKM/OpenSCAD-Parallel-Build <https://github.com/TheJKM/OpenSCAD-Parallel-Build> > https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/ <https://www.reddit.com/r/openscad/comments/k790b4/multithreaded_bounty/> > > On Sun, Nov 14, 2021 at 12:36 PM David Schooley <dcschooley@gmail.com <mailto:dcschooley@gmail.com>> wrote: > Yes. All three on the MBP M1 Max. The third is Ubuntu 20.04 running under the VMware Fusion Tech Preview. > >> On Nov 14, 2021, at 2:31 PM, Bob Carlson <bob@rjcarlson.com <mailto:bob@rjcarlson.com>> wrote: >> >> Clarification? All three of those are running on the MBP M1Max? The third one booted into Ubuntu rather than MacOS? >> >> -Bob >> Tucson AZ >> >> On Nov 14, 2021, at 13:23, David Schooley <dcschooley@gmail.com <mailto:dcschooley@gmail.com>> wrote: >> >> MacBook Pro (M1 Max) >> OpenSCAD 2021.01 (emulated): Total rendering time: 0.00:35.374 >> OpenSCAD GitHub (native): Total rendering time 0:00:26.163 >> OpenSCAD 2019.05 (native Ubuntu): Total rendering time 0 hours, 0 minutes, 12 seconds. >> >>> On Nov 14, 2021, at 2:13 PM, dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: >>> >>> ok, the OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad >>> on MacBook Air (M1 2020): >>> Total rendering time: 0:00:59.042 >>> >>> on MacBook Pro (13-inch, M1, 2020): >>> Total rendering time: 0:00:36.017 >>> >>> Am So., 14. Nov. 2021 um 20:31 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: >>> On the 8 GB M1 Mac Mini OpenSCAD's menubar's File > Examples > Parametric > candleStand.scad then Render: the OpenSCAD console reports: >>> >>> Parsing design (AST generation)... >>> Compiling design (CG Tree generation).. >>> Rendering Polygon Mesh using CGAL... >>> Geometries in cache: 40 >>> Geometry cache size in bytes: 427208 >>> CGAL Polyhedrons in cache: 10 >>> CGAL cache size in bytes: 19629368 >>> Total rendering time: 0:00:56.089 <-- >>> Top level object is a 3D object: >>> Simple: yes >>> Vertices: 4021 >>> Halfedges: 12068 >>> Edges: 6034 >>> Halffacets: 4038 >>> Facets: 2019 >>> Volumes: 2 >>> Rendering finished. >>> >>> On the 16 GB 3.2 GHz 6-Core Intel Core i7 Mac Mini I get: >>> >>> Parsing design (AST generation)... >>> Compiling design (CG Tree generation) >>> Rendering Polygon Mesh using CGAL. >>> Geometries in cache: 40 >>> Geometry cache size in bytes: 427208 >>> CGAL Polyhedrons in cache: 10 >>> CGAL cache size in bytes: 19629368 >>> Total rendering time: 0:00:42.553 <-- >>> Top level object is a 3D object: >>> Simple: yes >>> Vertices: 4021 >>> Halfedges: 12068 >>> Edges: 6034 >>> Halffacets: 4038 >>> Facets: 2019 >>> Volumes: 2 >>> Rendering finished. >>> >>> I have to say that I was surprised: the M1 actually felt faster to me, even though OpenSCAD says the M1 is slower. >>> >>> On Sun, Nov 14, 2021 at 1:43 AM dpa <sc@pankd.de <mailto:sc@pankd.de>> wrote: >>> Hey, >>> >>> Am So., 14. Nov. 2021 um 07:05 Uhr schrieb David Phillip Oster <davidphilliposter@gmail.com <mailto:davidphilliposter@gmail.com>>: >>> [..] and although I haven't rigorously measured, performance feels about the same as it was on my previous bottom of the line Intel Mac Mini. >>> >>> I'm running a MacBookAir M1 and it feels the same: not really faster, just quiet and cool. But this is just blabla.. Is there a benchmark.scad I could measure the time ? >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> >> >> >> >> -Bob >> Tucson AZ >> >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
W
Whosawhatsis
Mon, Nov 15, 2021 8:30 PM

I’ve got the 24 core M1 Max, upgraded from a 2013 13” i7. Between the new processor and turning on some of the experimental features in the nightly builds, one project I tested that used to take over 30 minutes to render now finishes in under 30 seconds. There’s no frame counter on the 3D display, but the most complicated stuff I’ve tried seems to be running at about twice the frame rate that I got with a cube on the old machine. Can’t wait until there’s an M1 native build...
On Nov 13, 2021, 15:30 -0800, Bob Carlson bob@rjcarlson.com, wrote:

Anyone here running OpenSCAD on an M1, M1 Pro or M1 Max yet?

I have an Intel Mac Mini and the 2 pain points are F6 rendering and then moving around in a complicated rendered display.

Due to the non-multithreading, the gains might not be what I would hope, at least on the first item. Perhaps hoping for better not he second.

-Bob
Tucson AZ


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I’ve got the 24 core M1 Max, upgraded from a 2013 13” i7. Between the new processor and turning on some of the experimental features in the nightly builds, one project I tested that used to take over 30 minutes to render now finishes in under 30 seconds. There’s no frame counter on the 3D display, but the most complicated stuff I’ve tried seems to be running at about twice the frame rate that I got with a cube on the old machine. Can’t wait until there’s an M1 native build... On Nov 13, 2021, 15:30 -0800, Bob Carlson <bob@rjcarlson.com>, wrote: > Anyone here running OpenSCAD on an M1, M1 Pro or M1 Max yet? > > I have an Intel Mac Mini and the 2 pain points are F6 rendering and then moving around in a complicated rendered display. > > Due to the non-multithreading, the gains might not be what I would hope, at least on the first item. Perhaps hoping for better not he second. > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org