A demonstration of a Time Multiplexed Trigger for CMS Rob Frazier, Simon Fayer, Rob Frazier, Geoff Hall, Christopher Hunt, Greg Iles, Dave Newbold, Andrew.

Slides:



Advertisements
Similar presentations
StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
Advertisements

CSCI 465 D ata Communications and Networks Lecture 20 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
9 Mar 2011CMS Calorimeter Trigger Upgrade1 Sridhara Dasu (a), Rob Frazier (b), Tom Gorski (a), Geoff Hall (c), Greg IIes (c), Pam Klabbers (a), Dave Newbold.
09/06/11 CMS Trigger and Readout Upgrades: The IPbus Protocol & The IPbus Suite TIPP 2011 Robert Frazier Greg Iles, Dave Newbold, Andrew Rose Robert Frazier.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
06-Dec-2004 HCAL TriDAS 1 TriDAS Status HF Luminosity HF Trigger Slicing.
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
Switch EECS 252 – Spring 2006 RAMP Blue Project Jue Sun and Gary Voronel Electrical Engineering and Computer Sciences University of California, Berkeley.
Lecture 7 Lecture 7: Hardware/Software Systems on the XUP Board ECE 412: Microcomputer Laboratory.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Presentation on Osi & TCP/IP MODEL
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Engineering & Instrumentation Department, ESDG, Rob Halsall, 24th February 2005CFI/Confidential CFI - Opto DAQ - Status 24th February 2005.
March 2011 AMC and uRTM load boards Introduction Main functionalities and features Block diagram overview Status and plan.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Robert Frazier, Bristol University Controlling μ TCA Hardware Robert Frazier Greg Iles, Marc Magrans, Dave Newbold, Andrew Rose, Dave Sankey, Tom Williams.
Pulsar II Hardware Overview Jamieson Olsen, Fermilab 14 April 2014
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
4061 Session 25 (4/17). Today Briefly: Select and Poll Layered Protocols and the Internets Intro to Network Programming.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
NETWORK HARDWARE CABLES NETWORK INTERFACE CARD (NIC)
An Architecture and Prototype Implementation for TCP/IP Hardware Support Mirko Benz Dresden University of Technology, Germany TERENA 2001.
MicroHAL - Powered by Redwood Hardware Access Library for TCP/IP or UDP/IP Greg Iles on behalf of Andy Rose & Rob Frazier 7 March 2011.
Lecture 12: Reconfigurable Systems II October 20, 2004 ECE 697F Reconfigurable Computing Lecture 12 Reconfigurable Systems II: Exploring Programmable Systems.
Compton Trigger Design Update Tanja Horn Compton Working Group 6 June 2008.
Trigger Meeting: Greg Iles5 March The APV Emulator (APVE) Task 1. –The APV25 has a 10 event buffer in de-convolution mode. –Readout of an event =
Reading TCP/IP Protocol. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also.
DDRIII BASED GENERAL PURPOSE FIFO ON VIRTEX-6 FPGA ML605 BOARD PART B PRESENTATION STUDENTS: OLEG KORENEV EUGENE REZNIK SUPERVISOR: ROLF HILGENDORF 1 Semester:
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
IPbus A method to communicate with cards over Ethernet 1.
Trigger Workshop: Greg Iles Feb Optical Global Trigger Interface Card Dual CMC card with Virtex 5 LX110T 16 bidirectional.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
PCIe40 — a Tell40 implementation on PCIexpress Beat Jost DAQ Mini Workshop 27 May 2013.
Building A Network: Cost Effective Resource Sharing
T. Gorski, et al., U. Wisconsin, November 08, 2011 Calorimeter Trigger Upgrade - 1 Upgrade Cal. Trigger R&D M. Bachtis, A. Belknap, M. Cepeda, S. Dasu,
ROM. ROM functionalities. ROM boards has to provide data format conversion. – Event fragments, from the FE electronics, enter the ROM as serial data stream;
MicroTCA in CMS Not Official! Just my opinions... Greg Iles 6 July 2010.
ALICE trigger control technologies run2 vs run3 layout IPbus introduction 1 Anton Jusko 27/01/20166CTP/LTU review.
UHAL API Status and Plans , CMS Electronics Week Marc Magrans de Abril Dave Newbold Rob Frazier Andrew Rose Jeremiah Mans Paolo Rumerio Christoph.
TBD The Matrix Card Status and Plans Dr. John Jones Princeton University
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
A demonstrator for a level-1 trigger system based on μTCA technology and 5Gb/s optical links. Greg Iles Rob Frazier, Dave Newbold (Bristol University)
PXD DAQ News S. Lange (Univ. Gießen) Belle II Trigger/DAQ Meeting (Jan 16-18, 2012, Hawaii, USA) Today: only topics important for CDAQ - GbE Connection.
E. Hazen -- Upgrade Meetings1 AMC13 Project Development Status E. Hazen, S.X. Wu - Boston University.
E. Hazen1 MicroTCA for HCAL and CMS Review / Status E. Hazen - Boston University for the CMS Collaboration.
Backend Control Systems in uTCA HCAL Requirements January 21, 2010 Jeremiah Mans.
Eric Hazen1 Ethernet Readout With: E. Kearns, J. Raaf, S.X. Wu, others... Eric Hazen Boston University.
E. Hazen -- Upgrade Week1 AMC13 Project Status E. Hazen - Boston University for the CMS Collaboration.
E. Hazen -- Upgrade Week1 HCAL uTCA Readout Plan E. Hazen - Boston University for the CMS HCAL Collaboration.
E. Hazen -- HCAL Upgrade Workshop1 MicroTCA Common Platform For CMS Working Group E. Hazen - Boston University for the CMS Collaboration.
E. Hazen1 AMC13 Project Status E. Hazen - Boston University for the CMS Collaboration.
T. Gorski, et al., U. Wisconsin, April 28, 2010 SHLC RCT MicroTCA Development - 1 SLHC Cal Trigger Upgrade SLHC Regional Calorimeter Trigger MicroTCA Development.
E. Hazen - CMS Electronics Week
DAQ / Trigger Card for HCAL SLHC Readout E. Hazen - Boston University
AMC13 Project Status E. Hazen - Boston University
DAQ and TTC Integration For MicroTCA in CMS
Whirlwind Tour Of Lectures So Far
Erno DAVID, Tivadar KISS Wigner Research Center for Physics (HU)
MicroTCA Common Platform For CMS Working Group
MicroTCA Common Platform For CMS Working Group
MicroTCA A look at different options...
DAQ Interface for uTCA E. Hazen - Boston University
Building A Network: Cost Effective Resource Sharing
Chapter 13: I/O Systems.
Presentation transcript:

