Execution Speed of Early HP Programmables



#11

I tried writing a program on my HP67 which simply counts from 1 upwards. I timed this process and it runs at almost exactly half the speed I can quite easily achieve doing the equivalent thing with my Curta mechanical calculator. I timed my HP41CX and it runs at approximately the same speed as the Curta.

This is by no means meant to be a criticism but it does seem remarkably slow and I'd like to know what limits the speed. Is it because 1970s memory runs very slowly? I am using 2011 electrons ;-)


#12

I don't think it's memory or "the 70s". Here are some results from various benchmarks: the first one here on hpmuseum.org and another one with much more data in the articles section.

Look at the figures and draw your own conclusions. ;-)

Dieter

Edited: 27 Nov 2011, 10:36 a.m.

#13

The early calculator chips were mostly PMOS (or NMOS) not CMOS, they used a lot of current and switched slowly. To minimize the current draw and extend battery life they kept to clock rate low.


#14

Ah, I see...many thanks!

#15

Early calculators used a bit serial architecture - i.e. the addresses and data were shuffled around only one bit at a time. That's how the '41's RAM and ROM could fit into 8 pin DIPs. So, combine a sub-megahertz clock with having to shuffle 56 bits per register around and then use a lot of internal programming opcodes to do a simple add, combined with having to do GOTOs by searching entirely through memory on the '67, and the slow speed is no surprise.

Of course, a simple counting loop is easy on the Curta. Transcedental math is another thing!

Still, the fastest factoring program on the HP-67 found 10^10-33 prime in about 3 hours 45 minutes, as I recall. The HP-41 was blazingly 3 times faster. Glacial by current standards, but that was over 30 years ago (i.e. the answers arrived 30 years before today's machines can deliver them). And far faster than the personal calculators of 30 years before that...

(An old saying - you can tell the pioneers as they're the ones with the arrows sticking out of their backs).


#16

Thanks, that's very interesting and certainly explains a lot.

(I don't want to sound like I'm knocking these lovely old machines - my 67 is currently my favourite calculator and I have several to choose from!)

#17

Jim; 4 things.

Yes. True. The Curta was slowed way down when you had to look up a number in your peters tables to throw into it.

So as you said; the hp 67 was faster in reality - but it couldn't grind coffee.

If there are arrows in the backs of Pioneers, what's sticking out of Voyagers?

I'll use that line of yours "the answers arrived 30 years before today's (faster) machines can deliver them" someday, but i'll take credit.


#18

I didn't consider anything here as a knock on the older machines - and certainly appreciate the tremendous changes since then!

The '67 will always have a fond place in my memories. I used mine so much I could program it by feel, and did one night in the wee hours while driving my VW Scirocco back to the SF Bay Area from LA to try out some math ideas I had. Of course, the LEDs were easy to see in the dark when I occasionally glanced at their results.

Martinez, CA? I moved up to the Columbia River Gorge from Santa Rosa - and my '67 is still in Rohnert Park with a great friend...


#19

The LED light show while a program is running on a 67 is priceless. Next best is the flying goose on the 41's, followed by the flashing "running" on the 15c. All of the above give unambiguous indication that your program is running.
The little hourglass annunciator on current machines is very non-discript and boring by comparison...so, it's a good thing programs run faster! :)


#20

Just to give some hints, classic were built with a base clock from 185 up to 235 KHz.

Which gives around 3000 instructions per second (56 cycles for an instruction)

(btw the flickering on an HP67 is around 220 Hz)

Edited: 29 Nov 2011, 8:30 a.m.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Layout of arithmetic keys on early calculators Walter B 10 507 11-20-2013, 11:13 AM
Last Post: Jake Schwartz
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 359 11-16-2013, 10:07 PM
Last Post: Han
  HP50G early days vs Prime early days? Mike Powell 7 351 10-09-2013, 11:17 AM
Last Post: Eric Rechlin
  WP-34S: Speed of y^x Marcel Samek 1 180 09-14-2013, 07:31 PM
Last Post: Paul Dale
  WP-34S function execution speed ? Gene Wright 4 264 09-04-2013, 05:40 PM
Last Post: Paul Dale
  HP-27S speed compared to HP-42S Tommi 3 268 06-05-2013, 05:55 PM
Last Post: Christoph Giesselink
  HP-39gII speed Mic 2 227 02-24-2013, 05:55 PM
Last Post: Thomas Klemm
  Calculator Speed Benchmark (Add Loop) Thomas Chrapkiewicz 2 249 01-20-2013, 11:24 AM
Last Post: Thomas Chrapkiewicz
  May be a little early ... Walter B 5 273 12-09-2012, 05:04 PM
Last Post: Paul Dale
  Speed comparison: HP 30b vs. WP 34s Dieter 9 429 12-08-2012, 04:34 AM
Last Post: Paul Dale

Forum Jump: