Developments and applications of DAQ framework DABC v2 Jörn Adamczewski-Musch, Nikolaus Kurz, Sergey Linev GSI / Experiment Electronic.

Slides:



Advertisements
Similar presentations
First release of Data Acquisition Backbone Core
Advertisements

Hans G. Essel, GSI: HGF Workshop Experiment Data Processing at GSI.
Target Online Software J. Leaver 01/12/ /06/2015Imperial College 2 Target Controller Software Software for Stage 1 upgrade nearing completion –Hardware.
DABCDABC D ata A cquisition B ackbone C ore RT2010 J.Adamczewski-Musch, H.G.Essel, S.Linev 1 Data Acquisition Backbone Core Framework.
Data Acquisition Software for CMS HCAL Testbeams Jeremiah Mans Princeton University CHEP2003 San Diego, CA.
Use of ROOT in the D0 Online Event Monitoring System Joel Snow, D0 Collaboration, February 2000.
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.
A TCP/IP transport layer for the DAQ of the CMS Experiment Miklos Kozlovszky for the CMS TriDAS collaboration CERN European Organization for Nuclear Research.
Boosting Event Building Performance Using Infiniband FDR for CMS Upgrade Andrew Forrest – CERN (PH/CMD) Technology and Instrumentation in Particle Physics.
THttpServer class Sergey Linev (GSI). Some history Development was inspired by JSRootIO why not achieve similar functionality with online ROOT application?
TRIGGER-LESS AND RECONFIGURABLE DATA ACQUISITION SYSTEM FOR POSITRON EMISSION TOMOGRAPHY Grzegorz Korcyl 2013.
TANGO on embedded devices: the Bimorph Mirror application case Fulvio Billè Roberto Borghes, Roberto Pugliese, Lawrence Iviani Instrumentation & Measurement.
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.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
DAQ Issues for the 12 GeV Upgrade CODA 3. A Modest Proposal…  Replace aging technologies  Run Control  Tcl-Based DAQ components  mSQL  Hall D Requirements.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
Network Architecture for the LHCb DAQ Upgrade Guoming Liu CERN, Switzerland Upgrade DAQ Miniworkshop May 27, 2013.
D ata A cquisition B ackbone C ore DABCDABC , Huelva J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work.
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.
THttpServer for ROOT Bertrand Bellenot, CERN Sergey Linev, GSI Darmstadt
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Computing Division Requests The following is a list of tasks about to be officially submitted to the Computing Division for requested support. D0 personnel.
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.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
David Abbott - Jefferson Lab DAQ group Data Acquisition Development at JLAB.
IT/EE Palaver FAIR DAQ - J.Adamczewski, S.Linev1.
CHEP 2013, Amsterdam Reading ROOT files in a browser ROOT I/O IN JAVASCRIPT B. Bellenot, CERN, PH-SFT B. Linev, GSI, CS-EE.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Content: Introduction Architecture Future.
H.G.Essel: Go4 - J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev CHEP 2003 GSI Online Offline Object Oriented Go4.
Latest ideas in DAQ development for LHC B. Gorini - CERN 1.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 Parallel - DAQ Status, Emlyn Corrin, 8 Oct 2007 EUDET Annual Meeting, Palaiseau, Paris DAQ Status.
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,
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.
IPHC - DRS Gilles CLAUS 04/04/20061/20 EUDET JRA1 Meeting, April 2006 MAPS Test & DAQ Strasbourg OUTLINE Summary of MimoStar 2 Workshop CCMOS DAQ Status.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
13 June 2001M.Al-Turany/Root20011 Mohammad Al-Turany Go4 GSI Darmstadt 13 June 2001.
H.G.Essel: Go4 - J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.
Online Monitoring for the CDF Run II Experiment T.Arisawa, D.Hirschbuehl, K.Ikado, K.Maeshima, H.Stadie, G.Veramendi, W.Wagner, H.Wenzel, M.Worcester MAR.
GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GGO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4G.
DABCDABC ROC-based DAQ: latest developments and perspectives Jörn Adamczewski-Musch, Hans G. Essel, Sergey Linev GSI, Experiment Electronics: Data Processing.
Connecting LabVIEW to EPICS network
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
DABC Data Acquisition Backbone Core NUSTAR, Legnaro : DABC - J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Data Acquisition Backbone Core J.Adamczewski,
MMDAQ Content – Overview – Case study – adding support for VMM1 chips – Drawings (data flow, concurrency, error reporting, scalability, monitoring) 13.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
EPICS and LabVIEW Tony Vento, National Instruments
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: Implementation Plan.
The ALICE data quality monitoring Barthélémy von Haller CERN PH/AID For the ALICE Collaboration.
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.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Outline: Introduction Architecture Future.
The Slow Control System of the HADES RPC Wall Alejandro Gil on behalf of the HADES RPC group IFIC (Centro Mixto UV-CSIC) Valencia, 46071, Spain IEEE-RT2009.
The Evaluation Tool for the LHCb Event Builder Network Upgrade Guoming Liu, Niko Neufeld CERN, Switzerland 18 th Real-Time Conference June 13, 2012.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
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]
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
IRFU The ANTARES Data Acquisition System S. Anvar, F. Druillole, H. Le Provost, F. Louis, B. Vallage (CEA) ACTAR Workshop, 2008 June 10.
HTCC coffee march /03/2017 Sébastien VALAT – CERN.
Data and Control link via GbE
Calicoes Calice OnlinE System Frédéric Magniette
HADES Event Builder Status HADES Coll. Meeting XXX, Lisboa
Controlling a large CPU farm using industrial tools
J. Adamczewski, M. Al-Turany, D. Bertini, H.G. Essel
Presentation transcript:

