Presentation is loading. Please wait.

Presentation is loading. Please wait.

DABCDABC D ata A cquisition B ackbone C ore 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU RP6 project.

Similar presentations


Presentation on theme: "DABCDABC D ata A cquisition B ackbone C ore 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU RP6 project."— Presentation transcript:

1 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU RP6 project JRA1 FutureDAQ RII3-CT-2004-506078 A Data Acquisition Backbone Core library Jörn Adamczewski, Hans G.Essel, Nikolaus Kurz, Sergey Linev GSI, Experiment Electronics: Data Processing group Motivation and use cases Core design: dataflow, modules, manager object Application plug-in mechanism Controls and configuration interface Status and Outlook

2 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 2 CBM data acquisition plan data dispatcher FEE deliver time stamped data CNet collect data into buffers Detector collect ~50000 FEE chips event dispatcher switching network BNet sort time stamped data ~1000 links a 1 GB/sec HNet high level selection to high level computing and archiving ~1 GB/sec Output processing PNet process events level 1&2 selection subfarm ~100 subfarms ~100 nodes per subfarm ~10 dispatchers → subfarm ~1000 collectors ~1000 active buffers TNet time distribution W.F.J.Müller, 2004

3 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 3 GE switch PC ABB PCIe DCB FE IB switch FE DC Front end board: sampling ADCs (4*4), clock distribution Data collector boards, clock distribution to FE Active Buffer Board*: PCI express card 8-20 PCs dual quad PC ABB PCIe *8 *4 bidirectional event building 2.5 GBit/s bi-directional (optical) link: data, clock 2.5 GBit/s data links Gigabit Ethernet FE: Frontend board DC: Data combiner board ABB: Active Buffer board GE: Gigabit Ethernet IB: InfiniBand MBS: MultiBranchSystem MBS CBM use case: Frontend components test DABC A.Kugel, G.Marcus, W.Gao, Mannheim University Informatics V DABC PCIe support

4 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 4 Use case: DAQ m x n topology Trigger Readout ADC Trigger Readout ADC Trigger Readout ADC Trigger Readout ADC Network Eventbuilder Detector MBS Crates Multi Branch System GSI Standard DAQ (~100 installations) Triggerbus DABC DABC Eventbuilder non MBS FE

5 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 5 Motivation for DABC Use cases: Detector tests FE equipment tests Data transport tests Time distribution tests Switched event building MBS event builder Requirements: build events over fast networks triggered or self-triggered front-ends time stamped data streams data flow control (to front-ends) connect (nearly) any front-ends interface for application plug-in code connect MBS readout or collector nodes interface for several controls frameworks => DABC for CBM DAQ testing and as future „general purpose“ DAQ system CBM GSI

6 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 6 data input sorting tagging filter analysis data input sorting tagging filter analysis IB PC GE analysis archive PC GE: Gigabit Ethernet IB: InfiniBand frontend DataCombinerr frontend other frontend Readout scheduler DABC DABC design: functional overview  DABC data flow

7 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 7 input event builder input event builder GE GE: Gigabit Ethernet MBS frontend sender TCP  DABC structure Example: Network event building for MBS Event generator TCP No common trigger for demo LynxOS Linux PCs x86-7 x86g-4 lxi013 lxi014 lxi015 lxi016 controller lxg0517 GUI DIM, Java

8 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 8 Device Transport DABC Module port Formatter File Transport Device MBS port Example: DABC with MBS plugins DABC Module port Sender port DABC Module port Receiver port DABC Module port EventBuilder port Second node Local or over network

9 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 9 Data flow engine: Software objects and threads DABC Module port DABC Module port process Device Transport Device Transport Network DABC Manager locally (by reference) A module processes data of one or several data streams. Data streams propagate through ports, which are connected by transports and devices Central data manager Memory pools Bufferqueue separate threads

10 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 10 Object organisation and Plug-in mechanism DABC Manager Object registry Controls interface SocketDevice CommandsParametersModulesDevices Plugins Memory Pools XDAQ controls monitor xml-configuration set up Event builder modules user modules.. Bnet modules MBSDevice connect create BNet-Plugin configuration Application Plugins configuration user commands define

11 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 11 Controls interface: Generic finite state machine DoConfigure DoEnable DoStart DoStop DoHalt F X H C E R DoError State machine is defined by controls interface of DABC core ApplicationPlugins implement state transition actions („user code“) Nodes in B-net may set up state machine hierarchy: (e.g. 1 master node, n worker nodes)

12 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 12 Controls interface: Parameters and Commands Parameters: Registered by plugin or device class DIM field service with naming convention and DABC structure Also: SOAP/ XDAQ infospace representation, web interface, xml input Recognized by generic GUI, automatic graphical presentation Types: Simple, Status, Rate, Histogram, Info, Command description,... Commands: DIM (and SOAP) implementation State machine commands (generic, with overwritten standard callbacks in plugins) Framework commands (generic, e.g. „SetValue“) User defined module commands (registered by plugin or device): –execution in user callback –recognized by generic GUI via command description –command streamer and description (XML) independent from controls implementation!

13 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 13 Controls with XDAQ runtime environment XDAQ Executive (process, addressspace) Web server (SOAP) SOAP client: Java GUI Infospace* XDAQ Application Modules command queue DABC Core DIM server State machine Web browser GRIDCC * Infospace: remotely accessible parameters DABC core is not depending on XDAQ environment! framework for CMS, see http://xdaqwiki.cern.chhttp://xdaqwiki.cern.ch DIM client: Java GUI LabView GUI EPICS GUI following screenshots of first implementation

14 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 14 Stop DABC Start MBS

15 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 15 Full parameter table of DABC and MBS Parameters can be set here, if not locked

16 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 16 Commands of DABC and MBS Output of DABC and MBS

17 DABCDABC D ata A cquisition B ackbone C ore http://wiki.gsi.de/DABC 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 17 Summary and Outlook Achieved Core infrastructure Data flow engine XDAQ runtime environment Generic Java GUI PCI(e) support MBS event building Programming Interface definitions Todo Controls, GUI c't Data formats Combiner / time sort Programming Interface implementation c't Configuration DB Packaging and deployment Documentation DABC is a new „general purpose“ DAQ system Network performance tests: see next talk (S.Linev)


Download ppt "DABCDABC D ata A cquisition B ackbone C ore 10.3.08 J.Adamczewski, H.G.Essel, N.Kurz, S.Linev 1 Work supported by EU RP6 project."

Similar presentations


Ads by Google