Docsity

Message-Driven Processor - Computer Systems Architecture - Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Message-Driven Processor - Computer Systems Architecture - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

The Message-Driven Processor

A Multi-computer Processing Node with Efficient Mechanisms

Agenda

  • Introduction
  • System Architecture
  • Instruction Set Architecture
  • Network Architecture
  • Programming Model

Introduction (cont’d)

  • Developed at M.I.T.
  • At the time (1992), a 512-node J-Machine using MDP was in daily use at M.I.T.
  • Designed for sequential programming, traditional processors are not adequate for supporting most parallel computation models

Introduction (cont’d)

  • MDP supports a broad range of parallel programming models - Shared Memory - Dataflow - Data Parallel - Explicit Message Passing

System Architecture

  • Tailor-made for multi-computer applications
  • Provides instruction-level support for communication and synchronization
  • Hardware View : A component with a memory port, 6 network ports and a diagnostic port
  • Software View : A collection of node memories and register files.

Software Architecture (cont’d)

  • Supports communication using SEND instructions
  • Upon arrival, messages are buffered in a HW FIFO queue
  • Whenever a message is arrived at the head of the queue, a task is dispatched.

Instruction Architecture (cont’d)

  • Tags are used for type checking and synchronization
  • For each 36 bit word
    • 32 bits are for the value
    • 4 bits are for the tags
  • Tag values are defined for primitive user data types, system data types, messages etc.

Instruction Architecture (cont’d)

  • Two tags are for inter-task synchronization
    • A location is initially marked with a CFUT tag
    • CFUT tag is overwritten when final value and type of the location is determined
    • Prevents reading the location before the value is produced (by invoking a fault handler)
    • CFUT is used for local synchronization
    • FUT is used for global synchronization

Instruction Architecture (cont’d)

  • End-to-end communication is supported at instruction level
  • Message is transmitted as a set of SEND instructions
  • Messages are buffered in a HW FIFO queue upon arrival
  • Separate queues are used for messages with separate priorities

Instruction Architecture (cont’d)

  • Naming is supported in MDP via translation instructions and segmented addressing
  • These instructions can be used to translate an object’s name into - A physical segment descriptor or, - A node number to support a global virtual address space

Network Architecture (cont’d)

  • MDP contains a network interface and a router
  • Low latency in end-to-end delivery
    • < 2 μs
  • High bandwidth
    • 288 MBits/sec per channel
  • Network structure is a 3D grid with bidirectional channels

Network Architecture (cont’d)

  • Deterministic dimension-order routing (e-cube routing) is used in J-Machine
  • Network is provably deadlock-free
    • Messages are routed in dimension order
    • Messages running in opposite directions along the same dimension do not block
  • Blocking flow control is used to resolve contention

Programming Model (cont’d)

  • Concurrent Smalltalk
    • Is a parallel OO programming language
    • Synchronous message send and distributed objects are supported
    • Functions and methods compiled into MDP assembly code are assisted by a small kernel called COSMOS

Programming Model (cont’d)

  • COSMOS provides
    • Global virtual namespace
    • Object-based memory management
    • Support for distributed objects
    • Low overhead context switch
    • Garbage collection
  • COSMOS is most effective in the systems with very short tasks (~40 instructions) and very small data objects (~8 words)