![Page 1: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/1.jpg)
1KEK seminar, 2007/10/15
Ichiro SuzukiPPD/EPP/CMS
Fermi National Accelerator Laboratory
KEK Seminar, 2007/10/15
CMS DAQ Online Frameworks,XDAQ + RCMS
![Page 2: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/2.jpg)
2KEK seminar, 2007/10/15
Contents
IntroductionXDAQ: Online application framework
User applicationMessagingTools
RCMS: Configuration and control frameworkControl structureBack-end services
Status/summary
![Page 3: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/3.jpg)
3KEK seminar, 2007/10/15
LHC
A machine for Higgs and beyond.
Beam Energy: 7TeVCircumference: 26.7kmLuminosity: 1034cm-2s-1
#Bunches: 2835p/bunch: 1.1x1011
![Page 4: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/4.jpg)
4KEK seminar, 2007/10/15
CMS Experiment
One of four experiments at LHC36 nations, 169 institutions, 2300 scientists'Compact' Muon Solenoid - ½ the size of Atlas
![Page 5: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/5.jpg)
5KEK seminar, 2007/10/15
CMS Data Acquisition System
Two stages designLevel-1: synchronous/hardwareHLT: asynchronous/PC-farm
~700 inputs, 1MB/event
![Page 6: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/6.jpg)
6KEK seminar, 2007/10/15
CMS DAQ System (cont'd)
Sliced architecture'Slice': 1/8 of the DAQFactorizing scaling problemStaged installation:4 slices in 2008
![Page 7: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/7.jpg)
7KEK seminar, 2007/10/15
Online Frameworks
XDAQ:Online FW
RCMS:Control FW
CMSSW:Offline FW
FED/Trig
EVB
HLT
XDAQ
CMSSW
RC
MS
![Page 8: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/8.jpg)
8KEK seminar, 2007/10/15
XDAQ
CMS online software framework in C++.(Configuration, messaging, event handling...)It's a toolkit, too.(FSM, threads, logging, monitoring...)Extensive use of XML for configuration/messagingBoth fast-binary and slow-XML communicationsScalable: from small test stand to the CMS DAQ.First tagged release in 2000.J. Gutleber and L. Orsini�� � �� � ��� �� � � �� �� �� � � � �
![Page 9: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/9.jpg)
9KEK seminar, 2007/10/15
XDAQ: User Applications
XDAQ user application is a collection of call-back functions,typically attached with FSM transitions.Applications run on distributed platforms
Host
Exec
App
Host
Exec
App App
Host
Exec
App
Exec
App
Host
Exec
App
Same application, different configuration
![Page 10: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/10.jpg)
10KEK seminar, 2007/10/15
XDAQ: Message Types
Flexible choices of message typeBinary I2O messages: fast, efficientXML(SOAP-on-HTTP): slow, flexibleHTTP/HTML: easy
data: I2O
control: SOAP
UI: HTTP
![Page 11: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/11.jpg)
11KEK seminar, 2007/10/15
XDAQ
XDAQ: Peer-Transport
Pluggable abstraction layer of variousnetworking medium
I2O: TCP, aTCP, Myrinet, FIFOSOAP/HTML: HTTP
e.g., Application code doesn't change when you switch from Ethernet to Myrinet.
App
pt
XDAQApp
pt
![Page 12: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/12.jpg)
12KEK seminar, 2007/10/15
XDAQ: I2O Messages
I2O header format was adopted for CMS useBinary data formatIn XDAQ,
used to pass data fragmentsapplications can register call-backs for �� � � �� �� � �� � �
![Page 13: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/13.jpg)
13KEK seminar, 2007/10/15
XDAQ: SOAP Messages
W3C standard to send information in XMLMostly used on HTTPSynchronous protocolMany libraries/parsers availableIn XDAQ;
Send a command (w/ arguments)Get/set application's parametersWS-eventing for error-report / monitoring
![Page 14: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/14.jpg)
14KEK seminar, 2007/10/15
Command Message
SOAP message drives application's call-back.Xerces-C based SOAP library to help users.
POST / HTTP/1.1SOAPAction: \ urn:xdaq-application:lid=18...<soap:Envelope ...> <soap:Body> <xdaq:MyCommand ... <arguments ... /> <xdaq:MyCommand/>...
App::App(...) { xoap::bind(this, App::F, "MyCommand", ...);}
... App::F(...) { - do something -}
![Page 15: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/15.jpg)
15KEK seminar, 2007/10/15
Parameter Access
'Exported' parameters are accessedvia SOAP messages.
class App { xdata::String mode; xdata::Integer count;}...App::App(...) { fireItemAvailable( "mode", &mode); fireItemAvailable( "count", &count);}
<soap:Body> <xdaq:ParameterGet ... <App:properties> <mode type="string"... <count type="integer"......
![Page 16: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/16.jpg)
16KEK seminar, 2007/10/15
WS-Eventing
XML based publish/subscribe messaging.Clients sends messages to a server.Server distributes messages to subscribers.In XDAQ,
used for monitoring andexception propagationserver: in-house developmenthelper applications to feed parameters or exceptions to the WS-E system
![Page 17: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/17.jpg)
17KEK seminar, 2007/10/15
Monitoring Scheme
Monitoring information 'table' is sent to WS-eventing server as a SOAP message with binary attachment (type-tagged XDR).Clients subscribes to the server, with XPath query.
server
dashboard pulser
sensorreport
subscribe report
trigger
application
![Page 18: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/18.jpg)
18KEK seminar, 2007/10/15
Exception Handling Scheme
C++ exception handling inside applications.'Notified' to the WS-E system.Client (typically, upper levelcontroller) receivesexception SOAPmessages.
application
server
sentinel
client
report
report
report
} catch (xcept::Exception e) { notifyQualified("fatal", e); }
application
![Page 19: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/19.jpg)
19KEK seminar, 2007/10/15
XDAQ: Data Types
Serializable data objectsSimple types and container typesSerializable to XML or type-tagged XDR.
Used in,Application's exported parameters.Contents of monitor report.
Boolean, Integer, Long, Integer32, Integer64,UnsignedInteger, UnsignedInteger32, UnsignedInteger64,UnsignedShort, UnsignedLong, Float, Double, Timeval, Bag, Vector, Table, Properties, Mime
![Page 20: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/20.jpg)
20KEK seminar, 2007/10/15
XDAQ: Configuration by XML
Sending 'Configuration' XML to the platform (executive) loads applications dynamically.
<x:Partition ...> <x:Context url=”... <x:Application class="App" <x:Application class="App" <x:Module>libApp.so</... </x:Context> <x:Context url=”... <x:Application class="App" <x:Module>libApp.so</... </x:Context></x:Partition>
Host
Exec
App App
Exec
App
![Page 21: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/21.jpg)
21KEK seminar, 2007/10/15
XDAQ: Miscellaneous Tools
Web interface: HyperDAQFinite State MachineLoggingWorker threadService discovery via SLPHelper applications... and a lot more ...
![Page 22: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/22.jpg)
22KEK seminar, 2007/10/15
XDAQ: HyperDAQ
Enables users to access applicationswith Web browsersBinding HTML call-backs to URLs
App::App(...) { xgi::bind(this, App::Page, "Page"); }
... App::Page(...) { - write out HTML - - using cgicc - }
![Page 23: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/23.jpg)
23KEK seminar, 2007/10/15
XDAQ: Finite State Machine
In general, behavior of control applications are understood in a finite state machine model.User can bind XDAQ application functionsto FSM state transitions.Typically, combined with SOAP call-backs.
Command FSMAppInput
Call-back
ReturnTransition
ReplyFinished
![Page 24: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/24.jpg)
24KEK seminar, 2007/10/15
XDAQ: Logging
log4cplus: C++ library compatible with log4jUsing TTCC format everywhereCustom made appenders, XML and UDPConfigurable by the application configuration file,as well as on-the-fly (log level).
<x:Application ... <properties> <logUrl type="string">xml:server:9998</ <logLevel type="string">DEBUG</
applicationchainsaw
local file
![Page 25: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/25.jpg)
25KEK seminar, 2007/10/15
Use Case – Event Builder
PC farm interconnected by a big GbE switch.Input side: ~60 PCs with Myrinet cardsOutput side: O(102) PCs~600 XDAQ applications in the current setupS. Murray�� � �� � � � ���� � �� � � �� � � �� �� �� �� �� � � �
![Page 26: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/26.jpg)
26KEK seminar, 2007/10/15
Use Case – HCAL Test Beam DAQ
Java stand-alone GUIto control XDAQ applications.Stand-alone event builder using same I2O messages as CMS EVB→ Switching to CMS EVB for combined runs (Muon, ECAL)Used also for commissioning, test benches and beam tests of other small detectors.J. Mans
![Page 27: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/27.jpg)
27KEK seminar, 2007/10/15
RCMS
Run Control and Monitor SystemConfiguration and control framework for CMSwritten in JavaFunction Manager: node of the control tree
Flexible structure forProviding concrete DAQ-subdetector interface
Uniform configuration DB for everyoneFirst release in 2004.A. Oh, A. Petrucci, M. Gulmini et.al.�� � �� � � � �� � � �� �� �� � � � �� � �� ! �" �# ! �
![Page 28: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/28.jpg)
28KEK seminar, 2007/10/15
RCMS: Control Structure
Tree of Function Managers and XDAQ applicationsSub-detectors provide level-1 FMs
FM
FM FM
FM XDAQ
XDAQ XDAQ
XDAQ
Level-0
Level-1
![Page 29: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/29.jpg)
29KEK seminar, 2007/10/15
RCMS: Services
Security: user accountResource: configurationInfo & Monitor:status/messagesJob control:start/stopapplications
![Page 30: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/30.jpg)
30KEK seminar, 2007/10/15
RCMS: Technologies
Axis: Web service frameworkTomcat: Application containerOracle/MySQL: Database
DB
Services
RCMS Axis
Tomcat
FMFMFM
![Page 31: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/31.jpg)
31KEK seminar, 2007/10/15
RCMS: Function Manager
Input HandlerEvent ProcessorFSMResource Proxy'Resources': FM, XDAQ, JobControl, etc.
InputHandler
EventProcessor
FSMEngine
ResourceProxy
Function Manager
Resources
monitor flowcontrol flowstate flowerror flowcustomizable
![Page 32: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/32.jpg)
32KEK seminar, 2007/10/15
RCMS: Configuration DB
Resource Service 3: DAQ configuration DB
RS3 Manager tool
RS3
RS API
DAQ Configuratorfeatures
Fexible schema
Java API to R/W in RS3
Configuration documents can be built on the fly from relational schema
Versioning configuration system
Oracle and MySQL Compatible
![Page 33: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/33.jpg)
33KEK seminar, 2007/10/15
RCMS: Configuration Tools
DAQ ConfiguratorTool for central DAQ group: for large scale system.Can be used both graphically or programmatically.
![Page 34: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/34.jpg)
34KEK seminar, 2007/10/15
RCMS: Configuration Tools (cont'd)
Resource Service ManagerReads XML configuration files and stores into the DBGUI
define structurechange parametersorganize in foldersassociate withglobal key
![Page 35: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/35.jpg)
35KEK seminar, 2007/10/15
RCMS: Logging
Based on log4j messages.'LogCollector' for distributed systems (GridCC project)Chainsaw for user I/F'LogDBViewer' for stored logsJMS for messaging
$ PublishSubscriber System
Display System
Storage System
Log Collector
Relational DBOracle,MySQL
Message System
Access via JDBC
Access via TCP
RCMS applications and XDAQ
applications
![Page 36: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/36.jpg)
36KEK seminar, 2007/10/15
RCMS: GUI
JSP based GUISelection of sub-detector / part of sub-detectorUsed for >1 year
![Page 37: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/37.jpg)
37KEK seminar, 2007/10/15
RCMS: Miscellaneous Tools
XDAQ Command / Parameter accessThread poolParallel/asynchronous communicationsGeneral message receiver + dispatchfor non-RCMS entities.additional DBs
run number managementrun-related user information
![Page 38: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/38.jpg)
38KEK seminar, 2007/10/15
Interfacing XDAQ-RCMS
Most of the messaging is on SOAP→ Easy to handle in Java (RCMS)
Commands/Parameters: interfacing libraryLogging: log4j compatible XML schemaExceptions: mutual agreement on the schema(planned)Monitoring: mutual agreement on the schema + interfacing library (to handle binary format)(on-going work)
![Page 39: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/39.jpg)
39KEK seminar, 2007/10/15
Operations: Global Runs
MTCC on surface in 2006.Global runs every month since May 2007.
Real muon triggers, all components timed-inStill ~3% of the readout. (no Tracker)
Good for software integration and prioritizetask list.Cosmic run in Nov.
All detectors?
![Page 40: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/40.jpg)
40KEK seminar, 2007/10/15
Operations: Testing
Testing is important in a complex system,like CMS DAQ.Many components have unit tests.Most of the components havesemi-automated functionality tests.Developers uses test clusters for acceptance tests.Test clusters are also used to test integrated systems.There are dedicated librarians + integration testers.Still, a few new problems show upin every global runs ...
![Page 41: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/41.jpg)
41KEK seminar, 2007/10/15
Operations: Testing (cont'd)
Test clusters with various scale/purposeSmall: R&D cluster
Full chain of 8(FED)-8(RU)-8(BU)-8(FU)
Medium: Surface integration clusterEVB-FU farm test of 16(RU)-64(BU+FU)Used also for surface cosmic-ray tests
Large: Production systemCurrently, 2-slice worth (~600 PCs)Used for global runs
![Page 42: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/42.jpg)
42KEK seminar, 2007/10/15
Status / Outlook
Use of framework for all the online softwarereduces user's effort.defines interfaces among components.
Use of open-standard/open-source productsreduces development effort.makes integration easier.
CMS online frameworks are used uniformly in the experiment.Further improvements are foreseen as the production system approaches nominal scale. CMS DAQ is (almost) ready for the beam runs.
![Page 43: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/43.jpg)
43KEK seminar, 2007/10/15
Summary
XDAQextensive use of XML → flexible, easy integrationextensive use of 'open-source' productsall necessary functionalities for DAQ,including fast/slow messaging and utilitiesused by CMS DAQ + all the sub-detectors
RCMSextensive use of Web technologiesflexible configurationplug-and-play integration with sub-detectors
![Page 44: CMS DAQ Online Frameworks, XDAQ + RCMSrd.kek.jp/slides/20071015/ichiro-071015.pdfCMS online frameworks are used uniformly in the experiment. Further improvements are foreseen as the](https://reader034.vdocument.in/reader034/viewer/2022050104/5f4295fd92276021d74432e3/html5/thumbnails/44.jpg)
44KEK seminar, 2007/10/15
Summary (cont'd)
Integration going well, systems are stableXDAQ + RCMScentral DAQ + sub-detectors
Problem areasDeployment scheme / Scalabilityfound slowly, solved slowly but steadily.
Interactions with users are important.Provide all the functionality, or users start their own development.Quick turn-around time is a key to improve the framework.