SlideShare a Scribd company logo
1 of 19
DATE evaluation
                 DIM evaluation
                    First results




Software for the new COMPASS
    data acquisition system

Martin Bodlák             Vladimír Jarý            Josef Nový

  Faculty of Nuclear Sciences and Physical Engineering
          Czech Technical University in Prague


     COMPASS collaboration meeting
         November 18, 2011



      M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                              DIM evaluation
                                 First results


Towards the new DAQ software
   1    Evaluation of the current DAQ software
   2    Definition of requirements on the new software
   3    Evaluation of programming languages and communication
        libraries
   4    Definition of the minimal functionality required by the
        control application
   5    Implementation of the minimal control system
   6    Performance and stability testing
   7    Implementation of the simulation tools
   8    Extending the functionality of the control system
   9    Deployment on the custom hardware
   10   Testing under the real conditions
                   M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                             DIM evaluation
                                First results


Key features of the DATE package
     DATE (Data Acquisition and Test Environment)[1]
     developed for the ALICE experiment – two modes:
       1   heavy ion collisions (PbPb):
                low interaction rates (10 kHz), big events
                trigger: low selectivity, high complexity
       2   proton beams (pp):
                high interaction rates (200 kHz), small events
                trigger: high selectivity, low complexity
     fixed–target mode, collider mode
     focus on scalability (can run on a single processor as well
     as on hundreds processors)
     performance:
           40 GB/s readout
           2.5 GB/s event building
           1.25 GB/s storage
                  M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                           DIM evaluation
                              First results


Functionality
  DATE provides:
   1 data flow
   2 run control
   3 interactive configuration
   4 load balancing (EDM)
   5 information reporting (infoLogger, infoBrowser )
   6 event sampling (MOOD/COOOL)
   7 log book
   8 ...
  Requirements:
   1 all processors must be x86 compatible
   2 all processors must be running GNU/Linux OS
   3 all processors must be connected to the network
     supporting the TCP/IP stack
                M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                            DIM evaluation
                               First results


Decision

  Results of the DATE evaluation
  It has been decided not to use DATE as a base for the new
  DAQ system for the following reasons [3]:
      it is too complex for our needs, simpler system is preferred
      x86 compatible hardware is required
      existing setup requires heavy cleanup anyway (i.e. lot of
      undocumented scripts in various languages)
  On the other hand, we should:
      keep the DATE data format
      use DIM library [2] (DCS integration)
      reuse some DATE components (MurphyTV, COOOL, log
      book system, ...)

                 M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                             DIM evaluation
                                First results


DIM library [2]


      Distributed Information Management
      developed for the DELPHI experiment
      provides asynchronous one-to-many communication in a
      heterogeneous network environment
      extends the client–server paradigm by a concept of a
      name server (DNS)
      based on the TCP/IP standard
      C++, Java, Python interfaces available
      used by the DATE package, communication with DCS



                  M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                      DIM evaluation
                         First results


DIM Name server




           M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                       DIM evaluation
                          First results


Comparison of C++ and Java DIM performance




            M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                         DIM evaluation
                            First results


Definition of the minimal run control software




              M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                            DIM evaluation
                               First results


Overview of the system
   1   Master node
           wakes up slave nodes
           sends commands to the slaves
           collects health status from the slaves
           receives commands from the user interface application
   2   Slave nodes
           receives commands from the master
           publishes health status of the slaves
   3   Graphical user interface
           sends commands to the master node
           receives health status of the slaves published by the master
   4   Message logger
           collects messages generated by the master and the slaves
           stores these messages into a database
   5   Message browser
           queries the messages database
                 M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                           DIM evaluation
                              First results


Details of the system

     implemented in the Qt framework
     configuration and messages stored in a MySQL database
     communication between nodes based on the DIM library
         only master requires DB access, it distributes the
         configuration to the slaves through the DIM service
     custom communication protocols defined
     some parts (waking up the slaves) implemented in the
     Python
     test runs at a “new control room” in the building 892
         Gigabit Ethernet
         tests on 2-16 slaves (tested on current event builders)
         various message size (100 B-500 kB)


                M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                       DIM evaluation
                          First results


Results: Number of exchanged messages




            M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                        DIM evaluation
                           First results


Results: Transfer speed




             M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                         DIM evaluation
                            First results


Results: System stability




              M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                          DIM evaluation
                             First results


Graphical User Interface: Run control (1/2)
     stand alone application implemented in the QT framework
     DIM connection to the master node
     remote control
     multiple operators, multiple modes




              Run control user interface: user mode

               M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                         DIM evaluation
                            First results


