tfc partitioning support and status beat jost cern ep

15
TFC Partitioning Support and Status Beat Jost Cern EP

Upload: toby-neal

Post on 16-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TFC Partitioning Support and Status Beat Jost Cern EP

TFC Partitioning Support and Status

Beat JostCern EP

Page 2: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 2 FE/Controls/DAQ Workshop

Trigger and DAQ Architecure

Read-out Network (RN)

RU RU

Control &

Monitoring

RU

2-4 GB/s

4 GB/s

20 MB/sVariable latency

L2 ~10 msL3 ~200 ms

LA

N

Read-out units (RU)

Timing&

FastControl

Front-End Electronics

VDET TRACK ECAL HCAL MUON RICH

LHC-B Detector

L0

L1

Level 0Trigger

Level 1Trigger

40 MHz

1 MHz

40 kHz

Fixed latency 4.0 ms

Variable latency <1 ms

Datarates

40 TB/s

1 TB/s

Front-End Multiplexers (FEM)1 MHzFront End Links

Trigger Level 2 & 3Event Filter

SFC SFC

CPU

CPU

CPU

CPU

Sub-Farm Controllers (SFC)

Storage

Thr

ottl

e

Page 3: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 3 FE/Controls/DAQ Workshop

TFC Architecture

Signal Generationand Handling

Signal Distribution

Signal Reception

RD12 TTC

gL0gL1

gL0gL1

TT

Cm

i

SD1 TTCtx SD2 TTCtx L1 TTCtx

TFC S witch

L-0

L0

L1

L0 TTCtx

L-1

gL0gL1

LHCTurn S ignal

SDn TTCtx

FEchipL0E

TTCrx

L1E

TTCrx ADC

DSP

FEchipFEchipFEchip

FEchipFEchipL1buff

Clk,L0,RST

Ctrl

L1

FEchipL0E

TTCrx

L1E

TTCrx ADC

DSP

FEchipFEchipFEchip

FEchipFEchipL1buff

Clk,L0,RST

Ctrl

L1

L0

L1

ReadoutSupervisor

ReadoutSupervisor

Localt rig.L0

L1

Localt rig.

ReadoutSupervisor

Page 4: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 4 FE/Controls/DAQ Workshop

Partitioning

Definitions Partitioning is the sharing of the online system (ECS, TFC,

DAQ) by independently and concurrently operated Partitions. Within a partition operation is coherent

A domain is a functional component of the online system (ECS, TFC, DAQ, L2/L3 Farm)

A Partition is defined as a collection or aggregation of partitioning grains, where a partitioning grain is the smallest component in the domain that can be controlled independently plus a fraction of shared resources (e.g. Readout Network, controls network,…)

In the TFC domain the partitioning grain is a L0 Electronics chip. For a DAQ activity partitions are defined in terms of L0

Electronics chips and the partitioning rules determine which additional components are needed to make up a fully functional partition.

Page 5: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 5 FE/Controls/DAQ Workshop

Partitioning Grains (examples)

Domain Partitioning Grain CommentsTFC L0E ChipReadout FEMs, Rus, RS' ,… Added automatically by

partitioning rulesECS Controls Device

(PS, RUs, FEMs, SFCs,…)L2/ L3 Farm SFC

Page 6: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 6 FE/Controls/DAQ Workshop

Example of Partitioning Rules In the TFC, domain choosing L0E-chips automatically adds the

appropriate TTCrx’ and TTCtx’ to the partition Subsequently all the L1-Electronics connected to the added L0E has

to be added to the partition. All the FEM components connected to the L1E will be added so will be

the RUs that are connected to the FEMs Finally a certain number of SFCs will be needed together with the

connected CPUs upstream of the TTCtx a Readout Supervisor will be added (which one

depends on the sub-detector(s) to which the TTCtx’ belong) In order to allow coherent running of the system, the RS has to be

connected to the TTCtx’ in the partition (path throughTFC switch). In addition all the components above need to be controlled and

monitored, hence the corresponding control infrastructure will be added

If necessary the appropriate DCS components (HV, LV) are added

Page 7: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 7 FE/Controls/DAQ Workshop

Boundary Conditions induced by Partitioning

No mixing at any level above the Readout Network of data originating from equipment connected to different TTCtx’

