🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by BARKER Thu, 24 Aug 1989 15:08
T414 link speed
#234
Author: BARKER
Date: Thu, 24 Aug 1989 15:08
45 lines
2433 bytes
Hello all,

 I have this problem that seems to be totally ignored in the Transputer
Databook (1st ed. 1989). Can a T414 (or any other transputer for that matter)
maintain simultaneous bidirectional communication along a link? 

Specifically:

 I have an application where a T414B is acting as a host for a network of
T800s. In my original version of the host's program, the T414 would send out a
data packet (typically 10 - 1000 bytes), and wait to receive the results (again
10 - 1000 bytes). One these had been received, the host would send out the next
data packet, and so on... 

 I then decided that the program would be much more efficient if I had two
processes running in parallel on the T414: one sending data and one receiving
results. As soon as the receiver process received the first byte of the
results, it would pass a message to the sender. The sender would then start
transmitting the next data packet at the same time as the receiver was
receiving the rest of the last set of results. 

In occam, very roughly:

PAR
  WHILE TRUE                     -- receiver
    SEQ
      from.network ? results[0]
      receiver.to.sender ! signal
      from.network ? [results FROM 1 FOR results.length-1]

  WHILE TRUE                     -- sender
    SEQ
      receiver.to.sender ? signal
      to.network ! [data FROM 0 FOR data.length]

 However I found no improvement in program speed. Now, this could be because of
some other bottleneck in my program, or simply because the T414 cannot maintain
the communication in both directions at the same time. Does anybody know the
answer? 
--------------------------------------------------------------------------------
Simon Barker                            Phone: (0784) 439900 (UK)
Department of Physics,                         (+44) 784 439900 (international)
Royal Holloway and Bedford New College,
Egham Hill, Egham,                      JANET: UHAP033@UK.AC.RHBNC.VAXA or
Surrey, TW20 0EX, England                      BARKER@UK.AC.RHBNC.PH.V1
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads