SDA- Shot Data Acquisition and Analysis Example of major applications that use the Java DAE framework Jean Slaughter Controls Review Feb 4, 2004 A success.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Remote Visualisation System (RVS) By: Anil Chandra.
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
17th February, 2000 by Maciej Korzeniowski (CERN-IT-IA-MI) 1 Oracle Discoverer Product Presentation  This is an ad hoc query and analysis tool for.
EFRONT V4 EXTENSIONS ARCHITECTURE. The goal  To offer more flexibility to 3 rd party users to modify eFront functionality  To further extend eFront.
JAS in SDA. My Experience My assignment was to use JAS to read SDA data and make plots. –I used OSDA and OSDAphysics to read SDA data. OSDA and OSDAphysics.
VxWorks Real-Time Kernel Connectivity
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Two main requirements: 1. Implementation Inspection policies (scheduling algorithms) that will extand the current AutoSched software : Taking to account.
Extensible Scalable Monitoring for Clusters of Computers Eric Anderson U.C. Berkeley Summer 1997 NOW Retreat.
File Systems and Databases
Runtime alignment system SOFTWARE DESIGN IDEAS Wed 4 th May 2005 P Coe.
The Architecture of Transaction Processing Systems
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Client/Server Grid applications to manage complex workflows Filippo Spiga* on behalf of CRAB development team * INFN Milano Bicocca (IT)
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
ACNET Alarms Brian Hendricks October 18, Alarm Types analog – simple comparison to minimum and maximum values single set of limits digital – nominal.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
Web Based Applications
Vaia Papadimitriou The Supertable (Introducing Supertable II) Run II meeting September 2, 2004 Timofei Bolshakov and Vaia Papadimitriou.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Designing a HEP Experiment Control System, Lessons to be Learned From 10 Years Evolution and Operation of the DELPHI Experiment. André Augustinus 8 February.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Performance Concepts Mark A. Magumba. Introduction Research done on 1058 correspondents in 2006 found that 75% OF them would not return to a website that.
Introduction to J2EE Architecture Portions by Kunal Mehta.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
SE: CHAPTER 7 Writing The Program
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
EGEE is a project funded by the European Union under contract IST HEP Use Cases for Grid Computing J. A. Templon Undecided (NIKHEF) Grid Tutorial,
V.Sirotenko, July Status of Online Databases Currently there are 2 online Oracle Databases running on d0online cluster: 1.Production DB, d0onprd,
Jean Slaughter -Feb 24, 2004 Shot Data Responsible for physics analysis of shot data Oversees the development of shot data analysis tools Responsible for.
Distributed Information Systems. Motivation ● To understand the problems that Web services try to solve it is helpful to understand how distributed information.
Computing Division Requests The following is a list of tasks about to be officially submitted to the Computing Division for requested support. D0 personnel.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Overview of STEP09 monitoring issues Julia Andreeva, IT/GS STEP09 Postmortem.
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
Jean Slaughter –April 5, 2004 – all experimenters’ meeting Purposes of SDA Store to store monitoring of performance Long term trends Analysis of specific.
October 2002 Jean Slaughter SDA – Shot Data Analysis Outline Description of SDA Examples Plans for 2003 SDA is a system for acquiring and analyzing data.
Fermilab February 17, 2003Recycler BPM Front-end1 Duane C. Voy
Module 9 Planning and Implementing Monitoring and Maintenance.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Observing the Current System Benefits Can see how the system actually works in practice Can ask people to explain what they are doing – to gain a clear.
EPICS and LabVIEW Tony Vento, National Instruments
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
SDA- Shot Data Analysis Jean Slaughter DOE Review July 21, 2003.
I/Watch™ Weekly Sales Conference Call Presentation (See next slide for dial-in details) Andrew May Technical Product Manager Dax French Product Specialist.
Advanced Higher Computing Science
LCLS Commissioning & Operations High Level Software
Progress Apama Fundamentals
WWW and HTTP King Fahd University of Petroleum & Minerals
Spark Presentation.
Controlling a large CPU farm using industrial tools
Software For Accelerators
Introduction to J2EE Architecture
LCLS Commissioning & Operations High Level Software
PLC / SCADA / HMI Controllers: Name : Muhammad Zunair Comsats University Date: 28-October-2018.
Technical Capabilities
MORE ON ARCHITECTURES The main reasons for using an architecture are maintainability and performance. We want to structure the software into reasonably.
PLANNING A SECURE BASELINE INSTALLATION
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