Graphical User Interface: Run control (2/2)




            Run control user interface: expert mode

              M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                        DIM evaluation
                           First results


Graphical User Interface: Message browser




             M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                             DIM evaluation
                                First results


Conclusion and outlook

   1   What has been done:
           DATE evaluation
           basic run control application:
                master node
                slave nodes
                graphical user interface
                MessageLogger, MessageBrowser
   2   Next steps:
           implement reporting of errors in data
           finalize the description of the behaviour of the system
           implement the software that simulates the behaviour of the
           TCS controller and AMC cards
           documentation (!)


                  M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system
DATE evaluation
                          DIM evaluation
                             First results


The bibliography

     T. Anticic et al. (ALICE DAQ Project): ALICE DAQ and ECS
     User’s Guide, CERN EDMS 616039, January 2006
     C. Gaspar: Distributed Information Management System
     [online]. 2011.
     Available at: http://dim.web.cern.ch/dim/
     V. Jarý: DATE evaluation. In: COMPASS DAQ meeting,
     Geneva, Switzerland, 29 March 2011
     V. Jarý, T. Liška, M. Virius: Developing a New DAQ
     Software For the COMPASS Experiment. In: 37th Software
     Development, Ostrava: VŠB – Technická univerzita
     Ostrava, 2011, ISBN 978-80-248-2425-3. pp. 35–41.


               M. Bodlák, V. Jarý, J. Nový   Software for the new COMPASS data acquisition system

More Related Content

Viewers also liked

логисто
логистологисто
логисто
BDA
 
July 30 2010 "BEYOND REALITY" Announcement
July 30 2010 "BEYOND REALITY" AnnouncementJuly 30 2010 "BEYOND REALITY" Announcement
July 30 2010 "BEYOND REALITY" Announcement
test
 
CERTIFICAT . UCL
CERTIFICAT . UCLCERTIFICAT . UCL
CERTIFICAT . UCL
sara hanna
 

Viewers also liked (13)

Feliz 2009 Mafalda
Feliz 2009 MafaldaFeliz 2009 Mafalda
Feliz 2009 Mafalda
 
логисто
логистологисто
логисто
 
Bootcamp pt
Bootcamp ptBootcamp pt
Bootcamp pt
 
July 30 2010 "BEYOND REALITY" Announcement
July 30 2010 "BEYOND REALITY" AnnouncementJuly 30 2010 "BEYOND REALITY" Announcement
July 30 2010 "BEYOND REALITY" Announcement
 
يجب اتباع الخطوات التالية حتى تكون الزيارة الاولى للمركز ناجحة لابنائنا من ذ...
 يجب اتباع الخطوات التالية حتى تكون الزيارة الاولى للمركز ناجحة لابنائنا من ذ... يجب اتباع الخطوات التالية حتى تكون الزيارة الاولى للمركز ناجحة لابنائنا من ذ...
يجب اتباع الخطوات التالية حتى تكون الزيارة الاولى للمركز ناجحة لابنائنا من ذ...
 
p8-9
p8-9p8-9
p8-9
 
CERTIFICAT . UCL
CERTIFICAT . UCLCERTIFICAT . UCL
CERTIFICAT . UCL
 
poesia
poesiapoesia
poesia
 
Making a Better World with Technology Innovations
Making a Better World with Technology InnovationsMaking a Better World with Technology Innovations
Making a Better World with Technology Innovations
 
Decision Structures
Decision StructuresDecision Structures
Decision Structures
 
Python Seminar PPT
Python Seminar PPTPython Seminar PPT
Python Seminar PPT
 
Social Media usage in libraries in Europe - survey findings
Social Media usage in libraries in Europe - survey findingsSocial Media usage in libraries in Europe - survey findings
Social Media usage in libraries in Europe - survey findings
 
Manual para dibujar rostro frontal
Manual para dibujar rostro frontalManual para dibujar rostro frontal
Manual para dibujar rostro frontal
 

Similar to Software for the new COMPASS data acquisition system

A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
Kumar Gaurav
 
Machine Learning Based Botnet Detection
Machine Learning Based Botnet DetectionMachine Learning Based Botnet Detection
Machine Learning Based Botnet Detection
butest
 
Hw09 Hadoop Based Data Mining Platform For The Telecom Industry
Hw09   Hadoop Based Data Mining Platform For The Telecom IndustryHw09   Hadoop Based Data Mining Platform For The Telecom Industry
Hw09 Hadoop Based Data Mining Platform For The Telecom Industry
Cloudera, Inc.
 
