CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 A Control Software for the ALICE High Level Trigger Timm.

Slides:



Advertisements
Similar presentations
HLT Collaboration; High Level Trigger HLT PRR Computer Architecture Volker Lindenstruth Kirchhoff Institute for Physics Chair of Computer.
Advertisements

WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
GNAM and OHP: Monitoring Tools for the ATLAS Experiment at LHC GNAM and OHP: Monitoring Tools for the ATLAS Experiment at LHC M. Della Pietra, P. Adragna,
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
CHEP 2012 – New York City 1.  LHC Delivers bunch crossing at 40MHz  LHCb reduces the rate with a two level trigger system: ◦ First Level (L0) – Hardware.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL March 25, 2003 CHEP 2003 Data Analysis Environment and Visualization.
Timm Morten Steinbeck, Computer Science/Computer Engineering Group Kirchhoff Institute f. Physics, Ruprecht-Karls-University Heidelberg A Framework for.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/20 New Experiences with the ALICE High Level Trigger Data Transport.
HLT Online Monitoring Environment incl. ROOT - Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 HOMER - HLT Online Monitoring.
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg - DPG 2005 – HK New Test Results for the ALICE High Level Trigger.
HLT Collaboration (23-Jun-15) 1 High Level Trigger HLT PRR Planning Volker Lindenstruth Kirchhoff Institute for Physics Chair of Computer Science University.
1 HLT – ECS, DCS and DAQ interfaces Sebastian Bablok UiB.
The Publisher-Subscriber Interface Timm Morten Steinbeck, KIP, University Heidelberg Timm Morten Steinbeck Technical Computer Science Kirchhoff Institute.
Matthias Richter, University of Bergen & Timm M. Steinbeck, University of Heidelberg 1 AliRoot - Pub/Sub Framework Analysis Component Interface.
Figure 1.1 Interaction between applications and the operating system.
CHEP03 - UCSD - March 24th-28th 2003 T. M. Steinbeck, V. Lindenstruth, H. Tilsner, for the Alice Collaboration Timm Morten Steinbeck, Computer Science.
M. Richter, University of Bergen & S. Kalcher, J. Thäder, T. M. Steinbeck, University of Heidelberg 1 AliRoot - Pub/Sub Framework Analysis Component Interface.
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 Timm M. Steinbeck HLT Data Transport Framework.
Timm Morten Steinbeck, Computer Science/Computer Engineering Group Kirchhoff Institute f. Physics, Ruprecht-Karls-University Heidelberg Alice High Level.
Chapter 9: Moving to Design
Sept TPC readoutupgade meeting, Budapest1 DAQ for new TPC readout Ervin Dénes, Zoltán Fodor KFKI, Research Institute for Particle and Nuclear Physics.
Timm M. Steinbeck - Kirchhoff Institute of Physics - University Heidelberg 1 HLT and the Alignment & Calibration DB.
March 2003 CHEP Online Monitoring Software Framework in the ATLAS Experiment Serguei Kolos CERN/PNPI On behalf of the ATLAS Trigger/DAQ Online Software.
Lecture 2 – MapReduce CPE 458 – Parallel Programming, Spring 2009 Except as otherwise noted, the content of this presentation is licensed under the Creative.
Chapter 9 Elements of Systems Design
The Application of DAQ-Middleware to the J-PARC E16 Experiment E Hamada 1, M Ikeno 1, D Kawama 2, Y Morino 1, W Nakai 3, 2, Y Obara 3, K Ozawa 1, H Sendai.
IMPROUVEMENT OF COMPUTER NETWORKS SECURITY BY USING FAULT TOLERANT CLUSTERS Prof. S ERB AUREL Ph. D. Prof. PATRICIU VICTOR-VALERIU Ph. D. Military Technical.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
The High-Level Trigger of the ALICE Experiment Heinz Tilsner Kirchhoff-Institut für Physik Universität Heidelberg International Europhysics Conference.
Boosting Event Building Performance Using Infiniband FDR for CMS Upgrade Andrew Forrest – CERN (PH/CMD) Technology and Instrumentation in Particle Physics.
Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab.
Grob Systems, Inc., the customer, requires an industrial computer system that will have a function of acquiring raw data, processing the data, presenting.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
1 Alice DAQ Configuration DB
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
ALICE Upgrade for Run3: Computing HL-LHC Trigger, Online and Offline Computing Working Group Topical Workshop Sep 5 th 2014.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
Control in ATLAS TDAQ Dietrich Liko on behalf of the ATLAS TDAQ Group.
ALICE, ATLAS, CMS & LHCb joint workshop on
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Data Acquisition Backbone Core J. Adamczewski-Musch, N. Kurz, S. Linev GSI, Experiment Electronics, Data processing group.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
LOGO Development of the distributed computing system for the MPD at the NICA collider, analytical estimations Mathematical Modeling and Computational Physics.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
CHEP March 2003 Sarah Wheeler 1 Supervision of the ATLAS High Level Triggers Sarah Wheeler on behalf of the ATLAS Trigger/DAQ High Level Trigger.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
STAR Pixel Detector readout prototyping status. LBNL-IPHC-06/ LG22 Talk Outline Quick review of requirements and system design Status at last meeting.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Normal text - click to edit CHEP Mumbai ALICE High Level Trigger Interfaces … 1/22 ALICE High Level Trigger Interfaces.
Event Management. EMU Graham Heyes April Overview Background Requirements Solution Status.
COMPASS DAQ Upgrade I.Konorov, A.Mann, S.Paul TU Munich M.Finger, V.Jary, T.Liska Technical University Prague April PANDA DAQ/FEE WS Игорь.
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
Software and TDAQ Peter Lichard, Vito Palladino NA62 Collaboration Meeting, Sept Ferrara.
9 Systems Analysis and Design in a Changing World, Fifth Edition.
Barthélémy von Haller CERN PH/AID For the ALICE Collaboration The ALICE data quality monitoring system.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Introduction to Operating Systems Concepts
CMS High Level Trigger Configuration Management
Spark Presentation.
ALICE High Level Trigger Interfaces and Data Organisation CHEP 2006 – Mumbai ( – ) Sebastian Robert Bablok, Matthias Richter, Dieter Roehrich,
Controlling a large CPU farm using industrial tools
G.Manduchi1, T.Fredian2⁾, J.Stillerman2⁾, A. Neto3), F. Sartori3)
Programmable Logic Controllers (PLCs) An Overview.
Chapter 2: System Structures
Lecture Topics: 11/1 General Operating System Concepts Processes
Offline framework for conditions data
Presentation transcript:

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 A Control Software for the ALICE High Level Trigger Timm M. Steinbeck Computer Science/Computer Engineering Kirchhoff Institute of Physics Ruprecht-Karls-University Heidelberg, Germany

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Overview - ALICE ALICE High Level Trigger – ALICE: A Large Ion Collider Experiment – Heavy-Ion Mode: ● Up to particles in event ● Max. event size >70 MB ● Max. input rate from TPC: 200 Hz ● Input data stream:  25 GB/s ● Output data stream:  1.2GB/s – Proton-Proton Mode: ● Max. input rate from TPC: 1kHz ● Event size  3 MB See also Talk by M. Richter and first talk by T. M. Steinbeck

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Overview - HLT ALICE High Level Trigger – Processing in several steps from raw detector data to full event reconstruction – Large PC cluster ● Initially  nodes ● Arranged in hierarchy levels (HL) that match detector layout and analysis steps – Exact processing sequence and hierarchy not known – Framework consisting of multiple independant, communicating components used to transport data – Software needed to manage components and their interaction

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 HLT Control System Purpose of the HLT Control System: Management of HLT Processes – Supervise processes – React to state changes ● E.g. errors, unexpected termination – Manage system startup ● Connect components only when they are ready ● Connect bridges between nodes when nodes are ready – Orchestration of HLT system

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Requirements – Flexible ● HLT Configurations not yet defined ● Usable for other programs as well – Hierarchical ● >2000 processes not manageable by single supervisor instance ● Eases configurations – No single point of failure ● PC cluster nodes are unreliable ● No need for highly reliable, expensive, equipment – Should be able to run on the cluster nodes themselves, along the analysis processes.

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Core TaskManager Architecture Configurati on Engine XML Configuratio n File Interface Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Core TaskManager Architecture Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager – TaskManager configuration is stored in XML files – "State machine" logic is Python code, read from configuration file and executed by embedded Python interpreter – Communication with external programs is done via external interface library, supplied with programs, specified in configuration file Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Configuration Files – Configuration is stored in XML files – Configuration Engine reads in configuration – TaskManager Core queries configuration items from Configuration Engine – Configuration files store ● Programs to be started and controlled ● Python code for "state machines“ of controlled programs and global ones ● Interface libraries to be used for communication with programs ● Master/Slave TaskManager configuration items Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Configuration Files – For each controlled program the configuration can describe: ● The command line to be executed ● The address for communication with the program (passed to the interface library) ● Resources used by the program (for cleanup upon termination) ● Different situations in which to execute Python code include – State changes – Termination – Configuration change Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Configuration Files – Global items in a configuration file include: ● The interface library to be used for communication with controlled programs ● Global state change action Python code ● Slave control specification (only slave TM) ● Master TM configuration is handled via normal controlled program specification Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Program State Handling – „State Machine“ logic contained in Actions, Python code in configuration file – TaskManager has embedded Python interpreter – When conditions are met interpreter executes specified code – More powerful and flexible than pure state machine – Python code is specified for different occasions, e.g.: ● Program state change ● Program termination ● Configuration changes – Set of special functions provide interface from Python code to TaskManager and controlled programs Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Program State Handling – Python TaskManager Interface contains functions for multiple purposes ● Query state and status data of controlled programs ● Send commands to controlled programs ● Start programs ● Terminate (forcibly) programs ● Exchange information between master & slave TaskManagers Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Program Interface – Programs use different methods to present status to the outside (including the TaskManager) –  Communication between TaskManager and programs is handled by interface libraries – Interface libraries ● are external to the TaskManager ● belong to a set of programs ● are loaded at runtime ● know how to communicate with their programs ● implement specific, defined set of functions – TaskManager can call specified functions ● Consistent interface API for all programs Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Program Interface – Program interface includes functions to ● initialize the interface library ● deinitialize the interface library ● query a program's state ● query additional status data for a program ● send a command to a program ● wait for interrupts (or look-at-me-s) from programs Core Configurati on Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Master Slave Configuration – Slave TaskManager uses additional internal object to receive commands from master and provide master with status data – Master uses interface library to communicate with slaves – Master/Slave communication is simple extension to standard communication w. controlled programs Core Configurati on Engine XML Configurat ion File Interfac e Library Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine Core Configurat ion Engine XML Configurat ion File Interfac e Library Controlled Programs Program State & Action Engine Embedded Python Interpreter TaskManager Program Interface Engine Master/Sla ve Interface

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Sample Configuration – Configuration planned for HLT use in ALICE TPC Testbeam – 2 optical readout links from detector via DAQ splitter module – 1 optical output link going to DAQ – 3 PCs, one per optical link, several software components on each PC HLT PC 1 RORC Publisher Subscriber BridgeHead HLT PC 3 Publisher BridgeHead Publisher BridgeHead Event Merger Storage Writer HLT-Out Subscriber EventRate Subscriber HDD Optical Link From DAQ/Detector HLT PC 2 RORC Publisher Subscriber BridgeHead Storage Writer HDD Optical Link To DAQ Optical Link From DAQ/Detector

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Sample Configuration Master TaskMana ger Slave TaskMana ger 1 Slave TaskMana ger 2 RORC Publish er Storage Writer Subscribe r BridgeHea d Publisher Bridge Head Publisher Bridge Head HLT-Out Subscrib er Event- Rate Subscrib er – Status & Command flow is black HLT PC 2 HLT PC 3 Event Merger Slave TaskMana ger 0 RORC Publish er Storage Writer HLT PC 1 Subscribe r BridgeHea d – Data flow is yellow

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Outline – Overview ALICE / High Level Trigger (HLT) – Overview Control System / Requirements – Architecture ● Configuration ● Program State Handling ● Program Interface ● Master/Slave Operation – Sample Configuration – Summary & Conclusion

CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/27 Summary & Conclusion – TaskManager provides flexible and hierarchical program control – Powerful program state handling through embedded Python – Adaptable to many programs through interface libraries – Machine- and human-readable/writeable XML configuration files – Avoids single-points-of-failure – Used for ALICE High Level Trigger Data Challenges – Used for HLT control in ALICE TPC testbeam – Designed to be adaptable to other problems, in- and outside of Alice HLT