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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Greetings all;
I have a new project that I'm going to attempt to have a go at - I don't know about success, but then, it wouldn't be as fun would it?

At any rate, I've got a line on a Total Impact 'Total mPower 2' processor card. The long and skinny is that its a PCI based card with four 233mHz 604e PPC processors on it, sharing 128M of local SDRAM.
The system works by having you compile ELF binaries for the PPC processors, and using kernel modules to upload these binaries to the processors, which then execute them accordingly. No OS to get in the way, so to speak.
What I would _like_ to do is run a threaded perl application across the processors, which may or may not even be possible without an OS. I was thinking along the lines of perlcc'ing my source to C, and then using a cross-compiling gcc to generate the ELF binaries for the processors.

This is likely much more complex than I'm making it out to be. I'm sure I can make this application run on a single processor, but making it run on multiple processors while sharing the same data structures in local memory may not be be something achievable in perl.
The Total Impact website has more about the TPMP cards (Although the site is right now offline. Go figure.)
Anything anyone can throw into the void would be helpful, I'd also be interested in any involvement with these cards, perl related or otherwise, to get an idea how people have dealt with them in the past.

My thanks to all,
JP,
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --


In reply to Perl code to a multi-processor slave card: Total mPower 2 by JPaul

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-25 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found