🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #125

Connection of links on SAME Transputer

#125
From: Nick Clarke 595000 x3009, 0703
Date: Thu, 29 Jun 1989 08:27
57 lines
2571 bytes
 It is not altogether surprising that it is possible to send messages
between two Transputer links on the same Transputer. What is more interesting
is that there is a useful (if somewhat obscure) application for this.

    The basic idea is to use the two links as a parallel block-moving
engine for the Transputer in question. Consider the following piece of
pseudo code :-

         NB:    is a left square bracket
                is a right square bracket

         N INT a,b:
         PROC P(........)
           ...
         :
         SEQ
           a:=b
           P(not involving a or b)

    This may be transformed into the following equivalent pseudo code :-
    (eqivalent if the two links are connected)

         CHAN linkout,linkin:
         PLACE linkout AT spare.out.link:  -- these two spare links
         PLACE linkin  AT spare.in.link:   -- should be different ones
         N INT a,b:
         PROC P(........)
           ...
         :
         PAR
           linkout ! b
           linkin  ? a
           P(not involving a or b)


    The advantage of this is that the 'block move' takes place
concurrently with the execution of P(). If P() takes longer
than the total time taken for the link transfer, the block move
is totally overlapped with the computation and becomes transparent.

    A word of warning: the saving acheived is the time taken to
perform a:=b (minus set up time for a PAR !), which is an extremely
quick operation on the Transputer. Consequently, even in ideal
situations, this technique only results in small savings in run
time. If, however, the technique is applied to an unsuitable setup
(eg. where P() runs quicker than the link transfer), then the losses
in run time can be enormous ! (because the link transfer is so much
slower than the internal block move).

    If there are any genuinely useful applications for this, I would
be interested to know of them. Otherwise I think it will remain as
another academic exercise for those devilish Transputer beasties.



    Nick Clarke, Southampton University Computing Services.
Technical Details
Message-ID: <29.Jun.89.10:06:09.BST.#5660@UK.AC.SOTON.IBM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ibm.southampton.ac.uk!CPI085

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ibm.southampton.ac.uk!CPI085
From: CPI085@ibm.southampton.ac.uk (Nick Clarke 595000 x3009, 0703)
Newsgroups: comp.sys.transputer
Subject: Connection of links on SAME Transputer
Message-ID: <29.Jun.89.10:06:09.BST.#5660@UK.AC.SOTON.IBM>
Date: 29 Jun 89 08:27:37 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 57