home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / transput / 969 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.8 KB  |  33 lines

  1. Newsgroups: comp.sys.transputer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!rz.ruhr-uni-bochum.de!jan
  3. From: jan@pallas.neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen)
  4. Subject: Re: Usage of in/out concerning iserver packets?
  5. Message-ID: <JAN.92Aug31152250@pallas.neuroinformatik.ruhr-uni-bochum.de>
  6. In-reply-to: michael@gandalf.moria's message of Sun, 30 Aug 92 13:04:21 +0100
  7. Organization: Inst. f. Neuroinformatik, Ruhr-Universitaet Bochum, FRG
  8. References: <92083073@gandalf.moria>
  9. Date: 31 Aug 92 15:22:50
  10. Lines: 21
  11.  
  12.    While learning assembler, I wondered about how iserver is supposed to be
  13.    used.  If two processes communicate with each other, the length of 
  14.    corresponding 'in's and 'out's has to be same, right?  For the root 
  15.    transputer exchanging data with the host, that doesn't matter, but what 
  16.    for a router process which transports iserver packets between processes,
  17.    e.g. to simulate a virtual transputer network?
  18.  
  19.    > In OCCAM these messages can be routed as INT16::[]BYTE protocol.
  20.  
  21. And this means that two seperate communications are performed: one,
  22. transferring 2 bytes (an INT16) designating the length of the following
  23. byte stream. The internal structure of a packet (eg, a PUTBLOCK or what
  24. ever) is irrelevant to the router and is of concern only to the end users.
  25. The aim is to reduce the necessary INs and OUTs and their associated
  26. overhead  it's easier to have the sender pack it all into a byte array
  27. and for the receiver to unpack it. Additionally, it's easy to extend the
  28. protocol (apart from maximum buffer sizes) such that only interested parties
  29. have to take note  a router doesn't and shouldn't care. The only things you
  30. might want to add is addressing and possibly, control over multi/broadcasting.
  31.  
  32.  Jan Vorbrueggen, jan@Neuroinformatik.ruhrunibochum.de
  33.