University of Wisconsin at Madison

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Using tcpdump. tcpdump is a powerful tool that allows us to sniff network packets and make some statistical analysis out of those dumps. tcpdump operates.
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Process Process: the UNIX abstraction of a stand-along computer that manages resources (memory, CPU, I/O resources) comprising a running program. Processes.
Programming project #4 1 CS502 Spring 2006 Programming Project #4 Web Server CS-502 Operating Systems Spring 2006.
Control and monitoring of on-line trigger algorithms using a SCADA system Eric van Herwijnen Wednesday 15 th February 2006.
Hjemmeeksamen 1 INF3190. Oppgave Develop a monitoring/administration tool which allows an administrator to use a client to monitor all processes running.
1 James N. Bellinger University of Wisconsin-Madison CMS Week June 2010 Coordination: Things to do Coordination: James N. Bellinger CMS week 2010.
Chapter Nine The Session Layer. Objectives We’ll see how a new session is created, maintained, and dismantled. The process of logon authentication will.
C.Combaret, L.Mirabito Lab & beamtest DAQ with XDAQ tools.
ASAP RDF SGP RDF 1.2 and 1.3 Transfer of Information
Hands On UNIX II Dorcas Muthoni. Processes A running instance of a program is called a "process" Identified by a numeric process id (pid)‏  unique while.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
The Process Manager in the ATLAS DAQ System G. Avolio, M. Dobson, G. Lehmann Miotto, M. Wiesmann (CERN)
Source Controller software Ianos Schmidt The University of Iowa.
1 User guide for Muon shifter part 2 : control of LV, HV, TELL1 Preliminary version 9-July-08 (to be checked by Michela) I have simply put together the.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
1 James N. Bellinger University of Wisconsin-Madison 13 February 2008 Cocoa Plans.
Pavel Nevski DDM Workshop BNL, September 27, 2006 JOB DEFINITION as a part of Production.
CSC414 “Introduction to UNIX/ Linux” Lecture 3
Agenda Managing Processes (Jobs) Command Grouping Running jobs in background (bg) Bringing jobs to foreground (fg), Background job status (jobs) Suspending.
Agenda The Bourne Shell – Part I Redirection ( >, >>,
Markus Frank (CERN) & Albert Puig (UB).  An opportunity (Motivation)  Adopted approach  Implementation specifics  Status  Conclusions 2.
Communication thread core thread Spawn N negotiation threads... negotiation threads active inactive Initialize An Agent and Its Threads execution thread.
1 James N. Bellinger 26-Feb-2008 DCOPS DAQ Control Main DAQ Runs on Linux Data directly to Oracle Controlled via DIM Errors presented via DIM PVSS component.
1 James N. Bellinger University of Wisconsin-Madison 30 January 2008 DCOPS Software Report.
Configuring Print Services Lesson 7. Print Sharing Print device sharing is another one of the most basic applications for which local area networks were.
James Bellinger, December CMS Week Muon Alignment James N. Bellinger University of Wisconsin at Madison 5-December-2006 DCOPS Data from MTCC2.
Multiprogramming. Readings r Chapter 2.1 of the textbook.
CNC Motion BenchMill 6000 Machining Center
SQL Database Management
University of Wisconsin at Madison
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
...looking a bit closer under the hood
Process Management Process Concept Why only the global variables?
Chapter 3: Process Concept
Operating System.
Hands On UNIX AfNOG 2010 Kigali, Rwanda
Chapter 2: System Structures
20 Oct 2014: HV Trip? K. Andeen 21 Oct 2014.
Controlling a large CPU farm using industrial tools
EMU Alignment DAQ Endcap Alignment Muon Alignment EDR Feb. 28, 2002
Level 1 (Calo) Databases
More About Threads.
Vulnerability Scanning With 'lynis'
BOOTP and DHCP Objectives
Hands On UNIX AfNOG X Cairo, Egypt
University of Wisconsin-Madison
Chapter 5: Switch Configuration
University of Wisconsin at Madison
POP: Building Automation Around Secure Server Deployment
Moving Arrays -- 2 Completion of ideas needed for a general and complete program Final concepts needed for Final DMA.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Control and monitoring of trigger algorithms using Gaucho
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
CTP offline meeting 16/03/2009 A.Jusko and R.Lietava
Controlling Processes
Chapter 9 Bootloader.
First Level Incident Handling FAQ (For EAL)
Eric van Herwijnen March 10th 2005
Lab 6: Process Management
Process.
CMS Week Muon Alignment
James N. Bellinger University of Wisconsin at Madison 4 August 2010
Introduction to BIOS Prof. Shamim Ahmad Hakim
Lecture 6 Introduction to Process Management
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

University of Wisconsin at Madison DCOPS DAQ DCOPS DAQ Status James N. Bellinger University of Wisconsin at Madison 11-September-2007

DAQ Process is Finished Runs continuously on Linux Writes laser position fit data to Oracle Scope of readout governed by config DB Controllable via DIM Complete readout cycle takes about 14 minutes

Architecture Master Process Workhorse Process Laser Line Process Starts at boot Forks workhorse Sleeps, checks status If workhorse dead: Clean up and re-fork Laser Line Process Forked process Manages DIM commands Forks subprocesses Fits profiles Stores fit info in Oracle Stores error info in Oracle Shared Memory Requests Laser On/Off Forks telnet to read ports Shared Memory Telnet Telnets to terminal server port Sends commands, reads

Communications DIM Laser On/Off requests Commands to control program state Service of status and error bits Telnet Talk to terminal server, then via RS422 to DCOPS ORACLE Input initial configuration Output laser position fits Output error bits Output revised configuration if it changed

DAQ Plans Agreed procedures for DCS management and updating Additional scripts/documentation as required for the above Continue shakedown runs Move code from private repository /afs/hep.wisc.edu/user/jnb/DCOPS/CVS

Planned Changes May revamp laser profile fitting function: investigating Further gold-plating is not a priority

UN-Planned Changes Mysterious hangs during MTCC2 have not recurred, and are not understood Network contention in final environment?

PVSS Stalled Revamp DIM simulation job at UW Restart development with solid block of time

Utility Work Made available at UW root files of laser profile histograms, taken from Oracle at CERN

Short Term Analysis Plans Add new calibration info to database Test calibration code Hand-verify that this improves the fit! Code CalibDB to COCOA input

Further Info

DIM Commands ABORT kill subprocesses, kill workhorse process STOP finish current readout and then kill workhorse process HALT synonym for STOP RUN start readout loop PAUSE finish current readout and pause STANDBY synonym for PAUSE AREYOUALIVE update status service RUNONCE run readout loop once, also RUN ONCE RESET reread Oracle configuration and re-find background levels SAVEPROFILES write profiles to DB also (costs much space!) DROPPROFILES stop writing profiles to DB (default) SETDCOPSON read a DCOPS regardless of Oracle configuration SETDCOPSOFF don't read a DCOPS regardless of Oracle config

DAQ States The action states of the system are RESETTING PAUSED RUNNING HALTING But these don't reflect the direction of the system, which has a certain inertia. Two states in particular wait until the system has finished a READ cycle before kicking in: PAUSING and HALTING. The system is actually still RUNNING, but what happens next is different. The full set of system states are: RESETTING Automatically transitions to PAUSED or RUNNING depending on future decisions about configuration. (At the moment it transitions to RUNNING) PAUSED --- Allowed transitions to: RUNNING, RUNONCE, HALTING, ABORTING, RESETTING RUNNING --- Allowed transitions to: PAUSED, HALTING, ABORTING PAUSING Automatic transition to PAUSED when read completes. Allowed transition to ABORTING HALTING Automatically dies when read completes ABORTING Automatically dies RUNONCE Automatic transition to PAUSED when read completes Allowed transitions to HALTING, ABORTING