Welcome, Guest. Please login or register.

Author Topic: Million Instructions per Second  (Read 5501 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TenaciousTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Million Instructions per Second
« on: June 10, 2013, 09:44:56 PM »
I found this article, http://en.wikipedia.org/wiki/Instructions_per_second, on wikipedia and found it fascinating, especially the comparison of computers through history.

Sadly, our favorite computer was noticeably missing (as were some of the other standouts in my collection, like Apple ][, Hp-85, Commodore 64, a more recent G4 Mac, etc).  It was predictably Intel-centric.
 

Offline TenaciousTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Million Instructions per Second
« Reply #1 on: June 10, 2013, 10:11:35 PM »
On second look, the chart did include the 68K, 020, 030, 040, 060, and 6502.  :)
 

Offline Oldsmobile_Mike

Re: Million Instructions per Second
« Reply #2 on: June 11, 2013, 01:43:58 AM »
A 6502 is capable of .500 MIPS?  Get outa here!  ;)  Just seems odd in comparison to the 68000 .7 MIPS (which we all know as to be true according to SysInfo, LOL)
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline TenaciousTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: Million Instructions per Second
« Reply #3 on: June 11, 2013, 02:02:05 AM »
Yeah, that struck me, too.  Especially, the 6502 compared to Intel's 8080.  If you look at the Ips/clock cycles per second figure, it seems that 6502 was more efficient than many others for a number of years.
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Million Instructions per Second
« Reply #4 on: June 11, 2013, 02:16:58 AM »
Quote from: Oldsmobile_Mike;737460
A 6502 is capable of .500 MIPS?  Get outa here!  ;)  Just seems odd in comparison to the 68000 .7 MIPS (which we all know as to be true according to SysInfo, LOL)
Considering that there are a number of instructions on the 6502 with two-cycle execution times (though there are plenty more in the 3-5 range) this isn't actually an unreasonable figure (though you'd be hard-pressed to write code with only the two-cycle instructions and thereby manage a full .5 MIPS on a 1MHz 6502.)

It's also a great example of why MIPS is completely bogus for cross-architecture comparison. The 68000 ran at higher clock speeds than the 6502 (though later CMOS 6502 derivatives eventually caught up,) and is much more powerful on a per-instruction basis - but since the average execution time for 68000 instructions is closer to 8-10 cycles and it's hard to go below 4, the disparity when viewed in terms of instructions-per-second looks a lot smaller than it actually is. Don't get me wrong, the 6502 is a great CPU for an 8-bitter, but while the 68000 doesn't execute as many instructions clock-per-clock, it gets a whole lot more done with them.
« Last Edit: June 11, 2013, 02:19:54 AM by commodorejohn »
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline jackflash

  • Newbie
  • *
  • Join Date: Jan 2012
  • Posts: 20
    • Show only replies by jackflash
Re: Million Instructions per Second
« Reply #5 on: June 11, 2013, 02:21:31 AM »
I seem to recall that the 6502 used 3 to 5 clock cycles to carry out 1 instruction, wouldn't that give it an average of 0.25 MIPS?
 

Offline royalcrown

  • Full Member
  • ***
  • Join Date: May 2013
  • Posts: 222
    • Show only replies by royalcrown
Re: Million Instructions per Second
« Reply #6 on: June 11, 2013, 02:26:37 AM »
All I know is my c64 crushed an 8088 at gaming fluidity. the 8088 was running CGA. It made the intel look like poop !
I gots me a Video Toaster...where do I put the bread in ?!?! :confused:
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Million Instructions per Second
« Reply #7 on: June 11, 2013, 02:36:25 AM »
Quote from: jackflash;737464
I seem to recall that the 6502 used 3 to 5 clock cycles to carry out 1 instruction, wouldn't that give it an average of 0.25 MIPS?
A lot of important instructions are in the 3-5 range, yes. But basically any instruction that operates entirely on registers/internal CPU state is a two-cycle instruction, since the CPU doesn't have to fetch any extra bytes to complete it. (Some instructions using immediate constants don't, either, since the 6502 can fetch the value right out of the instruction stream at the start of the second instruction cycle.) But as I said, you'd be hard-pressed to write an entire program out of those instructions. That's another problem with MIPS, it's highly dependent on the instruction mix used for determination, and manufacturers had no qualms about "cooking" the results by using lots of short instructions.
« Last Edit: June 11, 2013, 02:38:40 AM by commodorejohn »
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: Million Instructions per Second
« Reply #8 on: June 11, 2013, 02:40:49 AM »
Quote from: royalcrown;737466
All I know is my c64 crushed an 8088 at gaming fluidity. the 8088 was running CGA. It made the intel look like poop !
Yeah, the 8088 was a pretty badly-hobbled design - like the original 68000 it had a data bus half the width of its registers, and on top of that it didn't have nearly as many registers and they all had special-purpose functions, so a lot of time had to be wasted juggling them in any halfway complex code. And that's not even getting into a lot of the performance-inhibiting cost-saving measures like memory wait states that many PC manufacturers employed...
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: Million Instructions per Second
« Reply #9 on: June 11, 2013, 02:42:24 AM »
Quote from: Tenacious;737444
On second look, the chart did include the 68K, 020, 030, 040, 060, and 6502.  :)



