backend preliminary functional design · backend preliminary functional design. 14-15 may,2002 ......

32
14-15 May,2002 EVLA Correlator Backend Functional Design Tom Morgan 1 Backend Preliminary Functional Design

Upload: vandiep

Post on 14-May-2018

226 views

Category:

Documents


2 download

TRANSCRIPT

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 1

Backend Preliminary Functional Design

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 2

BACKEND CLUSTERORGANIZATION

MonitorAnd

ControlProcessor

DataProcessingProcessors

DataProcessingProcessors

DataProcessingProcessors

MonitorAnd

ControlProcessor

M &C Correlator

Backend

e2e

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 3

BackendControl

BackendMonitor

Output

DP

Input

e2e

CorrelatorM & C

BackendMajorFunctions

HW SW

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 4

InputInput Cache

Output

Five DPNodeProcesses, ControlAnd DataFlows

InputCache

ManagerProcessing

OutputCache

Manager

Output Cache

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 5

Input Process

ReceiveData

Yes CacheFull ?(discard)

No

UpdateCache

Address

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 6

Input

• Provides Large Memory Area for Depositing Incoming Lag Frame Data

• Signals When Segment is Full• Immediately Moves to Next

Segment • Discards New Input When

Memory is Full• Bare Minimum Overhead

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 7

Input Cache

• Three Shared Memory Data Structures

• Accessible by Input, Input Cache Manager and DP Processes

• Input Cache Lag Frame Store• Cache Segment List• Lag Set Tables

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 8

Fram eIndex LTA F ram e D ata

Lag S et N +1, F ram e 1

Lag S et N +1, F ram e 3

Lag S et N , F ram e 2

Lag S et N 1 , F ram e 1

Lag S et N , F ram e 3

Lag S et N +1, F ram e 2

Lag S et N , F ram e 6

1

2

1000

.

.

.

.

.

.

1001

1002

2000

2001

2002

2999

.

.

.

.

.

.

.

.

.

.

.

.

3000

3001

3002

3003

3004

3017

3018

3019

3020

Lag S et N +3, F ram e 1

Lag S et N , F ram e 5

Lag S et N +3, F ram e 2

.

.

.

.

.

.

.

.

.

.

.

.

4000

4001

10000

.

.

.

.

.

.

IN P U T C AC H ELAG FR AM E S TO R E

S egm ent 1

S egm ent 2

S egm ent 4

S egm ent 3

S egm ents 4 to 10

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 9

Lag Frame Store

• Written only by Input Process• Read by Input Cache Manager

and DP Processes• Divided into a Limited number

of Large Segments• Input Writes to Entire Segment

at One Time

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 10

SEGMENTLIST

LAG SET TABLE FrameSegmentNumber Count

( 8 lag frames X 128 lags per frame = 1024 lags per lag set )

01Lag SetNumber

SkipCount Count Lag Frame Indices

1

2

3

N+3

N+2

N+1

N

2

4

8

8

.

.

.

.

.

.

0

0

0

1K

K+1

K

K+1

IntegrationBlock

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Lag

2 119

10003

.

.10004.

100052999 3002 3001 3003 3007 3008 3019 3017

3000 3004 3005 3006 3011 3012 3013 301406

3009 3010 3015 3016

3018 302007

. 08.

.

09

010

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 11

Segment List

• Contains Status Data (Frame Count) on Lag Frame Store Segments

• Written by Input and DP• Read by Input, Input Cache

Manager and DP• Frame Count Value of Zero

Means Available for New Input• Non-Zero Status Means in DP

or Awaiting DP

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 12

Lag Set Table

• Sorted Addresses of Lag Frames Making-up a Single Lag Set

• Written Only by Input Cache Manager

• Read Only by DP • Integration Block, Skip Count

and Lag Count Auxiliary Data Columns

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 13

Lag Set Table

• Integration Block Identifies all Lag Sets in the Same Integration Sequence

