Adding Up Propeller Resources
Humanoido
Posts: 5,770
The Propeller chip has eight Cogs which can be used as independent 20 MIPS each assembly resources. The Prop also has two independent counters per cog - each contributes as a 20 MIPS resource. Each Cog has one video generator. As another independent resource, what is the maximum rating of each video generator, in units closest to generalized MIPS? (max cycles, max frequency, max pixel clocks, max frame clocks, with highest PLLA, etc.) Thank you.
Comments
Bean
If you have very different instruction sets, the MIPS figures may also be useless. With a stack machine or a LISP machine, instructions tend to do more than with other architectures, so you can't directly compare MIPS. For example, it's not useful to compare something like a Pentium class processor with an ARM class processor. They're too different. You can compare applications (benchmarks), but you need a variety of kinds of applications to get a meaningful overall throughput indication. Some types of processors do well on some kinds of applications and other types of processor do well on other kinds of applications.
Similarly, even if you figure out a way to include some kind of value for the various hardware units in the Propeller that are not actively part of the processor itself, the usefulness of these units depends intimately on what you're trying to do with the processor.
The Prop has better things to do than worry about MIPS.
The goal is to quantify Parallax Propeller resources, Counters and Generators, for additional use with a method and measurement that can relate to the processors executing instructions thereby increasing functionality. A generalized solution is now found for Counters. The Generator source information is still being researched.
Now the Video Generator. It has also one instruction: a Shift by one or by two. And this unit can execute this instruction with up to 160 MHz or more.
So the Propeller has in total: 8 cog with 20 MIPS, 16 counters with 80 MIPS and 8 VideoGenerators with 160 MIPS.
8*20 + 16*80 + 8*160 = 2720 MIPS - very impressive!
I think for Humanoido it does not matter, that these all has no relevance to real applications on the Propeller. But people that read this number and get then only 0.5 MIPS with Spin may be disappointed if you propagate this number as MIPS for the Propeller.
Andy
Andy, your reply answers the question perfectly. Thank you!
Maybe you're happy with these abstract numbers, but they're really meaningless without context. Strictly speaking the "I" part of MIPS doesn't apply to either the counters or the video generator. You might say MOPS (millions of operations per second) and that would be more meaningful, but equally useless as a measure of the usefulness of the various units of the Propeller.
-Phil
If you don't like MIPS, check out these units - Heater has taken up rating his prop speed in terms of "pain" and other dubious non-quantitative words like "slow."
I was refraining from using Prop speed terminology such as "ultimately pleasurable" and "really damn fast" but it looks like we could make an exception.