Level-0 Electronics (chips can be removed, but not run independently)

Level-1 Electronics FEMs RUs Throttle ORs

All these belong to only one active partition at any one time and receive data originating from only one TTCtx.

SFC’s Partition grain of the CPU farm Associated to only one active partition at the time, but can be re-

assigned to another partitions at another time.

Connectivity (L0E, L1E,FEMs, RUs,Throttle ORs) has to follow the TTC system

Page 8: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 8 FE/Controls/DAQ Workshop

Partitioning Support in the TFC System

The main ingredient to support partitioning in the TFC system is the TFC Switch

It allows to associate any set of outputs (TTCtx’) to any one of the Readout Supervisors connected to the inputs

Input Ports

Output Ports

Control Port TFC Switch

The association is done through the controls interface There are also two reverse paths where the output towards the

RS is the OR of the inputs. This is to propagate the L0 and L1 hardware throttle signals

Page 9: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 9 FE/Controls/DAQ Workshop

Specifications of the TFC Switch (I)

TFC Path

Item Specification CommentsNumber of input ports 16 Or moreNumber of output ports 16 Or moreInput/output port characteristics Compatible with RD12 TTC

Jitter introduced by switch <100 psTo be checked~5 ns might beviable

Phase difference between output ports <100 psTo be checked~5 ns might beviable

Delay from input to output <10 ns

Page 10: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 10 FE/Controls/DAQ Workshop

Specifications of the TFC Switch (II)

Throttle Path

Item Specification CommentsNumber of input ports 2x16 L0/L1 ThrottleNumber of output ports 2x16 L0/L1 ThrottleInput/output port characteristics LVDSLogical Operation Output is Logical OR of inputs L0/L1 separatelyCounters One per input and output port

Increment Assertion of throttle on corresponding portWidth 32-64 bitsClear Through controls port

Timers One per input and output portStart Assertion of throttle on corresponding portStop De-assertion of ThrottleLatching Until restarted HistoryResolution <25 ns

Delay from input to output <50 ns

Page 11: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 11 FE/Controls/DAQ Workshop

Monitoring

History of throttle assertions Basic idea is to store transitions with time-stamp in a

FIFO (similar to modern Logic State Analyzers) Example for L0 Throttle (L1 Throttle analogous)

16

L0-Throttle Inputs

16

L0-Throttle Outputs

32 Bit C

oun

ter

10 MHz Clock

32 (64?)

32k*8Bytesdeep FIFO

32000 Transitions

ECS

Pros: significantly less

memory needed

Cons: more software

effort to get throttle history

Transition Detection

Strobe

Page 12: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 12 FE/Controls/DAQ Workshop

Implementation

The TFC Switch’ functionality will probably be implemented in two modules one for the TFC path

possibly based on LUTs or ECL components (depending on jitter requirements)

one for the throttle path probably based on FPGA two separate but identical modules, one for the L0 throttle and

one for the L1 throttle

The form-factor of each module could very well be a 1-3 U rack-mount device Front-Panel space

Page 13: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 13 FE/Controls/DAQ Workshop

Other Components

To support hardware throttling we need a unit that simply ORs a number of inputs (e.g. 16) to one output Specifications

very similar to throttle path of the TFC switch only one output only needs to disable inputs same characteristics concerning monitoring information See also throttling session…

Page 14: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 14 FE/Controls/DAQ Workshop

Status of TFC

RD12 designing/building “final” version of TTCtx (max 448 Receivers) designing/building TTCmi (machine interface)

clock fanout/BC Reset. Max. 90 primary outputs. Very low jitter (10 ps)

“final” version of TTCrx in the pipeline (see Joergen’s presentation) LHCb TFC

TFC switch specifications “ready”. First thoughts of implementation started

(LHCb note in preparation) First prototype in <6 months

Readout Supervisor Specifications (LHCb note) in preparation (see Richard’s presentation) first prototype in 12-15 months

Throttle OR thoughts on specifications (very similar to switch) started first prototypes in ~6 months

Page 15: TFC Partitioning Support and Status Beat Jost Cern EP

Beat Jost, Cern 15 FE/Controls/DAQ Workshop

Issues to be discussed

Architecture fixed? Partitioning scheme agreed? Monitoring capabilities of TFC switch and Throttle OR