A demonstration of a Time Multiplexed Trigger for CMS Rob Frazier, Simon Fayer, Rob Frazier, Geoff Hall, Christopher Hunt, Greg Iles, Dave Newbold, Andrew Rose (Imperial College & University of Bristol) 28 September 2011

Overview How is a Time Multiplexed Trigger different from a Conventional Trigger? The demonstration system Communication over Ethernet - IPbus 2

3 Concepts: Time Multiplexed Trigger Exploring alternative method of triggering. Time-Multiplex incoming data so that the entire calorimeter (~5Tb/s) can be processed in a single FPGA. Akin to the DAQ event builders, but all must be finished in ~1μs

Time Multiplex 4 Can time multiplex in either η (strips) or φ (rings). Both feasible…

Past Future Time / φ η (optical links) New Data Processing engine. Events are streamed into processing engine 5 To next stage Intrinsically very efficient use of logic (i.e. new calculation on every clock cycle – no waiting for data) Essentially a 5Tb/s, low latency (1μs) image processor

Demonstrator System Hardware : Part 1 NAT Europe MCH – Provides GbE and IPMI Vadatech VT892 – Dual star topology with 12 full-size double-width cards. – Modified to have vertical airflow. – MCH slot 1: Standard Services GbE, IPMI, etc – MCH Slot 2: Experimental Services clock distribution, fast control & feedback DAQ 6 See Eric Hazen’s talk: AMC13

