How fast is DM32?

Discussion around the SwissMicros DM32 calculator
User avatar
Steve Simpkin
Posts: 66
Joined: Thu May 25, 2023 1:35 am
Location: Los Angeles, California
Contact:

Re: How fast is DM32?

Post by Steve Simpkin »

For reference, it took my HP 35S 138 seconds to reach a count of 720. So the full count of 7200 for this test would take approximately 1380 seconds or 23 minutes to complete. That 6502 CPU core was really working hard for this test :D
rawi
Posts: 102
Joined: Sat Dec 28, 2019 4:50 am
Location: Bavaria, Germany

Re: How fast is DM32?

Post by rawi »

HP Mike wrote:
DM32: 4 seconds timed with a stopwatch
DM42: 6.8 seconds timed by the program
I reproduced your test (with angle mode set to Deg). For the DM32 I came to 3.5 seconds, so I can confirm your result of 4 seconds. For the DM 42 I came to 9.17 as measured by the calculator. So I cannot confirm the 6.8 seconds your result was. (Sum in both cases: 1,395.3463). -> Resulting speed factor 2.6.
I repeated it with 2000 loops and came to 6.6 seconds (measured by the stopwatch) for the DM32 and 18.28 seconds for the DM 42 (as measured by the calculator clock). -> Speed factor 2.8.
With 4000 loops: 12.7 seconds (DM 32, measured by the stopwatch), 36,41 seconds as measured by calculator clock. -> Speed factor 2.9.
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: How fast is DM32?

Post by HPMike »

rawi wrote:
Sat Jun 10, 2023 2:52 pm
HP Mike wrote:
DM32: 4 seconds timed with a stopwatch
DM42: 6.8 seconds timed by the program
I reproduced your test (with angle mode set to Deg). For the DM32 I came to 3.5 seconds, so I can confirm your result of 4 seconds. For the DM 42 I came to 9.17 as measured by the calculator. So I cannot confirm the 6.8 seconds your result was. (Sum in both cases: 1,395.3463). -> Resulting speed factor 2.6.
I repeated it with 2000 loops and came to 6.6 seconds (measured by the stopwatch) for the DM32 and 18.28 seconds for the DM 42 (as measured by the calculator clock). -> Speed factor 2.8.
With 4000 loops: 12.7 seconds (DM 32, measured by the stopwatch), 36,41 seconds as measured by calculator clock. -> Speed factor 2.9.
My results for the DM42 were made originally with the angle mode set to radians (RAD), so I changed to degrees mode (DEG), and obtained the following results:

1000 loops = 8.27 sec vs 9.17 sec
2000 loops = 16.46 sec vs 18.28 sec
4000 loops = 32.80 sec vs 36.41 sec

The results should be essentially the same, so I don't understand the discrepancies. I assume you had your DM42 running in 4STK mode (4 level stack), since running it in NSTK mode will fill the stack and result in a "Insufficient Memory" error. Perhaps one of the Swiss Micros experts will chime in to help resolve this mystery. :?
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
rawi
Posts: 102
Joined: Sat Dec 28, 2019 4:50 am
Location: Bavaria, Germany

Re: How fast is DM32?

Post by rawi »

This is strange, and I am looking forward to a solution.
So the difference seems to be not with the DM42 but with the DM32.

I repeated the test with the DM32 with DEG and RAD mode and with 4000 loop, both coming to an execution time of about 13 seconds. Furthermore, my first results were done with a DM32 calculator with all memory cleared. This was done with quite a big program in the memory. But even now I did not come to anywhere of 30 or more seconds execution time.

So I cannot explain the difference between our results.
ctrclckws
Posts: 173
Joined: Sun Feb 17, 2019 4:30 pm

Re: How fast is DM32?

Post by ctrclckws »

A quick test with Katie Wasserman's calculation of pi to 200 digits for the HP32Sii ran in 22 seconds.

Her notes say it runs in 40 minutes on an original 32Sii.
DM10, DM10L: 00031 / DM11, DM11L: 00112 / DM12, DM12L: 02074
DM15, DM15L: 11069 / DM16. DM16L: 02001 / DM41, DM41L: 00859
DM41X: 00036ß / 00181 DM42: 3108 / 6084 WP43: 0032
BigEd
Posts: 70
Joined: Wed May 03, 2017 9:00 am

Re: How fast is DM32?

Post by BigEd »

Does the speed of the DM32 depend on whether it's running with USB power or battery power?
ctrclckws
Posts: 173
Joined: Sun Feb 17, 2019 4:30 pm

Re: How fast is DM32?

Post by ctrclckws »

Evidence in some of the responses indicated that the CPU speed didn't change when plugged into USB.

Perhaps it is one of those functions not yet implemented in the beta software.
DM10, DM10L: 00031 / DM11, DM11L: 00112 / DM12, DM12L: 02074
DM15, DM15L: 11069 / DM16. DM16L: 02001 / DM41, DM41L: 00859
DM41X: 00036ß / 00181 DM42: 3108 / 6084 WP43: 0032
RaulLion
Posts: 93
Joined: Thu Apr 13, 2023 5:48 pm
Location: Spain
Contact:

Re: How fast is DM32?

Post by RaulLion »

ctrclckws wrote:
Thu Jun 15, 2023 9:55 am
Evidence in some of the responses indicated that the CPU speed didn't change when plugged into USB.
Perhaps it is one of those functions not yet implemented in the beta software.
I think it is: I read just this somewhere. DM32 will duplicate its speed in a future f/w version.
hp41cv-hp15c-hp42s-hp32sii-hp48gx(2)-hp33s(pre-release)-hp35s-DM32

[hp48 + Metakernel + Erable + Alg48 + 20 years of stuff running on Emu48 for Android since 2019]
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: How fast is DM32?

Post by rprosperi »

The DM32 does not currently adjust speed based on presence of USB power, but it will in a future f/w update; once doing so, it will be much faster when connected. Don't ask how much faster, it's not yet final, but it will be similar to the increase seen in the DM42 and DM41X.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Netmage
Posts: 6
Joined: Sun Aug 20, 2017 11:08 pm

Re: How fast is DM32?

Post by Netmage »

rprosperi wrote:
Fri Jun 09, 2023 12:22 am
Regarding the question about a DM41X not running under NUT emulation, basically no, that won't happen. Redeveloping the 41CX from scratch is not a trivial task, in fact it's not even a large task, it's a huge, risky task, for no effective benefit, except being somewhat.
Except being somewhat what?

Wouldn't Free42 provide a very good base for a 41CX simulator?
Post Reply