SDA- Shot Data Acquisition and Analysis Example of major applications that use the Java DAE framework Jean Slaughter Controls Review Feb 4, 2004 A success story and a cautionary tale….

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 2 What is SDA?  Correlation of a defined set of information from multiple sources at specific times during a “store”.  Information for day to day monitoring of stores  Specialized studies  Two Aspects  Acquiring and archiving the data  Using the data  Controls, Computing Division, coordinated in the Integration Department  Java DAE framework SDA is a system for acquiring, archiving and analyzing data from “stores”.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 3 D44 versus SDA  Lumberjack data  Usually fixed frequencies, can be state variable or clock event triggered.  Takes data continually  Circular buffers – data is overwritten after days. Since last April, backed up in the backup node.  Any user can modify any archive configuration  SDA data  Triggered at specific events  Only during stores*  Permanent archive  Standard content Both types are needed to do SDA analysis *store in a general sense.. There are recycler only and pbar only “stores”.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 4 Instruments Other Devices DAE jobs Database Derived Tables, Store Checker Java API - OSDA Osdaphysics API (DAE jobs) Files EXCEL, etc. Scalar, Plot Viewers – Java Web-startable programs SDAEdit Java Web startable program SDA OACs Sequencers Report Writer (Web application) (event) (destination)(source, item) SuperTable hybrid application User Programs Acquisition Analysis SDA Diagram

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 5 Comments on Data Acquisition in SDA - I  Working quite well in the current configuration.  Initially a long tail in DA times caused problems until system parameters were tuned.  Data acquisition in certain cases/sets has been staggered.  Because of this history, I worry about how close we are to system capacity. We should add many more devices, like magnet settings, readbacks.  While SDA is not “real time” in the sense of real time control, in many cases we do need to know the actual physical time of the event.  Specs on system capacity and timing are at best vague. The users have not tried to stress it.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 6 Comments on Data Acquisition in SDA - II  Consolidation is a very important part of the current implementation - multiple simultaneous requests from many sources.  Calibration database and SDA  SDA stores unscaled data because of data load.  Causes problems when the scale factors in the database change. Information from old stores gets the new scale factor..  Solution 1 – Have Brian Hendricks rescale the old data. Not good  Solution 2 – For smart front ends Change database scale factors to 1.0, offsets to 0. Apply the scale change in the front end. Supply the current scales, offsets as ACNET variables that are data logged and stored in SDA.  Vulnerable to unnoticed scale factor changes.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 7 Overview of Analysis Applications  Viewers – interactive browsers – Web startable  Reports – flexible, GUI driven method of asking for a subset of data – Browser, JSP, applet  OSDA API – Java classes to allow program access to data.  Standard analysis jobs run every store  Luminosity plot  Store checker  Derived tables  SuperTable (ntuple?), Tev subset table  Derived emittances table  Efficiency table  Variety of access implementations as we learned.  Firewall influenced designs.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 8 SDA Reports Tim Bolshakov 2/3/2004

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 9 OSDA (Offline SDA) and Osdaphysics  Original Conception of SDA  Data Acquisition via Java DAEs  SDA Edit for specifying what devices to read and when.  Viewers, Reports make files for input to EXCEL, etc.  Data from front ends can be used as is.  Experience led to OSDA, Osdaphysics  Data from front ends needs massaging. Want a single source for algorithms, including OACs.  Complex questions need direct program access to SDA data and D44 data.  Current status OSDA, Osdaphysics  Evolved from special purpose analyses where flexibility was the prime consideration. Very slow.  Now used for operations - being upgraded for speed and maintainability (clarity).

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 10 OSDA ( Offline SDA) API- Access SDA and D44 Data Tim Bolshakov 2/3/2004 D44 and SDA data

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 11 Integrated Luminosity Table

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 12 Derived Tables- Detailed Information on each Store  Table per store – built automatically  All 6 emittances  Intensities  Average and bunch by bunch information  Use best algorithms to get physics quantities  Not always available directly from front-end.  Uses OSDA, Osdaphysics  Interactive plotting interface

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 13 Supertable  One line per store  Built automatically every store  130+ quantities of general interest  Dates, time on helix, length of store  How store ended  Luminosities, intensities, lifetimes  Efficiencies at each stage from p, pbar sources to HEP  Emittances at each stage  Web Accessible – HTML, EXCEL  Used by all the bigwigs….  Hybrid implementation  Complex computations  Rebuilt as understanding changes  Adapt to broken devices

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 14 SuperTable Tim Bolshakov 2/3/2004 JSPsJSP API

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 15 Plots From Supertable – Elements of Luminosity

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 16 Monitoring SDA itself  Complex system – lots of places for things to wrong  Front ends – instrumentation, MADCs, break  DAQ process itself Node down Hung process Sequencer mistakes etc.  Problems in the analysis code  Needs constant monitoring  Error logs from SDA OACs  Store checker  User complaints

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 17 Store Checker  Purpose  Monitor instrumentation and DAQ  Monitor accelerator performance  Checks SDA data for specified cases/sets  Min < device value < max  Min < ( difference in time of 2 devices ) < max  Min < ( difference in value of 2 devices) < max  Jobs run automatically every store  “Standard” and “private” lists  Results on WWW for “standard” list  Lists on WWW  Used to give notification of initial luminosities

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 18 Java is a Good Thing  Easy to learn – and all the school kids learn it. No memory management headaches.  Java Web Start programs make maintaining and deploying code much easier.  Platform independent, so moving to new faster machines is easy.  Easy WWW integration – really important for access given firewalls.  Lots of tools for human interfaces  Division into client side and server side code makes it easy to spread the load, but you can lose this advantage in communications overhead if not careful.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 19 Java is a Bad Thing  Speed – particularly if you don’t think about it in advance.  Poor tools for interactive scientific graphing and fitting.  Packages like Origin7 and Mathematica don’t have suitable Java interfaces.  There is a learning curve, even if it is relatively short.

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 20 Access to Front End Data  All of the intelligent front ends like SBD, flying wires, FBI, synclite, need access to the raw data for detailed study to develop and understand the algorithms. This means ways of getting and storing the raw data. ( Eugene Lorman’s talk.)  This is really important!

SDA- Jean Slaughter – Feb 4, 2004 – Controls Review 21 Lessons  SDA is a success, but the system is very complicated. It is very time consuming to keep on top of things.  Java is a good thing.  Our understanding of needs change – need flexibility and extensibility.  More data and more compute capability is ( almost always ) useful in ways we never anticipated.  Still lacking information in SDA and analysis tools  Tunes, chromaticities  More magnet settings, readbacks  BPM and orbit analysis tools