Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ – the New Lujan Center Data Acquisition Application Frans Trouw, Gary.

Slides:



Advertisements
Similar presentations
--- IT Acumens. COMIT Acumens. COM SNMP Project. AIM The aim of our project is to monitor and manage the performance of a network. The aim of our project.
Advertisements

VxWorks Real-Time Kernel Connectivity
June 19, 2002 A Software Skeleton for the Full Front-End Crate Test at BNL Goal: to provide a working data acquisition (DAQ) system for the coming full.
Data Acquisition System for 2D X-Ray Detector Beijing Synchrotron Radiation Facility (BSRF) located at Institute of High Energy Physics is the first synchrotron.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
DAQ WS03 Sept 2006Jean-Sébastien GraulichSlide 1 Interface between Control & Monitoring and DDAQ o Introduction o Some background on DATE o Control Interface.
VC Sept 2005Jean-Sébastien Graulich Report on DAQ Workshop Jean-Sebastien Graulich, Univ. Genève o Introduction o Monitoring and Control o Detector DAQ.
Software Issues Derived from Dr. Fawcett’s Slides Phil Pratt-Szeliga Fall 2009.
Course Instructor: Aisha Azeem
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
User Interface Design Chapter 11. Objectives  Understand several fundamental user interface (UI) design principles.  Understand the process of UI design.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Computer System Architectures Computer System Software
Optical Anchor / Interferometer Status: June, 2004 Josef Frisch.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
RTEMS overview W. Eric Norum Introduction RTEMS is a tool designed specifically for real-time embedded systems The RTEMS product is an executive.
Artdaq Introduction artdaq is a toolkit for creating the event building and filtering portions of a DAQ. A set of ready-to-use components along with hooks.
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
CMAQ Runtime Performance as Affected by Number of Processors and NFS Writes Patricia A. Bresnahan, a * Ahmed Ibrahim b, Jesse Bash a and David Miller a.
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.
Component Technology. Challenges Facing the Software Industry Today’s applications are large & complex – time consuming to develop, difficult and costly.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
L3 DAQ the past, the present, and your future Doug Chapin for the L3DAQ group DAQ Shifters Meeting 26 Mar 2002.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Slide 1 LANL-stor and the Challenges of Evolutionary Development Managing.
Eugenia Hatziangeli Beams Department Controls Group CERN, Accelerators and Technology Sector E.Hatziangeli - CERN-Greece Industry day, Athens 31st March.
DISTRIBUTED COMPUTING. Computing? Computing is usually defined as the activity of using and improving computer technology, computer hardware and software.
An Architecture and Prototype Implementation for TCP/IP Hardware Support Mirko Benz Dresden University of Technology, Germany TERENA 2001.
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.
DEPARTEMENT DE PHYSIQUE NUCLEAIRE ET CORPUSCULAIRE JRA1 Parallel - DAQ Status, Emlyn Corrin, 8 Oct 2007 EUDET Annual Meeting, Palaiseau, Paris DAQ Status.
L3 DAQ Doug Chapin for the L3DAQ group DAQShifters Meeting 10 Sep 2002 Overview of L3 DAQ uMon l3xqt l3xmon.
Paul Scherrer Institut 5232 Villigen PSI CHEP 2006 in Mumbay / / Matthias Schneebeli ROME CHEP 2006 Presented by Matthias Schneebeli a universally.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Software Design Lecture What’s Design It’s a representation of something that is to be built. i.e. design  implementation.
DoE Review January 1998 Online System WBS 1.5  One-page review  Accomplishments  System description  Progress  Status  Goals Outline Stu Fuess.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
DAQ Status & Plans GlueX Collaboration Meeting – Feb 21-23, 2013 Jefferson Lab Bryan Moffit/David Abbott.
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
1 DAQ.IHEP Beijing, CAS.CHINA mail to: The Readout In BESIII DAQ Framework The BESIII DAQ system consists of the readout subsystem, the.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
Background Computer System Architectures Computer System Software.
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
R. Michaels, JLAB PREX Mtg, July 2008 Compton DAQ (General) Remaining experts : Sirish Nanda, Alexandre Camsonne, me Recent Exercises Port to vxWorks 5.5.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Gu Minhao, DAQ group Experimental Center of IHEP February 2011
BaBar Transition: Computing/Monitoring
Business System Development
Hands-On Microsoft Windows Server 2008
Smart Ethernet I/O P2P and GCL Introduction
Overview Introduction VPS Understanding VPS Architecture
Outline Chapter 2 (cont) OS Design OS structure
EPICS: Experimental Physics and Industrial Control System
The Performance and Scalability of the back-end DAQ sub-system
Presentation transcript:

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ – the New Lujan Center Data Acquisition Application Frans Trouw, Gary Cooper and Paul Lewis Lujan Center, Los Alamos National Laboratory

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Outline Brief Overview of Lujan Center Description of hardware Existing data acquisition application (LOS) Issues with LOS (reminder, see Paul’s talk) Guiding principles for new application (LDAQ) Overview of existing new LDAQ application Experiences with LDAQ (good!) Summary

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Data Acquisition at the Lujan Center - hardware Detectors are all 3 He gas tubes or area detectors Pre-amps at detectors generate a differential signal Custom “Time-of-Flight” boards take differential input and convert into events in a buffer VME (VXI) crate with single board computer collects events from TOF units

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Overview of Hardware Configuration Detector & Preamp CPU ROC TOF CPU ROC TOF CPU ROC TOF T0 from accelerator Private DAQ Network 100Mbit/s DAQ Host PC Windows Chopper EPICS IOC VXI Crates VME Crate Processors VxWorks "Public" LANL Network 100Mbit/s LANSCE Facility EPICS Gateway Data Archive PC Panels CPU ROC TOF CPU ROC TOF CPU ROC TOF CPU ROC TOF CPU ROC TOF CPU ROC TOF CPU ROC TOF T0 from accelerator Private DAQ Network 100Mbit/s DAQ Host PC Windows XP Remote access Chopper EPICS IOC VXI Crates VME Crate Processors VxWorks "Public" LANL Network 100Mbit/s LANSCE Facility EPICS Gateway Data Archive PC Controls PC Sample Environments

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Crate contains SBC, ROC module, and 1-11 TOF units TOF unit ROC module SBC To Detectors

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LOS Development Methodology Domain: class diagram, class diagram, state charts, state charts, action language action language Domain: class diagram, class diagram, state charts, state charts, action language action language Domain X: class diagram, class diagram, state charts, state charts, action language action language “Model compiler”: templates templates generation scripts (rules) generation scripts (rules) Source code generator Build “Model compiler”: run-time library run-time library Imported software Source file Build script Executable Executable Executable

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D xtUML is in principle attractive High level description generates consistent code and less errors Extending or changing model generates new code that takes into account interdependencies Less hand-coding => less manpower Quality is consistent and assured

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D xtUML has Significant Drawbacks Requires the desire to think at a very high level of abstraction – requires expert Not all of the code can be generated Highly dependent on message passing The community using xtUML is very small (< 100 at SMUG) - “early adopters” Only available for Windows Debugging next to impossible!

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D xtUML – communication risky? Message passing (MP) is critical to xtUML MP is done using Windows message queues or sockets A single communication failure kills the whole system VxWorks 5 network stack obsolete Windows network stack documentation limited (being generous here)

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LOS move to Linux – MP problems! As Windows is so opaque and a single user environment, xtUML system libraries were ported to Linux Communication was implemented using a typical client server model (TCP/IP sockets) Linux and VxWorks 5 network stacks are incompatible

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ “design principles” VXI crate LDAQ processes should be independent entities – fault tolerant No “host” computer controlling task Minimal code base Homogenous and state of the art operating system environment Open source preferred – transparency, quality & cost

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D What is LDAQ? Threw out all of LOS except hand coded pieces that do VME communication Moved VXI CPU’s from VxWorks to Linux “Host” computer is Linux Wrote a minimal application that integrates the VME calls – about 1 month of effort LDAQ runs independently as a user application on each VXI crate

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ visual description LDAQ MySQL (on host) ROC module TOF units 20 Hz Local Network Computer LANL Trigger Start Stop Ready Data

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ benefits versus LOS Code can be changed and recompiled in seconds using Eclipse (> 1/2h for LOS) LDAQ failure on any VXI crate does not affect others – can be restarted Remote cross-debugging using gdb successful Linux is a true multi-user system (security) Open source – no licensing costs

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Single Event and Histogram LDAQ does single event “out of the box” – temporary NFS limitations Single event -> large amount of data, use only when useful LOS histograms implemented in LDAQ “Live data” transfer call implemented Defined “time-focusing” histogram – e.g. live GSAS coming very soon!

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Experience with LDAQ Pharos has run LDAQ for most of this year – only failures were power cuts! HIPD and more recently HIPPO are successfully using LDAQ with legacy scripting LDAQ is a user application; changing SBC’s is straightforward (e.g. PPC -> Intel) – cost, effort Restart takes seconds Infrequent/development VME bus “hangs” now limiting reliability

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Why is LDAQ successful? Each VXI crate is an independent agent – does not know about others No controlling task Minimal features, implement bells and whistles externally (e.g. run timing) Linux is robust and transparent Keep it simple!

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ development - observations Exclusively using Linux - economical (up front and manpower) – cultural challenges Does require significant Linux expertise MySQL straightforward, robust & free Agile development, develop features as needed – requires IS collaboration Close collaboration between physical and computer scientists

Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D LDAQ - future LDAQ development is essentially done! Documentation Needs external setup & control scripts Scripting – leave to IS, provide, or port existing control scripts? Integration with slow controls – EPICS Visualization toolkit Real time analysis