jeevanreddy-nwplm
jeevanreddy-nwplmjeevanreddy-nwplm
jeevanreddy-nwplm
jeevan b
 
Resume_Dimitri_Dey_Android_LTE_Automotive
Resume_Dimitri_Dey_Android_LTE_AutomotiveResume_Dimitri_Dey_Android_LTE_Automotive
Resume_Dimitri_Dey_Android_LTE_Automotive
Dimitri Dey
 
Pragya_Tiwari_Resume
Pragya_Tiwari_ResumePragya_Tiwari_Resume
Pragya_Tiwari_Resume
PRAGYA TIWARI
 
Automated Planning as a Semantic Technology
Automated Planning as a Semantic TechnologyAutomated Planning as a Semantic Technology
Automated Planning as a Semantic Technology
Clark & Parsia LLC
 

Similar to Software for the new COMPASS data acquisition system (20)

prj exam
prj examprj exam
prj exam
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Resume
ResumeResume
Resume
 
Machine Learning Based Botnet Detection
Machine Learning Based Botnet DetectionMachine Learning Based Botnet Detection
Machine Learning Based Botnet Detection
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Hw09 Hadoop Based Data Mining Platform For The Telecom Industry
Hw09   Hadoop Based Data Mining Platform For The Telecom IndustryHw09   Hadoop Based Data Mining Platform For The Telecom Industry
Hw09 Hadoop Based Data Mining Platform For The Telecom Industry
 
jeevanreddy-nwplm
jeevanreddy-nwplmjeevanreddy-nwplm
jeevanreddy-nwplm
 
Resume_Dimitri_Dey_Android_LTE_Automotive
Resume_Dimitri_Dey_Android_LTE_AutomotiveResume_Dimitri_Dey_Android_LTE_Automotive
Resume_Dimitri_Dey_Android_LTE_Automotive
 
Evaluación de Dispositivos Pocket PC para su Uso como Servidores Móviles
Evaluación de Dispositivos Pocket PC para su Uso como Servidores MóvilesEvaluación de Dispositivos Pocket PC para su Uso como Servidores Móviles
Evaluación de Dispositivos Pocket PC para su Uso como Servidores Móviles
 
Cognitive Engine: Boosting Scientific Discovery
Cognitive Engine:  Boosting Scientific DiscoveryCognitive Engine:  Boosting Scientific Discovery
Cognitive Engine: Boosting Scientific Discovery
 
BonAHA framework - IEEE CCNC 2009
BonAHA framework - IEEE CCNC 2009BonAHA framework - IEEE CCNC 2009
BonAHA framework - IEEE CCNC 2009
 
Predicting Space Weather with Docker
Predicting Space Weather with DockerPredicting Space Weather with Docker
Predicting Space Weather with Docker
 
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems ToolboxEclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
EclipseEmbeddedDay2009-OSGi: Best Tool In Your Embedded Systems Toolbox
 
Prometheus Training
Prometheus TrainingPrometheus Training
Prometheus Training
 
DuraMat Data Analytics
DuraMat Data AnalyticsDuraMat Data Analytics
DuraMat Data Analytics
 
Pragya_Tiwari_Resume
Pragya_Tiwari_ResumePragya_Tiwari_Resume
Pragya_Tiwari_Resume
 
Automated Planning as a Semantic Technology
Automated Planning as a Semantic TechnologyAutomated Planning as a Semantic Technology
Automated Planning as a Semantic Technology
 
Mining Gnome Data
Mining Gnome DataMining Gnome Data
Mining Gnome Data
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 