Demonstrator System Hardware : Part 2 MINI-T5-R2 – Double Width AMC Card – Virtex 5 TX240T – Optics IN: 160 Gb/s (32x 5Gb/s) OUT: 100Gb/s (20x 5b/s) – RAM Dual QDR II, 2x72Mb, 2x 9Gb/s on each port (R/W) – MMC Atmel AT32UC3A3256 – AMC 2x Ethernet, 1x SATA 4x FatPipe, 1x Ext FatPipe 7 Thanks to Jean-Pierre Cachemiche for MMC code. Ported to Atmel AVR32 MicroController by Simon Fayer

Test System 8 PP0 MINI-T5 (Main Processor) x 2 Main-Processors (14 in full system) Patch Panel ECAL & HCAL Trigger Primitive Data would enter here in final system AMC13 PP1PP2 PP3PP4PP5PP0 x 24 Pre-Processors (x36 in full system) MINI-T5 (6x PreProcessors) MINI-T5 (Main Processor) MCH Standard Services Custom Services

Simulates 6x Pre ‑ Processor Cards. Possible because we only need 2 Main ‑ Processors Simulates 6x Pre ‑ Processor Cards. Possible because we only need 2 Main ‑ Processors Main ‑ Processor Cards Clock distributed via MCH Patch panel. One fibre from each Pre ‑ Processor routed to a Main ‑ Processor Location for AMC13 Clock, Fast Control & Feedback, DAQ Location for AMC13 Clock, Fast Control & Feedback, DAQ 9 AMC13

Test system internals 10 Time Mux RAM #0 Align Links Algorithm DAQ RAM #1 RAM #2 RAM #9 Time Mux x 24 Pre-Processors Simulates 240 input links (1/4 of CMS Calorimeter Trigger) x 24 Links To DAQ via AMC13 or alternatively Ethernet To Global Trigger

11 All 24 channels aligned Header PP Ident Header PP Ident RAM #0 (3 words) RAM #0 (3 words) RAM #1 (3 words) RAM #1 (3 words) CRC Checked then zeroed by fw 8B/10B Commas

Where next? Current MINI-T5 can handle ¼ of CMS Calorimeter Trigger – Assumes a time multiplexing period of 14bx – Require x4 bandwidth to place entire Calo Trigger into a single FPGA – Link speed x2 (Virtex7 with 10Gb/s), Number of links x2 (48-72 Rx) 12 V7 MicroPOD™: 8.2x7.8mm with LGA electrical interface MiniPOD™: 22x18.5mm with 9x9 MegArray™ connector MAXI-T7

IPbus A method to communicate with cards over Ethernet 13

Communication Requirements Primary control path in MicroTCA is Ethernet – What protocol should we use UDP, TCP or something else? Requirements – Robust – Scalable – Reasonable bandwidth (make good use of 1Gb/s crate interface) – Relatively simple Not too onerous (10% of design, not 90%). Maintainable over 10 years with different versions of the tools and different people. – Portable from one card to the next 14

Communication Ideas Primary advantage of TCP is not reliability, but throughput – Imagine UDP with retry capability – Ethernet has a large latency (packet based, CRCs, etc) i.e. single transactions will be relatively slow – TCP allows multiple packets in flight simultaneously and ensures that all packets arrive, and in the correct order Ideal, but powerful CPU or complex firmware core to reach 1Gb/s Separate commands still slow (i.e. do A, then B, then C) 15 Embedded CPU on the card either within FPGA or external Can get quite complex (i.e require CPU, RAM, Flash, etc)