Developments and applications of DAQ framework DABC v2 Jörn Adamczewski-Musch, Nikolaus Kurz, Sergey Linev GSI / Experiment Electronic CHEP

DABC core functionality  Multi-thread, multi-node applications  Zero-copy transport approach full support for InfiniBand VERBS advanced sockets treatment with select()  Flexible plugin interface MBS, HADAQ, ROOT, Go4, EPICS, DIM, FESA  http for slow control JavaScript ROOT as web GUI  In development since 2007 v1.0 in 2009, now v Sergey Linev, DABC v2, dabc.gsi.de2

Local communication Sergey Linev, DABC v2, dabc.gsi.de3 ReceiverSender memory pool buffer File, socket, PCIe,... Consumer  Pre-allocated memory pool  Reference counter for each buffer  Buffers queue between modules  No memcpy between sender and receiver queue

Remote communication Sergey Linev, DABC v2, dabc.gsi.de4 Transport Sender memory pool buffer Producer Receiver Transport memory pool buffer Consumer node1 node2  Same approach as in local  No memcpy for InfiniBand  Different communication patterns: 1  1, 1  N, N  1, N x M queue

InfiniBand tests with DABC  ½ fat tree topology  ~800 nodes with QDR IB  12 spine and 34 leaf switches Sergey Linev, DABC v2, dabc.gsi.de5 ibspine01 ibswitch ibswitch ibswitch ibswitch ibswitch ibswitch ibswitch ibswitch ibswitch ibswitch ibspine02ibspine03ibspine04 ibswitch ibswitch  all-to-all traffic pattern  1.25 TB/s or 80% of available bandwidth Results from May 2011

PEXOR/KINPEX plug-ins Sergey Linev, DABC v2, dabc.gsi.de6 PEXOR (KINPEX): Pci-EXpress Optical Receiver Lattice (Kintex) FPGA 4 lane PCIe 4 high speed SFP connectors FEBEX (ADC), POLAND (QFW), TAMEX (TDC) various frontends Detector GOSIP protocol, optical chains pexorplugin::Device InitDaq() UserReadout() RequestToken() StartAcquisition()... poland::Device InitDaq() UserReadout() explodertest::Device InitDaq() UserReadout() subclasses DABC hardware libpexor.so user library pexor.ko Linux kernel module gosipcmd control tool

PEXOR/KINPEX plug-ins Sergey Linev, DABC v2, dabc.gsi.de7  Use generic pexor kernel module and library  Device base class: common functionality (gosip, DMA, interrupts) interface methods (InitDAQ(), UserReadout() )  Device subclasses: Frontend specific, may implement “user” code  Readout modes: Free running (polling request) Request after trigger interrupt (emulates MBS DAQ) “automatic” within trigger interrupt handler

