Potential for Propeller laptop?
mklrobo
Posts: 420
With the power of the propeller demonstrated by the projects that people have made,
would it be possible to make a laptop with multiple propellers working together? (Hobbiest
could repair their own laptop!)
would it be possible to make a laptop with multiple propellers working together? (Hobbiest
could repair their own laptop!)
Comments
http://translate.google.com/translate?hl=en&sl=de&u=http://hive-project.de/&prev=/search%3Fq%3Dhive%2Bprogrect%2Bde%26num%3D100%26newwindow%3D1
untranslated incase you read German: http://hive-project.de/
More seriously: What power demonstrated by the Propeller?
A Propeller running PASM is executing instructions at 20 MIPs. That's kind of useless for laptop type applications as those PASM programs have to fit in 496 the instruction space of the a COG. We could use LMM and execute code from HUB. Then we are down to about 5 MIPS. Still kind of useless as we are now limited to the 32K RAM of the HUB. OK we can add external RAM and run from that. This is great as we can now use 32MB RAMS and run huge programs. But our execution speed is down to 1 MIP if we are lucky.
That's OK we can use many Propellers in parallel. Forget about using more than one COG in each Prop for running any application codes as arranging access to that RAM for them will kill performance. Let's be generous and say we can put an 8 by 8 array of props on a mother board inside our laptop. Put the Props on one side of the board and the RAMs on the other.
Great we now have a 64MIPs machine with 2 Gbytes of RAM!
What about power consumption? That seems to be 10ma per COG at 80MHz so that 640ma or 2.1 watts. Hmm...not bad.
In theory we could be writing some massively parallel code that does manage to spawn small tasks into all available COGs yielding a peak of 9000 MIPs with a power consumption peaking out at about 17 watts.
Quite impressive at first sight. Creating such a program would be a major feat though. The overheads of communicating between processes loading and loading code etc would soon knock that down by an order of magnitude at least.
All in all you would be better off using a Raspberry Pi or other ARM board as a basis for a home made laptop. Much better MIPs, much better power consumption, much smaller, much easier to program.
And that's before we start to think about floating point or graphics performance.
Of course it all depends what you mean by "laptop" and what you expect it to do.
Edit: By the way, why is this thread posted under "Suggestions To Parallax"? Are you really suggesting that Parallax design and build such a beast?
Edit: Corrected total MIPs available for a 64 Prop machine. 64 times 1MIP for the "master" code running from external RAM in each cog plus the seven free COGs in all the Propellers: (64 * 1) + (64 * 7 * 20) = 9024 MIPs.
A very silly theoretical number.
You have done alot of work in thinking of this, and I appreciate it. I had not approached the problem like this.
I had high hopes of using the propeller is some respects to this objective, but it seems out of reach.
I had not expected Parallax to build a laptop, with propellers, but it does excite the imagination!
Oldbitcollector had made a project similar to what I was thinking of.
So many people have done alot of things with the propeller, it staggers my mind with the
potential of the chip. I have to give alot of credit to the people in the forum; no doubt, Parallax
provided a great "vehicle" for all to ride.
http://www.microchip.com/pagehandler/en-us/family/32bit/
The specs for the PIC32MZ looks amazing. I wonder if the P2 will be able to compete against it.
When will you have it done? :-)
Should that have been "It's IMPOSSIBLE!" (tm)?
Not really. This is a common theme that keeps reoccurring over the years. People discover the Propeller and it's 8 cores and immediately jump to conclusions about it awesome parallel processing power and how one could build a super computer with it. Or a "normal" computer at least.
The refutations of this idea have been worked through many times before.
That's not to say that the parallel processing power of the Propeller is not awesome. But it's limitations have to be taken into account as well.
The Propeller laptop is of course IMPOSSIBLE(tm)
The addition of an SD card allows storing hundreds of programs on it, which greatly expands the capability of the system. Users feel like they are running on a real computer. Is it practical to use it as a compurer? Probably not, but I find it fun to tinker with.