University of Wisconsin at Madison

Slides:



Advertisements
Similar presentations
I/O Organization popo.
Advertisements

Categories of I/O Devices
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Programming project #4 1 CS502 Spring 2006 Programming Project #4 Web Server CS-502 Operating Systems Spring 2006.
CS-3103 & CS-502, Summer 2006 Programming Project #31 Programming Project #3 Web Server CS-3103 & CS-502 Operating Systems.
BASIC Stamp Editor Once installed, the Stamp Editor will be available on your desktop, and as a menu option under Start  Program Files  Parallax Inc.
CS 470 Lab 5 Comment your code. Description of Lab5 Create Four projects – Driver – Producer – Filter – Consumer.
MICROPROCESSOR INPUT/OUTPUT
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
1 James N. Bellinger University of Wisconsin-Madison 27-November-2009 Status of Transfer Line Reconstruction James N. Bellinger 27-November-2009.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Source Controller software Ianos Schmidt The University of Iowa.
November 11 SESAPS 2006 Samir Guragain 1 Calibration, Installation & Commissioning of Sensors for the Alignment of Muon Endcap Chambers in the CMS Experiment.
Chamber Alignment Pins Δy = y PG – y nom. vs. Δx = x PG – x nom. M. Hohlmann 1, G. Baksay 1, S. Guragain 1, J. Bellinger 2, D. Carlsmith 2, F. Feyzi 2,
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 2, 2005 I/O through system calls Protection.
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 James N. Bellinger University of Wisconsin-Madison 13 February 2008 Cocoa Plans.
Mindstorm NXT-G Introduction Towson University Robotics.
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 ( >, >>,
1 James N. Bellinger Robert Handler University of Wisconsin-Madison 11-Monday-2009 Laser fan non-linearity James N. Bellinger 20-March-2009.
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.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
James Bellinger, December CMS Week Muon Alignment James N. Bellinger University of Wisconsin at Madison 5-December-2006 DCOPS Data from MTCC2.
SPiiPlus Training Class
University of Wisconsin at Madison
Introduction to Operating Systems
Module 12: I/O Systems I/O hardware Application I/O Interface
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Chapter Objectives In this chapter, you will learn:
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Operating Systems (CS 340 D)
Input/Output.
EMU Alignment DAQ Endcap Alignment Muon Alignment EDR Feb. 28, 2002
Applied Operating System Concepts
CSCI 315 Operating Systems Design
Sasha Popov November 16, 2018 iRobot Create.
Status of Transfer Line Reconstruction University of Wisconsin-Madison
Transfer Line and CSC Rφ Reconstruction
Sensors and Logic Switches
Status of Transfer Line Reconstruction University of Wisconsin-Madison
DCOPS Readout before and during MTCC
DCOPS Monitoring of Iron Bending
University of Wisconsin at Madison
I/O Systems I/O Hardware Application I/O Interface
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
University of Wisconsin-Madison
University of Wisconsin-Madison
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
University of Wisconsin-Madison
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
University of Wisconsin-Madison
Status of Transfer Line Reconstruction University of Wisconsin-Madison
University of Wisconsin-Madison
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CMS Week Muon Alignment
University of Wisconsin at Madison
Chapter 13: I/O Systems.
University of Wisconsin-Madison
Exceptions and networking
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

University of Wisconsin at Madison DCOPS Readout James N. Bellinger University of Wisconsin at Madison 27-February-2007 DCOPS Readout System

Overview 60 Lasers 36 Lines 276 DCOPS sensors (504 combinations of DCOPS and laser) 2 Terminal servers using 16 ports each Serial readout from each DCOPS We need to read out the entire profile and fit it

Core activities Read and fit the profiles Store in database for each readout Fit results Raw profiles (for offline analysis) Error information Store in database for the run or as updated Configuration: which DCOPS were read out

Communications Make errors available to DCS via DimServer Use Dim commands to control the lasers Accept control from DCS via DIM commands HALT: exit program when subprocesses end ABORT: kill subprocesses and exit program (bug) RUN: switch from paused to running status STANDBY: switch from running to paused status SETDCOPSON: Include selected DCOPS to be read SETDCOPSOFF: Exclude this DCOPS from readout

Comments I assume the default startup state is RUN The SETDCOPSON and SETDCOPSOFF commands change the readout configuration, and that change will have to be logged. The current plan is to directly serve only errors and configuration information to DCS. DCS monitoring gets fits and profiles from the database on as-requested basis, not continuously.

Typical “Station” Y Three SLM lines with 10 DCOPS each, and PT 2 Three SLM lines with 10 DCOPS each, and 6 DCOPS for the Transfer lines (which have 12 DCOPS along the Z direction PT 3 PT 1 X PT 4 PT 6 “Radial” SLM DCOPS “Axial” transfer line DCOPS PT 5

Typical “Station” Y X Terminal Server PT 2 PT 3 PT 1 All the DCOPS in a designated region are read out on a single port of the terminal server. This includes the Transfer Line DCOPS. Only one process at a time can communicate with a terminal server port. PT 4 PT 6 “Radial” SLM DCOPS “Axial” transfer line DCOPS PT 5

A different typical “Station” Terminal Server PT 2 PT 3 PT 1 X Different “stations” read out on different ports. We can read out different “stations,” like ME+2 and ME+3, in parallel. PT 4 PT 6 “Radial” SLM DCOPS “Axial” transfer line DCOPS PT 5

Transfer Line issues Y X Terminal Server PT 2 PT 3 PT 1 A Transfer Line uses a DCOPS from each “station” along the line, and thus uses a port that an SLM line also uses. The readout of Transfer Lines cannot happen at the same time as the readout of SLM lines. PT 4 PT 6 “Radial” SLM DCOPS “Axial” transfer line DCOPS PT 5

Organization 12 “Stations:” 8 are EndCap with SLMs 4 are central MABS Read out the 8 EndCap “Stations” in parallel Have to read out the SLM lines in a “station” in turn, since they use the same ports To avoid reflections, only one laser on at a time in a “station” Then read out the 6 Transfer Lines

Lowest Level Action Execute a set of shell commands and read back the results in a pipe: Example (sleep .2; echo 52TT; sleep .5; echo 52CC; sleep 4; echo 52CG; sleep 5; echo BRK; echo exit) | telnet cmsatsplus.cern.ch 7001 Telnet to terminal server port 1 and accept the following input commands Wait briefly for server to catch up Send command to wake up DCOPS address 52 Wait briefly Send command to DCOPS to read CCDs Wait several seconds Send command to DCOPS to send the background subtracted profiles Send terminal server break Exit the port connection The output from this pipe is passed to the calling routine.

Second Level Action Turn on a laser for an SLM (reply not checked yet!) Send “group” sample and hold command on both ports Loop over DCOPS on SLM sending requests for data Turn off laser, turn on the other, and repeat

Third Level Action Loop over SLM's at a “station” Fork a second level process to read an SLM. Set a timer and kill the fork if it times out. Return data in shared memory

Fourth Level Action Loop over endcap “stations” Fork a third level process to read a “station.” Set a timer and kill the fork if it times out. As data is returned, interleave fitting with waiting When all data is fit, return

Top Level Action Default is to loop forever over the following: Call the routine to read all SLMs Call the routine to read all Transfer Lines Tag all data with a timestamp and store fits and errors and compressed profiles in Oracle If standby is requested, sleep and check for change If halt is requested, exit the program

Status On a 2.4 GHz P4 with local MySQL, a readout cycle in my testbed takes 15 minutes. I believe this is realistic. Writing profile and error blobs to MySQL works, not tested on Oracle yet DimService of error bits works The DIM abort command leaves stray processes around Configuration for minus side not created yet Run configuration needs to be read from and written back to Oracle