I have a 68060 A4000 and an old AMD X2 3800+.  110 MIPS versus 14500.  The X2 sure doesn't feel 100x faster
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: Million Instructions per Second
« Reply #10 on: June 11, 2013, 07:41:30 AM »
Quote from: stefcep2;737469
I have a 68060 A4000 and an old AMD X2 3800+.  110 MIPS versus 14500.  The X2 sure doesn't feel 100x faster

Higher RAM latency is an issue: up to 8 ns (originally 2ns). You must have been running Windows with a lot of processes.
Q: was the 4000 still snappy with a lot of things running, including virus scanner?
Go Go Gadget Signature!
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show only replies by Mrs Beanbag
Re: Million Instructions per Second
« Reply #11 on: June 11, 2013, 09:56:06 AM »
I watched someone's youtube rant a while back about why the 6502 and derivatives were better than the 68000, I have never facepalmed so hard.
Signature intentionally left blank
 

Offline rewlako

  • Newbie
  • *
  • Join Date: Apr 2012
  • Posts: 41
    • Show only replies by rewlako
Re: Million Instructions per Second
« Reply #12 on: June 11, 2013, 09:57:26 AM »
Quote from: jackflash;737464
I seem to recall that the 6502 used 3 to 5 clock cycles to carry out 1 instruction, wouldn't that give it an average of 0.25 MIPS?


Lots of 6502 instructions are executed in just 2 clock cycles, so the .5 MIPS estimate is correct.
 

Offline psxphill

Re: Million Instructions per Second
« Reply #13 on: June 11, 2013, 11:23:53 AM »
Quote from: rewlako;737500
Lots of 6502 instructions are executed in just 2 clock cycles, so the .5 MIPS estimate is correct.

It's .5 MIPS maximum though, on the c64 you don't get to access ram often enough to meet that unless you turn off the display & not all instructions fit in 2 clock cycles.
 
Using those same conditions the 68000 in the Amiga should be able to reach 3.5 MIPS.
 
Quote from: commodorejohn;737468
Yeah, the 8088 was a pretty badly-hobbled design - like the original 68000 it had a data bus half the width of its registers, and on top of that it didn't have nearly as many registers and they all had special-purpose functions, so a lot of time had to be wasted juggling them in any halfway complex code. And that's not even getting into a lot of the performance-inhibiting cost-saving measures like memory wait states that many PC manufacturers employed...

Comparing an 8088 to a 68000 is a little unfair. It was just the cost reduced version of the 8086, like the 68008 was a cost reduced version of 68000. Yes the 8086 wasn't a great design, but they didn't expect it to define the industry. It was just a logical progression from the 8008 chip that they produced in 1972 & they started making CPU's to give people a reason to buy the RAM chips they made to put them in calculators etc. The Intel iAPX 432 was their 68000 equivalent, but the project failed miserably. Quite often it's the cheap project that is thrown together that is successful (which is why we ended up with VHS over Betamax or any of the others). The 80386 was the first good CPU they made in the x86 line, still crippled a little by the 8086 instruction set but it had an MMU. The tried again to replace x86 with the Intel I860 but that was a commercial failure. It wasn't good enough to throw away backward compatibility, but it was great at doing specific things so it ended up on graphics accelerator cards. They were trying to do something revolutionary with that and unfortunately that group wasn't focused on what the industry needed.
 
However the 8088 does compare well to a 6502. The c64 beat CGA PC's in terms of games because of the vic & sid chips.
« Last Edit: June 11, 2013, 11:49:45 AM by psxphill »
 

Offline Britelite

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 187
    • Show only replies by Britelite
    • http://www.dekadence64.org
Re: Million Instructions per Second
« Reply #14 on: June 11, 2013, 11:38:06 AM »
Quote from: psxphill;737511

Using those same conditions the 68000 in the Amiga should be able to reach 3.5 MIPS.

I'm guessing you mean 1.75 MIPS, as the fastest instructions are 4 cycles on the 68000. ;)