Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl code to a multi-processor slave card: Total mPower 2

by mattr (Curate)
on Jan 29, 2003 at 07:50 UTC ( [id://230880]=note: print w/replies, xml ) Need Help??


in reply to Perl code to a multi-processor slave card: Total mPower 2

Neat looking card! Sounds like you will be compiling perl to run on G3 or G4 (!) after reading this |page but it seems the thing is mainly designed to offload tasks from a program running on the computer's main CPU to run independently on the card's CPUs, as in rendering.

But I am guessing you want to put all of Perl, not just some C program with a Perl interface, into the card because it is cool, etc. A Perl Accelerator (like this or as FPGA) would be insanely great!

Caveat, I have absolutely no experience with this kind of thing. But I want to kibbutz anyway! And I feel encouraged by the TPMP2 manual section (pg. 14 of the linux manual) entitled, "There is no spoon". (!)

Since they say the board doesn't actually run linux itself, some modules maybe just won't work, unless you could run maybe SMP linux on the card too. But assuming everything works as you need it, you're talking about running a different perl on each one.. so then how to tell each perl where the memory cache is? Maybe if you have one central perl program running on the motherboard you can have that spawn separate processes for the card's CPU's that way the children know where the memory is. Only problem is that the manual says the children won't be able to always see main memory pages so you might have to have one child set up the cache (in high shared memory) and report to the others where it is.. sorry I can't theorize more. If it works it'll be great..

  • Comment on Re: Perl code to a multi-processor slave card: Total mPower 2

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://230880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-26 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found