150 likes | 279 Views
D ata A cquisition B ackbone C ore library Jörn Adamczewski-Musch, Hans G.Essel , Nikolaus Kurz, Sergey Linev GSI, Experiment Electronics: Data Processing group Release V1.0 Use cases. Work supported by EU RP6 project JRA1 FutureDAQ RII3-CT-2004-506078.
E N D
Data Acquisition Backbone Core library Jörn Adamczewski-Musch, Hans G.Essel, Nikolaus Kurz, Sergey LinevGSI, Experiment Electronics: Data Processing group Release V1.0 Use cases Work supported by EU RP6 project JRA1 FutureDAQ RII3-CT-2004-506078 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
Software developments at GSI (EE) • Software packages developed: • 2005 Simulation with SystemC (flow control, scheduling) • Meta data on data network • 2006 Real dataflow core (round robin, with/without sychronization) • Linux, InfiniBand, GB Ethernet • Simulates data sources • 2007/8 Data Acquisition Backbone Core DABC(includes dataflow core) • Controls, Configuration, Monitoring, GUI ... • Real data sources • General purpose DAQ framework J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
DABC release v1.0.01 Download via dabc.gsi.de DABC Controls Java GUI* Core Plugins Applications Slim DIM* bnet-mbs mbs ROC* ABB* ROOT verbs bnet-mbs mbs ROC ABB bnet-test core-test net-test Controls: No more XDAQ Plugins: Implementation of applications (programmers) Applications: Mainly setup or testing programs (users) * external packages needed J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
DABC design: global overview DABC frontend Linux PCs datainput sorting tagging filter analysis PCIe frontend sender GE frontend frontend IB Linux PCs UDP Linux PCs TCP analysis archive sender sorting tagging filter analysis datainput archive GE: Gigabit Ethernet IB: InfiniBand J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
DABC design: Software objects of data flow engine A module processes data of one or several data streams. Data streams propagate through ports, which are connected bytransportsand devices Object manager DABC Module DABC Module Threads port port process process port port Central data managerMemory pools Bufferqueue Bufferqueue locally (by reference) Transport Transport Device Device Network J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
Simple MBS combiner setup MBS: R3G-3 localhost/Worker Stream server Device Device Combiner Transport Input0 ServerOutput Transport Input1 FileOutput Transport Transport Device Device File MBS: R3G-4 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
Simple MBS combiner setup • Context describes executable • Run specifies libraries and functions • Application has here no parameters • Standard device (socket based) • Module and Port parameters MBS: R3G-3 localhost/Worker Stream server MBS Device Device Combiner Transport Input0 ServerOutput Transport Input1 FileOutput Transport Transport Device Device File MBS: R3G-4 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ROC: Three ROCs to raw file and stream server ROC cbmtest01 localhost/Readout Stream server Device Combiner Input0 ServerOutput Transport Transport Device Input1 Device FileOutput Transport Transport ROC 1 Input2 Device Device Transport File ROC cbmtest04 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ROC: Three ROCs to raw file and stream server • Class Readout implements CreateAppModules • Application parameters known to all modules ROC cbmtest01 localhost/Readout Stream server Device Combiner Input0 ServerOutput Transport Transport Device Input1 Device FileOutput Transport Transport ROC 1 Input2 Device Device Transport File ROC cbmtest04 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ROC: raw input file to calibrated output file Raw file localhost/Calibr Calibration Device Input0 FileOutput Transport Transport Device Calibrated file J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ROC: raw input file to calibrated output file • Class Readout implements CreateAppModules • Application parameters known to all modules Raw file localhost/Calibr Calibration Device Input0 FileOutput Transport Transport Device Calibrated file J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ABB & Bnet Sender Receiver ABB Eventbuilder Generators B n e t 4 x 4 J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev
ABB & Bnet Sender Receiver ABB Eventbuilder Generators Only one ABB B n e t 4 x 4 Values for all nodes Values for all workers Three generators Four readouts each J.Adamczewski-Musch, H.G.Essel, N.Kurz, S.Linev