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..


In reply to Re: Perl code to a multi-processor slave card: Total mPower 2 by mattr
in thread 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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.