Docsity

T3E: A High-Performance Multiprocessor System - Synchronization and Communication Features, Study notes of Computer Science

Toggle sidebar
bg1
1
Synchronization and
Synchronization and
Communication in the
Communication in the T3E
T3E
Multiprocessor
Multiprocessor
Steven L. Scott
Steven L. Scott
Cray Research, Inc
Cray Research, Inc
Presented by
Presented by
Hari
Hari Sivaramakrishnan
Sivaramakrishnan
T3E Features
T3E Features
Distributed shared memory system
Distributed shared memory system
•
•Up to 2GB memory per processor
Up to 2GB memory per processor
•
•DEC Alpha 21164 processor
DEC Alpha 21164 processor
•
•Shell
Shell –
–control and router chips,
control and router chips,
memory
memory
T3E Features
T3E Features
Buffering
Buffering
•
•Buffers can detect multiple interleaved streams
Buffers can detect multiple interleaved streams
Local memory cached
Local memory cached
•
•No onboard cache
No onboard cache
•
•External
External backmap
backmap to maintain data consistency
to maintain data consistency
E
E-
-Registers
Registers
•
•512 user + 128 system
512 user + 128 system
•
•Remote communication and synchronization
Remote communication and synchronization
•
•Highly pipelined
Highly pipelined
•
•Extend the processor
Extend the processor’
’s physical address space
s physical address space
Global Communication
Global Communication
Operations performed on E
Operations performed on E-
-Registers
Registers
•
•Direct loads, stores between E
Direct loads, stores between E-
-registers
registers
and processor registers
and processor registers
•
•Global operations (message passing,
Global operations (message passing,
synchronization, remote loads)
synchronization, remote loads)
Global references
Global references
•
•Global Virtual Address (GVA)
Global Virtual Address (GVA)
Address Translation
Address Translation
Global Virtual Address (GVA)
Global Virtual Address (GVA)
Virtual PE number
Virtual PE number
Centrifuge
Centrifuge
•
•Mask, index, base
Mask, index, base
Should be
only 6 bits,
not 8
Source or destination
pf3
pf4

Partial preview of the text

Download T3E: A High-Performance Multiprocessor System - Synchronization and Communication Features and more Study notes Computer Science in PDF only on Docsity!

Synchronization and Synchronization and

Communication in theCommunication in the T3ET3E

Multiprocessor Multiprocessor

Steven L. ScottSteven L. Scott

Cray Research, IncCray Research, Inc

Presented byPresented by

HariHari SivaramakrishnanSivaramakrishnan

T3E FeaturesT3E Features

„„ Distributed shared memory systemDistributed shared memory system

• • Up to 2GB memory per processorUp to 2GB memory per processor

• • DEC Alpha 21164 processorDEC Alpha 21164 processor

• • ShellShell – – control and router chips,control and router chips,

memorymemory

T3E Features T3E Features

„„^ BufferingBuffering

  • • Buffers can detect multiple interleaved streamsBuffers can detect multiple interleaved streams

„„^ Local memory cachedLocal memory cached

  • • No onboard cacheNo onboard cache
  • • ExternalExternal backmapbackmap to maintain data consistencyto maintain data consistency

„„^ EE--RegistersRegisters

  • • 512 user + 128 system512 user + 128 system
  • • Remote communication and synchronizationRemote communication and synchronization
  • • Highly pipelinedHighly pipelined
  • • Extend the processorExtend the processor’’s physical address spaces physical address space

Global Communication Global Communication

„„ Operations performed on E-Operations performed on E-RegistersRegisters

• • Direct loads, stores between EDirect loads, stores between E--registersregisters

and processor registersand processor registers

• • Global operations (message passing,Global operations (message passing,

synchronization, remote loads)synchronization, remote loads)

„„ Global referencesGlobal references

• • Global Virtual Address (GVA)Global Virtual Address (GVA)

Address Translation Address Translation

„„ Global Virtual Address (GVA)Global Virtual Address (GVA)

„„ Virtual PE numberVirtual PE number

„„ CentrifugeCentrifuge

• • Mask, index, baseMask, index, base

Should be only 6 bits, not 8

Source or destination

Get and Put operationsGet and Put operations

„„ Reads and writes to global EReads and writes to global E--RegistersRegisters

  • • Single word or a vectorSingle word or a vector