IPbus Originally created by Jeremy Mans et al in 2009/2010* Protocol describes basic transactions needed to control h/w – A32/D32 Read/Write, Block Transfers, Auto Address Incrementing – Simple concatenation of commands – Single packet may contain write followed by block read 16 UDP, or TCP EMAC PHY I2C Core GTX Core DAQ Core Transaction Engine *John Jones implemented something similar

IPbus Firmware Resource usage: – Xilinx SP601 Demo board Costs £200/$350 Small Spartan 6 (XC6LX16-CS324) Uses 7% of registers, 18% of LUTs and 25% BRAM – Block RAM usage may increase slightly for v2.0 protocol Additional features: – Firmware also includes interface to IPMI controller 17 Ethernet IPMI Firmware by Jeremy Mans Dave Newbold

The IPbus Suite Overview MicroHAL (Based on Redwood) – C++ Hardware Access Library – Highly scalable and fast – Hierarchical with array capability Mimic firmware structure – Automatic segmentation of large commands e.g. block R split up – Software has full knowledge of registers Map onto database 18 Redwood Explorer to access any register via simple web interface Software by Andy Rose & Christopher Hunt

The IPbus Suite Overview Control Hub – Single point of contact with hardware Allows multiple applications/clients to access a single board – Reliable and scalable – Built on Erlang. Concurrent telecom programming Scales across multiple CPU cores – Automatic segmentation of large commands (e.g. block R split up) 19 Software by Rob Frazier

Scalability with Redwood and the Control Hub 20

IPbus Suite Overview PyChips – Python-based user-facing Hardware Access Library – Simple & easy interface – Great for very small or single-board projects – Cross-platform: Windows, Linux, OS X, etc – No dependencies except the Python interpreter itself 21 Software by Rob Frazier

IPbus Test System Substantial test system – 3 MicroHAL PCs – 1 Control Hub PC – 20 IPbus clients – Currently 40Mb/s per card 480Mb/s per crate Increase this to Mb/s with jumbo frames (x6) and firmware improvements Consider moving to TCP for 1Gb/s – Reliability 1 in 189 million UDP packets lost OK for lab system, but v2.0 of IPbus will have retry mechanism 22

Links IPbus SVN & Wiki hosted on CACTUS project – Website – HepForge repository – MicroHAL The Software User Manual, Instant Start Tutorials and Developers Guide /Redwood.pdf?rev=head&format=txt /Redwood.pdf?rev=head&format=txt Firmware Chief: contact Dave Newbold: Software Chief: Rob Frazier: MicroHAL & Redwood: 23

Next steps Load RAMs with real events from CMS and pass them through the algorithms under development. Virtex 7 design with the necessary 10G links underway Develop and release IPbus v2.0 – Allows access to IPbus via IPMI – Implements retry mechanism for UDP transport IPbus Software Suite v2.0 – Code fairly mature, but improvements and bug – fixes will continue as it becomes more widely used. 24 Still relatively new Welcome feedback on this. e.g. performance, user interface, etc

Extra 25

Just one example - hierarchical design 26 +

Performance – Currently 40Mb/s with full structure albeit with multiple MicroHAL instances on same PC and the ControlHub (i.e. likely scenario in CMS) Scales linearly with number of cards (i.e. 480Mb/s) for a crate – Target of 100+ Mb/s with UDP (Require TCP/IP for 1Gb/s) Reducing copy stages in firmware from 5 to 3 Moving to Jumbo frames 1.5kB to 9kB – x6 27 PC used to synthesise firmware PC used to synthesise firmware

Reliability Private network – All unnecessary network protocols switched off (spanning tree, etc) Sent 5 billion block read requests – 10 billion packets total, 53 went missing. – 350 * 32-bit block read – 7 Terabytes IPbus payload data received – 19 IPbus clients used in test – Packet loss averages at 1 in 189 million UDP packets 28 Retry mechanism