Benchmark Speed?

Discussion around the SwissMicros DM42 calculator
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Benchmark Speed?

Post by grsbanks »

StatsDoctor wrote:
Thu May 23, 2019 6:15 am
It is interesting that for the iPhone, running the programs using a power supply yielded only slightly better results than running the programs using the battery. For the DM42, running the programs using a power supply yielded results that were much better than running the programs using the battery.
Nothing surprising about that at all.

The DM42 is designed specifically to push the CPU clock frequency from 25MHz up to 80MHz when external power is applied.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
StatsDoctor
Posts: 33
Joined: Sun Jul 08, 2018 2:47 am
Contact:

Re: Benchmark Speed?

Post by StatsDoctor »

Thanks, grsbanks. I was not fully aware of this. I have seen a few other posts (not directed to me) where a recommendation was made to apply external power to the DM42, but the reason for doing this was not given. Now I understand the reason.

This is a really cool feature of the DM42!
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP 35s, HP 33s, HP-32S, HP-32Sii, HP-15C; iOS: Plus42, Free42, WP-34S, HP-15C
Dave Britten
Posts: 137
Joined: Wed Jun 14, 2017 9:27 pm

Re: Benchmark Speed?

Post by Dave Britten »

A couple of weeks ago, I was reading an old PPC Notes (or something similar), and there was a letter/article about someone doing a large prime number search on their TI-59, and it took about 5 hours. I did the same on my DM42 using a Rabin-Miller prime test wrapped in an outer loop and the whole thing took about 15 seconds. :) I just tried it again on external power, and it was only about 5.
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: Benchmark Speed?

Post by toml_12953 »

Dave Britten wrote:
Sat May 25, 2019 3:10 pm
A couple of weeks ago, I was reading an old PPC Notes (or something similar), and there was a letter/article about someone doing a large prime number search on their TI-59, and it took about 5 hours. I did the same on my DM42 using a Rabin-Miller prime test wrapped in an outer loop and the whole thing took about 15 seconds. :) I just tried it again on external power, and it was only about 5.
That's it. I'm officially old. :? I had an SR-52 and then upgraded to a TI-59 when it was first available (1977 or so?) I was thrilled! I can't even imagine what will be available in another 40 years (not that I'll be here to see it)!
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Dani R.
Posts: 349
Joined: Fri May 05, 2017 10:23 pm

Re: Benchmark Speed?

Post by Dani R. »

Michael must have send me the DM42 of David, it is clear now for me, why my unit was affected by the "timing issue affecting a small number of boards".


Free42Linux decimal on PC with Ryzen 7 2700X and Debian 9.9:
MATH 3'030'000
TRIG(DEG) 1'880'000
TRIG(RAD) 2'416'000

Free42Windows decimal, same PC, running Windows 2000 in VirtualBox:
MATH 16'064'000
TRIG(DEG) 1'352'000
TRIG(RAD) 2'342'000

Android Free42 on Phone with Snapdragon 820 and LineageOS 14.1:
MATH 4'810'000
TRIG(DEG) 636'000
TRIG(RAD) 1'056'000

DM42 connected with USB
MATH 75'350
TRIG(DEG) 10'925
TRIG(RAD) 17'200

DM42 on battery
MATH 31'000
TRIG(DEG) 4'250
TRIG(RAD) 6'925
C47(DM42) SN:00032 WP43 SN:00016
https://47calc.com
Thomas Okken
Posts: 1100
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Benchmark Speed?

Post by Thomas Okken »

Dani R. wrote:
Sat May 25, 2019 9:35 pm
Free42Linux decimal on PC with Ryzen 7 2700X and Debian 9.9:
MATH 3'030'000
TRIG(DEG) 1'880'000
TRIG(RAD) 2'416'000

Free42Windows decimal, same PC, running Windows 2000 in VirtualBox:
MATH 16'064'000
TRIG(DEG) 1'352'000
TRIG(RAD) 2'342'000
Is that a typo in your MATH benchmark data, or is the 32-bit Windows build, running in a VM, really five times faster than the 64-bit Linux build, running on the metal on the same machine? :shock:
Dani R.
Posts: 349
Joined: Fri May 05, 2017 10:23 pm

Re: Benchmark Speed?

Post by Dani R. »

Thomas Okken wrote:
Sun May 26, 2019 6:14 am
Is that a typo in your MATH benchmark data, or is the 32-bit Windows build, running in a VM, really five times faster than the 64-bit Linux build, running on the metal on the same machine? :shock:
I have a AMD Ryzen 5 2600 in the Office with native Windows 10. Tomorrow I can check Free42Windows decimal on this PC.

Yes I have double checked the program and the results, this is not a typo, Free42Windows decimal on 32-bit Windows 2000 Professional in a VM delivers me anytime a benchmark greater than 16'000'000 for MATH. But Free42Linux "only" greater than 3'000'000 for MATH.

Even worse, same Machine:
Free42Windows decimal running with wine on Debian 9.9:
MATH 363'000
TRIG(DEG) 294'000
TRIG(RAD) 346'000

So, wine is not the solution. Sometime I will set up a VM with Windows 8.1 64-bit.
(edit in bold)
Last edited by Dani R. on Mon May 27, 2019 1:09 pm, edited 1 time in total.
C47(DM42) SN:00032 WP43 SN:00016
https://47calc.com
User avatar
ijabbott
Posts: 253
Joined: Fri Dec 15, 2017 2:34 pm
Location: GB-MAN

Re: Benchmark Speed?

Post by ijabbott »

Dani R. wrote:
Sun May 26, 2019 11:30 am
Thomas Okken wrote:
Sun May 26, 2019 6:14 am
Is that a typo in your MATH benchmark data, or is the 32-bit Windows build, running in a VM, really five times faster than the 64-bit Linux build, running on the metal on the same machine? :shock:
I have a Ryzen 7 2600 in the Office with native Windows 10. Tomorrow I can check Free42Windows decimal on this PC.

Yes I have double checked the program and the results, this is not a typo, Free42Windows decimal on 32-bit Windows 2000 Professional in a VM delivers me anytime a benchmark greater than 16'000'000 for MATH. But Free42Linux "only" greater than 3'000'000 for MATH.
Maybe its a 32-bit versus 64-bit thing. It would be interesting to compare the performance of Free42 Linux builds for the three different ABIs (x86-64, x32, and i386) supported by the 64-bit x86 Linux kernel.
Dani R.
Posts: 349
Joined: Fri May 05, 2017 10:23 pm

Re: Benchmark Speed?

Post by Dani R. »

Free42Windows Decimal on PC with AMD Ryzen 5 2600 running Windows 10 Enterprise LTSC
MATH 5'532'000
TRIG(DEG) 1'058'000
TRIG(RAD) 1'706'000

Free42Windows Decimal, same PC, running Windows 2000 in VMware Workstation Pro
MATH 13'554'000
TRIG(DEG) 1'172'000
TRIG(RAD) 2'030'000

Yes, Free42Windows Decimal is also here faster in the VM against the same version running on the metal of the same machine, even the TRIG benchmark.
(edit in bold)
C47(DM42) SN:00032 WP43 SN:00016
https://47calc.com
Dave Britten
Posts: 137
Joined: Wed Jun 14, 2017 9:27 pm

Re: Benchmark Speed?

Post by Dave Britten »

Very weird. Is Free42 making some kind of blocking syscall that's much slower/more complex on newer operating systems?
Post Reply