„„ Flags on each register for synchronizationFlags on each register for synchronization

  • • EmptyEmpty
  • • FullFull
  • •^ Memory to memory copy through EMemory to memory copy through E--registersregisters „„ Does not touch processor busDoes not touch processor bus
  • •^ No RAW hazardsNo RAW hazards

„„^ Highly pipelinedHighly pipelined

  • • 256 bytes in 26.7ns can be issued256 bytes in 26.7ns can be issued
  • •^ Large number of ELarge number of E--registersregisters
  • • Max transfer rate = 480MB/s between two nodesMax transfer rate = 480MB/s between two nodes

Atomic Memory Operations Atomic Memory Operations

„„ T3D used dedicated SWAP registersT3D used dedicated SWAP registers

„„^ T3E uses memory locationsT3E uses memory locations

Universal construct

How to perform an AMO? How to perform an AMO?

„„ Operands written to EOperands written to E--registersregisters

„„^ Store to I/O space to trigger operationStore to I/O space to trigger operation

„„ Atomic Memory Operation packet sent to particular memoryAtomic Memory Operation packet sent to particular memory locationlocation

„„ Result returned to EResult returned to E--Register specified on the address lineRegister specified on the address line

„„ MostMost AMOsAMOs need a readneed a read--modifymodify--write of RAMwrite of RAM

  • •^11 11 sysclockssysclocks at 147ns per clockat 147ns per clock
  • • 8M operations per second8M operations per second

„„ High bandwidthHigh bandwidth fetch_and_incfetch_and_inc served out of buffer atserved out of buffer at memory controller for each nodememory controller for each node

MessagesMessages

„„ T3DT3D

  • •^ Single hardware message queue for user and systemSingle hardware message queue for user and system messagesmessages
  • •^ Every message generates an interruptEvery message generates an interrupt

„„ T3ET3E

  • • Arbitrary number of message queuesArbitrary number of message queues
  • • Mapped to memoryMapped to memory
  • •^ Queue max size = 128 MB. Message size = 64 bytesQueue max size = 128 MB. Message size = 64 bytes

„„ Message notificationMessage notification

  • • Always interruptAlways interrupt
  • • Never interrupt (polling)Never interrupt (polling)
  • •^ Interrupt on a thresholdInterrupt on a threshold

„„ Message passing and shared memory integrationMessage passing and shared memory integration

Message Queue Control WordMessage Queue Control Word

„„ Descriptor for a message queueDescriptor for a message queue

„„ Messages rejected when queue is fullMessages rejected when queue is full

„„ If message insertion creates a segmentationIf message insertion creates a segmentation

violation,violation, nacknack is returnedis returned

Sending MessagesSending Messages

„„ Messages assembled in an aligned block of 8 E-Messages assembled in an aligned block of 8 E-

RegistersRegisters

„„ Sent to address of MQCWSent to address of MQCW

„„ MQCW updates and message storage are atomicMQCW updates and message storage are atomic

„„ E-E-Registers status is set to empty on sendRegisters status is set to empty on send

  • •^ If message accepted, changed to fullIf message accepted, changed to full
  • • If message rejected, changed to fullIf message rejected, changed to full--sendsend--rejectedrejected

PerformancePerformance -- MessagingMessaging

Processors 1 though 15 exchange messages with processor 0. Maximum exchange rate = 932M/s

Performance - Performance- BarriersBarriers

Average time to perform a global barrier over 50 consecutive barriers

Summary of the T3E Summary of the T3E

„„ EE--RegistersRegisters

  • •^ Extend memory address spaceExtend memory address space
  • • Pipelining of memory referencesPipelining of memory references
  • • Used in communication and synchronizationUsed in communication and synchronization

„„ Messaging implemented as shared memory at user levelMessaging implemented as shared memory at user level

„„^ A range of atomic synchronization constructsA range of atomic synchronization constructs

„„ Hardware barrier outperforms software barrier by a factorHardware barrier outperforms software barrier by a factor of 7of 7

  • • Free because packets over normal interconnect are usedFree because packets over normal interconnect are used

„„ Remote memory access has a greater startup penalty inRemote memory access has a greater startup penalty in T3E than in the T3DT3E than in the T3D

Questions? Questions?