DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 1 Data Acquisition Backbone Core Framework.

Slides:



Advertisements
Similar presentations
First release of Data Acquisition Backbone Core
Advertisements

Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
04/16/2010CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying an earlier edition.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Using PVSS for the control of the LHCb TELL1 detector emulator (OPG) P. Petrova, M. Laverne, M. Muecke, G. Haefeli, J. Christiansen CERN European Organization.
Data Acquisition Backbone Core DABC J. Adamczewski, H.G. Essel, N. Kurz, S. Linev GSI, Darmstadt The new Facility for Antiproton and Ion Research at GSI.
D ata A cquisition B ackbone C ore J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU.
Artdaq Introduction artdaq is a toolkit for creating the event building and filtering portions of a DAQ. A set of ready-to-use components along with hooks.
I/O Systems I/O Hardware Application I/O Interface
Boosting Event Building Performance Using Infiniband FDR for CMS Upgrade Andrew Forrest – CERN (PH/CMD) Technology and Instrumentation in Particle Physics.
TRIGGER-LESS AND RECONFIGURABLE DATA ACQUISITION SYSTEM FOR POSITRON EMISSION TOMOGRAPHY Grzegorz Korcyl 2013.
ETRAX CRIS architecture and Xilinx FPGA Peter Zumbruch Experiment control systems group GSI (KS/EE)
GBT Interface Card for a Linux Computer Carson Teale 1.
C.Combaret, L.Mirabito Lab & beamtest DAQ with XDAQ tools.
DABCDABC D ata A cquisition B ackbone C ore J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported.
Understanding Data Acquisition System for N- XYTER.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Design and Performance of a PCI Interface with four 2 Gbit/s Serial Optical Links Stefan Haas, Markus Joos CERN Wieslaw Iwanski Henryk Niewodnicznski Institute.
D ata A cquisition B ackbone C ore DABCDABC , Huelva J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work.
Frank Lemke DPG Frühjahrstagung 2010 Time synchronization and measurements of a hierarchical DAQ network DPG Conference Bonn 2010 Session: HK 70.3 University.
DABCDABC J. Adamczewski-Musch, H.G. Essel, S. Linev Software development for CBM DAQ J. Adamczewski-Musch, H.G. Essel, S.
7. CBM collaboration meetingXDAQ evaluation - J.Adamczewski1.
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.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
IT/EE Palaver FAIR DAQ - J.Adamczewski, S.Linev1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
1 23.July 2012Jörn Adamczewski-Musch TRB / HADAQ plug-ins for DABC and Go4 Jörn Adamczewski-Musch GSI, Experiment Electronics: Data Processing group EE-meeting,
Developments and applications of DAQ framework DABC v2 Jörn Adamczewski-Musch, Nikolaus Kurz, Sergey Linev GSI / Experiment Electronic.
News on GEM Readout with the SRS, DATE & AMORE
DABCDABC D ata A cquisition B ackbone C ore J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU RP6 project.
Status DAQ Walter F.J. Müller, GSI, Darmstadt for the CBM Collaboration 14 th CBM Collaboration Meeting Friday, 9 October 2009.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
H.G.Essel: Go4 - J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.
Source Controller software Ianos Schmidt The University of Iowa.
DABCDABC D ata A cquisition B ackbone C ore J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported.
GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GGO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4G.
DØ Online Workshop3-June-1999S. Fuess Online Computing Overview DØ Online Workshop 3-June-1999 Stu Fuess.
DABCDABC ROC-based DAQ: latest developments and perspectives Jörn Adamczewski-Musch, Hans G. Essel, Sergey Linev GSI, Experiment Electronics: Data Processing.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
DABC Data Acquisition Backbone Core NUSTAR, Legnaro : DABC - J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Data Acquisition Backbone Core J.Adamczewski,
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
S.Linev: Go4 - J.Adamczewski, H.G.Essel, S.Linev ROOT 2005 New development in Go4.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
LonWorks Introduction Hwayoung Chae.
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 Игорь.
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
The ALICE Data-Acquisition Read-out Receiver Card C. Soós et al. (for the ALICE collaboration) LECC September 2004, Boston.
Chapter 13: I/O Systems.
Use of FPGA for dataflow Filippo Costa ALICE O2 CERN
Module 12: I/O Systems I/O hardware Application I/O Interface
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
HADES Event Builder Status HADES Coll. Meeting XXX, Lisboa
Distributed object monitoring for ROOT analyses with Go4 v.3
The Software Framework available at the ATLAS ROD Crate
CSCI 315 Operating Systems Design
I/O Systems I/O Hardware Application I/O Interface
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Chapter 13: I/O Systems.
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 1 Data Acquisition Backbone Core Framework - Interfacing readout hardware Jörn Adamczewski-Musch, Hans G.Essel, Sergey Linev GSI, Experiment Electronics: Data Processing group

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 2 Outline DABC Framework overview Device and Transport interface Usage and Configuration Implementation Example 1: PEXOR (PCIe optical receiver) Implementation Example 2: CBM „Active Buffer Board“ (PCIe) Summary and Outlook

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 3 DABC Linux PC cluster Use case: DAQ with fast switching network FEE time stamped or triggered data n x m switching network (InfiniBand, Ethernet,...) BNet sort time stamped data dispatch data high level computing and archiving FLES / SLES First / Second level event selection n subdetector collector nodes Detector data collectors m event processing nodes

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 4 DABC Framework „General purpose“ DAQ software framework Goal: collect and process data over fast networks triggered or time-stamped front-ends Environment: PC with Linux Plain C++ based core (user) plug ins for –data formats and processing –data input and output –control system (DIM, Java GUI) Supports established GSI production DAQ system MBS –data links to MBS readout nodes (Lynx OS) –file I/O with MBS *.lmd formats –can emulate MBS data servers -> online analysis

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 5 DABC release v1.0.x Controls bnet-mbs mbs ROC ABB bnet-test core-test net-test Slim (batch) DIM* Java GUI*ApplicationsPlugins bnet-mbs mbs ROC* ABB* PEXOR* ROOT* IB verbs* Core Controls: different implementations provided Plugins: Implementation of applications (programmers) Applications: Mainly setup or testing programs (users) * external packages needed ** under construction DABCDABC Download via [ EPICS** ] ROC: ReadOutController board (UDP) ABB: ActiveBufferBoard (PCIe) PEXOR: PCI Express Optical Receiver IB: InfiniBand mbs: MultiBranchSystem (GSI DAQ) See Poster by H.G.Essel: A DIM Based Communication Protocol to Build Generic Control Clients

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 6 DABC Software Features 1 Runtime environment: – Worker objects with (optional) shared threads => avoid wait times in mutex, condition, or context switches – Command objects executed within Worker context – Commands and event signals dispatched via queues Memory pools and Buffer management Data processing code in Module objects I/O connections in Device objects Dataflow via Transport connections between Ports at Modules and Devices

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 7 DABC Software Features 2 DAQ node is set up by Application singleton –Implements initialization methods for Modules, Devices, connections, memory pool –Defines Parameter objects, values assignable from XML configuration file –Re-Implements control state transitions (optional) Manager singleton: –Object management –Defines run control state machine –Implements control system (simple, DIM,...) –Dispatches Commands to Processor instances

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 8 Software objects in one DABC node xml configuration Network Device “Params”“Pool” IB verbs Library network hardware Linux Kernel Module Manager Run States DIM controls monitor “Params” Commands Object registry Linux Kernel Module PCIe hardware User Device “Params”“Pool” Driver Library Transport UserModule “Pool” “Input” “Output0” “Output1” “Params” UserModule “Pool” “Input” “Output0” “Output1” “Params” UserModule “Pool” “Input0” “Output0” “Params” “Input1” Transport “Local” Transport DataFile DataServer User Application “Pool” “Params” Object Set up

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 9 DABC interface for new user hardware dabc::DataTransport Read_Size() Read_Begin() Read_Complete() dabc::Device CreateTransport() ExecuteCommand() dabc::Module “Process” Readout Module “Process Data” User Device CreateTransport() ExecuteCommand() Parameters Commands UserTransport Read_Size() Read_Begin() Read_Complete() Driver Library Kernel Module Hardware dabc::Buffer

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 10 dabc::Device class interface Set up by Parameter objects Factory method CreateTransport() –Defines corresponding Transport implementation –used by framework to connect any Module to this Device Method ExecuteCommand() –can implement callbacks for user Commands (Device control) –runs in dedicated Device thread Method DoDeviceCleanup() invoked by framework at cleanup time

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 11 dabc::DataTransport class interface Method unsigned int Read_Size() –Invoked before each buffer transfer –Returns size of data to be filled Optional: Method Read_Start(dabc::Buffer*) –Invoked at begin of each buffer transfer –Passes target buffer of requested size –May initiate transfer to buffer –Must not wait for transfer completion Method Read_Complete(dabc::Buffer*) –Invoked at the end of each buffer transfer –Passes target buffer of requested size –Fills target buffer, or waits until filling is complete Asynchronous mode (device DMA, DABC double buffers)

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 12 DABC Node configuration Runtime Libraries, Logfile Application Parameters Hardware set up DABC Parameter objects: Registered in Application or Modules Values read from XML config Used at (Device) initialization Can be monitored by control system XML syntax with name wildcards (*) => simplifies set up of many nodes Module Parameters

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 13 Example 1: PEXOR board and FEBs Developed by GSI EE: J.Hoffmann, N.Kurz, S.Minami, W.Ott, S.Voltz PEXOR: Pci-EXpress Optical Receiver Lattice FPGA 4 lane PCIe 4 high speed optical connectors (SFP) EXPLODER FEBEX Front End Board Detector electronics ADC chain See Poster by S.Minami: Design and Implementation of a Data Transfer Protocol via Optical Fibre

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 14 PEXOR board: Driver and DABC plug-in PEXOR driver release v0.95 (GSI, J.Adamczewski-Musch) C++ pexor:: UserLibrary Linux Kernel module DABC Plug ins pexorplugin::Transport dabc::DataTransport Read_Size() Read_Begin() Read_Complete() Device CreateTransport() WriteTestData() RequestToken()... ReadoutApplication CreateAppModules() ReadoutModule ProcessEvents() lmd File MBS Data Server monitoring See presentation by H.G.Essel: On-Line Object Monitoring with New Version V4.4 of Go4

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 15 PEXOR board tests DABC Token Readout: data request from 2 frontends chained via 1 SFP and DMA to PC host Polling mode, no trigger IR -> maximum speed Data server + online monitor -> almost reaching plain test speed of driver library 130 MB/s (2Gbit/s SFP connection)

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 16 Example 2: DABC in CBM test beam Combiner Sorter raw data calibrated data Input0 Input1 Input2 Output0 Output1 Input0 Output0 Output1 roc::Readout online go4 monitor STS GEM Presented by S.Linev, RT 2009 Compressed Baryonic Matter experiment for FAIR

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 17 DABC as access layer to CBM ROC file I/O online monitor ROC/udp plugin ROC/PCIe plugin User access layer DABCDABC Users scripts, GUIs optic PCIe Ethernet CBM Readout controller (ROC), Kirchhoff Institut für Physik, Heidelberg Avnet Active Buffer Board (ABB), ZITI, Heidelberg

DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 18 Summary DABC is modular C++ framework for DAQ processing on Linux Supports distributed event building in network clusters Custom hardware for data input can be implemented by simple interface (Device and DataTransport) PEXOR board is ready to use with DABC, but driver and plug-in are still under further development (trigger interrupt, async readout,…) CBM experiment uses DABC as production system for test beam times (next: June 2010)