• Skip Count Registers Number of Times a Lag Set has been Passed by

• Lag Count Maintains a Record of the Number of Indices That Have Been Sorted into the Table

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 14

Input Cache Manager

• Reads Lag Frames From Lag Frame Store

• Updates Lag Frame Index Entries in Lag Set Table

• Updates Lag Set, Lag Count Entries

• Monitors Number of Segments Available for Input

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 15

Data ProcessingLoop

RetrieveLag Set

DPPipeline

Check forMessage

Clean-upMaxSkips ?

No

Yes

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 16

Data Processing Overview

• Read Lag Frames Using Lag Set Table Indices

• Check for Availability of Auxiliary Data

• DP Pipeline• Incoming Message Check• Clean-up of Skipped Lag Sets

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 17

Lag Frame Read

• Access Only Lag Sets with Full Lag Counts

• Access Only Lag Sets with Available State Counts

• Lag Frame Index Points to Lag Frame Store Location

• Indices Are In Order of Assembly

• Increment Skip Count for Those That Do Not Yet Qualify

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 18

Processing PipelineDetail

NormalizationTime Stamp Adjust

Fourier Transform

Integration Erro

r Tra

p/R

ecov

ery

Other Time Domain Proc

Freq Domain Processes

InputCache

OutputCache

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 19

DP Pipeline

• Apply Normalization• Update Time Stamps (Recirculation)• Possible Additional Time Domain

Applications• Fourier Transform (Complex-

Complex, Power of 2 FFT)• Possible Frequency Domain

Applications• Accumulate• Move to Output Cache

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 20

Incoming Messages

• Mode Change• State Counts• Shutdown/Resume• Always Received From BE

Control

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 21

Cleanup

• Periodic Check of Skipped Lag Sets

• Process Those That are Now Ready

• Increment Skip Count for Those That are Still Not Ready

• Discard Those That are Too Old (Rare)

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 22

Output Cache

• Shared Memory Array• Disk Backup for Paging• Accessible by DP, Output and

Output Cache Manager Processes

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 23

Output CacheManager

ReceiveRequest

Send IndexTo DP

Send IndexTo Output

Check CacheStatus

Page-in /Page-out

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 24

Output Cache Manager

• Receive Cache Index Request From DP

• Return Address of Next Free Location

• Receive Cache Index Request From Output

• Return Address of Next Data Going to e2e

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 25

Output Cache Manager

• Page-out Data When Memory Gets Full

• Page-in Data In Anticipation Of Retrieval for Output

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 26

Output Function

Format

Retrievefrom

Cache

Wait on Processing

OutputCacheCache

Empty

SendData

CheckSend

ok

e2e

Notok

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 27

Output

• Obtain Output Cache Index From Output Cache Manager

• Fetch Data From Output Cache• Format• Send to (Deposit into) e2e

Archive

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 28

Backend M & CFunctions

Backend Control

ProcessorsMonitor

Network Monitor

Processes Monitor

Operating Environment

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 29

BE Control

• Message Intermediary Among BE Processes and M&C

• Three Classes of Incoming Messages

• Maintains Statistical Model of BE State

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 30

BE Control

• Class I Messages are Simply Routed to Proper Destination

• Class II Messages are Read for Updates to the Statistical Model and Routed to Proper Destination

• Class III Messages are Used to Generate Check and Repair, and Offload Requests

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 31

BE Monitor

• Status Checks• Internal Network Restart• Processor Reboot• Process Kill and/or Restart• Offload• Failure, Error, Warning, Repair,

Status, Offload Reports

14-15 May,2002

EVLA Correlator Backend Functional Design

Tom Morgan 32

Development Schedule

• 2Q 2002 – 4 Node Test Cluster• 3Q 2002 – 8+ Node Cluster• 4Q 2002 – Functional Prototype• 4Q 2003 – Full Functionality• 3Q 2004 – First Prototype

Correlator Boards• 4Q 2004 – Earliest BE Connect

to Correlator Hardware