Software for the new COMPASS data acquisition system

  • 1. DATE evaluation DIM evaluation First results Software for the new COMPASS data acquisition system Martin Bodlák Vladimír Jarý Josef Nový Faculty of Nuclear Sciences and Physical Engineering Czech Technical University in Prague COMPASS collaboration meeting November 18, 2011 M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 2. DATE evaluation DIM evaluation First results Towards the new DAQ software 1 Evaluation of the current DAQ software 2 Definition of requirements on the new software 3 Evaluation of programming languages and communication libraries 4 Definition of the minimal functionality required by the control application 5 Implementation of the minimal control system 6 Performance and stability testing 7 Implementation of the simulation tools 8 Extending the functionality of the control system 9 Deployment on the custom hardware 10 Testing under the real conditions M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 3. DATE evaluation DIM evaluation First results Key features of the DATE package DATE (Data Acquisition and Test Environment)[1] developed for the ALICE experiment – two modes: 1 heavy ion collisions (PbPb): low interaction rates (10 kHz), big events trigger: low selectivity, high complexity 2 proton beams (pp): high interaction rates (200 kHz), small events trigger: high selectivity, low complexity fixed–target mode, collider mode focus on scalability (can run on a single processor as well as on hundreds processors) performance: 40 GB/s readout 2.5 GB/s event building 1.25 GB/s storage M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 4. DATE evaluation DIM evaluation First results Functionality DATE provides: 1 data flow 2 run control 3 interactive configuration 4 load balancing (EDM) 5 information reporting (infoLogger, infoBrowser ) 6 event sampling (MOOD/COOOL) 7 log book 8 ... Requirements: 1 all processors must be x86 compatible 2 all processors must be running GNU/Linux OS 3 all processors must be connected to the network supporting the TCP/IP stack M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 5. DATE evaluation DIM evaluation First results Decision Results of the DATE evaluation It has been decided not to use DATE as a base for the new DAQ system for the following reasons [3]: it is too complex for our needs, simpler system is preferred x86 compatible hardware is required existing setup requires heavy cleanup anyway (i.e. lot of undocumented scripts in various languages) On the other hand, we should: keep the DATE data format use DIM library [2] (DCS integration) reuse some DATE components (MurphyTV, COOOL, log book system, ...) M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 6. DATE evaluation DIM evaluation First results DIM library [2] Distributed Information Management developed for the DELPHI experiment provides asynchronous one-to-many communication in a heterogeneous network environment extends the client–server paradigm by a concept of a name server (DNS) based on the TCP/IP standard C++, Java, Python interfaces available used by the DATE package, communication with DCS M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 7. DATE evaluation DIM evaluation First results DIM Name server M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 8. DATE evaluation DIM evaluation First results Comparison of C++ and Java DIM performance M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 9. DATE evaluation DIM evaluation First results Definition of the minimal run control software M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 10. DATE evaluation DIM evaluation First results Overview of the system 1 Master node wakes up slave nodes sends commands to the slaves collects health status from the slaves receives commands from the user interface application 2 Slave nodes receives commands from the master publishes health status of the slaves 3 Graphical user interface sends commands to the master node receives health status of the slaves published by the master 4 Message logger collects messages generated by the master and the slaves stores these messages into a database 5 Message browser queries the messages database M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 11. DATE evaluation DIM evaluation First results Details of the system implemented in the Qt framework configuration and messages stored in a MySQL database communication between nodes based on the DIM library only master requires DB access, it distributes the configuration to the slaves through the DIM service custom communication protocols defined some parts (waking up the slaves) implemented in the Python test runs at a “new control room” in the building 892 Gigabit Ethernet tests on 2-16 slaves (tested on current event builders) various message size (100 B-500 kB) M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 12. DATE evaluation DIM evaluation First results Results: Number of exchanged messages M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 13. DATE evaluation DIM evaluation First results Results: Transfer speed M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 14. DATE evaluation DIM evaluation First results Results: System stability M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 15. DATE evaluation DIM evaluation First results Graphical User Interface: Run control (1/2) stand alone application implemented in the QT framework DIM connection to the master node remote control multiple operators, multiple modes Run control user interface: user mode M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 16. DATE evaluation DIM evaluation First results Graphical User Interface: Run control (2/2) Run control user interface: expert mode M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 17. DATE evaluation DIM evaluation First results Graphical User Interface: Message browser M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 18. DATE evaluation DIM evaluation First results Conclusion and outlook 1 What has been done: DATE evaluation basic run control application: master node slave nodes graphical user interface MessageLogger, MessageBrowser 2 Next steps: implement reporting of errors in data finalize the description of the behaviour of the system implement the software that simulates the behaviour of the TCS controller and AMC cards documentation (!) M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system
  • 19. DATE evaluation DIM evaluation First results The bibliography T. Anticic et al. (ALICE DAQ Project): ALICE DAQ and ECS User’s Guide, CERN EDMS 616039, January 2006 C. Gaspar: Distributed Information Management System [online]. 2011. Available at: http://dim.web.cern.ch/dim/ V. Jarý: DATE evaluation. In: COMPASS DAQ meeting, Geneva, Switzerland, 29 March 2011 V. Jarý, T. Liška, M. Virius: Developing a New DAQ Software For the COMPASS Experiment. In: 37th Software Development, Ostrava: VŠB – Technická univerzita Ostrava, 2011, ISBN 978-80-248-2425-3. pp. 35–41. M. Bodlák, V. Jarý, J. Nový Software for the new COMPASS data acquisition system