in DABC  Access to different data in DAQ application  JavaScript ROOT as user interface  One could integrate and access data from different sources: DABC, ROOT, Go4, MBS, EPICS, DIM, FESA,...  Same data could be accessed by Go4 and displayed using native ROOT graphics  One also could use command-line tools to access DAQ/analysis data via http or socket Sergey Linev, DABC v2, dabc.gsi.de8

Heterogeneous distributed applications Sergey Linev, DABC v2, dabc.gsi.de9 MBS DAQ shell> mbs -dabc mbs> open file test.lmd mbs> sta acq cmd Go4 analysis $ go4analysis -stream localhost GO4- *> Reading library: libGo4UserAnalysis GO4-*> Close of TUserSource GO4-*> Create default analysis with processor class TFirstStepProcessor GO4-*> Use class TStreamEvent as output event GO4-*> Welcome to Go4 Analysis Framework Release v4.6.3 (build 40603) ! GO4-*> Analysis: Added analysis step Analysis GO4-*> Main: starting analysis in batch mode... GO4-!> Fail to open AutoSave file Go4AutoSave.root GO4-*> Analysis LoadObjects: Failed to load from file Go4AutoSave.root f_evt_get_open for STREAM: port=6002 timeout=1 GO4-*> Factory: Create input event for MBS GO4-*> Event MbsEvent101 has source localhost class: TGo4MbsStream GO4-*> Factory: Create event processor Processor GO4-*> Create TFirstStepProcessor Processor GO4-*> Executing ROOT script first.C GO4-*> Factory: Create output event OutputEvent GO4-*> Event OutputEvent has source Processor class: TFirstStepProcessor GO4-*> Analysis -- Initializing EventClasses done. TGo4Sniffer socket Publisher HADAQ Publisher socket EPICS DABC DAQ DABC master dabc::Publisher collects data from remote build global hierarchies version control http socket mbs plugin socket DABC agents log status

MBS/GOSIP web gui Sergey Linev, DABC v2, dabc.gsi.de10

DABC/PEXOR/GOSIP web gui Sergey Linev, DABC v2, dabc.gsi.de11

POLAND frontend web gui Sergey Linev, DABC v2, dabc.gsi.de12

HADES detector HADES is a versatile detector for a precise spectroscopy of e + e - pairs (di-electrons) and charged hadrons produced in proton, pion and heavy ion induced reactions in a 1÷3.5 GeV kinetic beam energy region Sergey Linev, DABC v2, dabc.gsi.de13

IOC HADES DAQ before Sergey Linev, DABC v2, dabc.gsi.de14 TRB small hld hld IOC EPICS GUI Event builder server /shm HYDRA2  ~30 TRB frontend boards  ~10 KHz, max 300 MB/s  simple round-robin approach  C-based, single thread code  EPICS IOCs for DAQ slow control  file-based quality monitoring UDP client

DABC HADES DAQ now Sergey Linev, DABC v2, dabc.gsi.de15 TRB hld Combiner output stream  DABC on all event builders  All infrastructure remains as is  Socket data stream to online analysis  Used in production beams 2014 http DABC hld Combiner output stream http DABC hld Combiner output stream http DABC hld Combiner output stream http EPICS GUI /shm server client HYDRA2 UDP

HADES DAQ upgrade  New RICH and ECAL electronic more than 100 TRBs (30 up to now)  Use in many places FPGA TDCs need for special calibration procedure  Potentially free-running readout for RICH need to produce subevents afterwards  HLD data format should be preserved Sergey Linev, DABC v2, dabc.gsi.de16

Change networking topology Sergey Linev, DABC v2, dabc.gsi.de17 TRB DABC TRB DABC 10Gb Ethernet All data from single TRB always send to same DAQ node Every DAQ node can perform TDC calibration and event selection immediately Event building done afterwards with TCP/IP or IB UDP TCP

Next plans  FPGA TDCs calibrations in DABC already done, including web control GUI  Event building network (BNet) for HADES planned as v3 release, end of 2015  Accommodate C++11 features native threads, references probably as v4 in ~ Sergey Linev, DABC v2, dabc.gsi.de18

Conclusion  Flexible framework for different DAQ tasks  Web and JSROOT as user interface  Used in different test beams  Production DAQ for HADES experiment Sergey Linev, DABC v2, dabc.gsi.de19