SLC-Aware IOC Review 2 Cluster Status and Test Service Feb 23, 2005

Slides:



Advertisements
Similar presentations
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
Advertisements

Thursday, June 08, 2006 The number of UNIX installations has grown to 10, with more expected. The UNIX Programmer's Manual, 2nd Edition, June, 1972.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
Phones OFF Please Processes Parminder Singh Kang Home:
The Programming Interface. Main Points Creating and managing processes – fork, exec, wait Performing I/O – open, read, write, close Communicating between.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Operating Systems.
Introduction to Processes CS Intoduction to Operating Systems.
MIPS I/O and Interrupt. .data val1:.float 0.6 val2:.float 0.8 msg_done:.asciiz "done\n".text.globl main main: li.s $f0, mfc1 $a0, $f0 jal calsqrt.
BA372 Stored Procedures and Triggers Lab. What needs to be done to change a customer’s credit limit? Who am I? May I? Do it Log it Display A database.
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
DEBUGGING EPICS APPLICATIONS Bob Dalesio and Rozelle Wright February 10, 1997.
H.-H. S. Lee 1 ECE3055 Computer Architecture and Operating Systems Lecture 10 Process, Thread Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
Debbie Rogind Nov 11, 2004 SLC Aware IOC Database Service Design.
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
EPICS and LabVIEW Tony Vento, National Instruments
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
CSC414 “Introduction to UNIX/ Linux” Lecture 3
Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
Operating System Concepts
Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
Stephanie Allison LCLS IOC Meeting Jul 18, 2008, Jan 21, 2011 Beam Synchronous Acquisition for IOC Engineers Definition/Requirements.
Stephanie Allison Software Mar 2, 2006 IOC Applications Host Applications Directory Structure Environment Setup Issues.
Chapter 1: Introduction
MIPS I/O and Interrupt.
Lesson Objectives Aims Key Words Interrupt, Buffer, Priority, Stack
Tech Guide B: The Details of Software
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
Chapter 1: Introduction
LCLS Timing Software and Plan
Chapter 3: Processes.
Tarek Abdelzaher Vikram Adve Marco Caccamo
Chapter 1: Introduction
Chapter 1: Introduction
MIPS I/O and Interrupt.
Chapter 1: Introduction
Event Displays for EVR IOCs
SLC Executive Message Service
SLC Aware IOC BSAC* Facility Design Review July 14, 2005
LCLS Event System - Software
EPICS IOCs – Relational DB
Tools.
Chapter 1: Introduction
Unit 1: Introduction to Operating System
Functions of an operating system
COMPUTER PERIPHERALS AND INTERFACES
Tools.
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Basic Instruction Cycle
SLC-Aware IOC Magnet Functional Requirments
Beam Synchronous Acquisition on IOC
Chapter 1: Introduction
EVG-to-EVR Data Transfer (Dayle Kotturi)
Nominal Technologies for Modelling and High Level Applications of LCLS
Chapter 1: Introduction
SLC-Aware IOC Magnet Functional Requirements
III. Operating System Structures
Presentation transcript:

SLC-Aware IOC Review 2 Cluster Status and Test Service Feb 23, 2005 Introduction Functional Requirements (Stephanie) CSTR Service Design (Ron) ASYNC Utilities Design (Ron)

SLC Alpha IOC Unix Workstation SCP Users Micro n Forward Browser Error Database Forward Browser Error SCP SCP SCP DBGen, Install DBEX CMLOG Server SLC Linux Proxy NFS Replies Requests DB Msgs Acks Console Users IOC Message Database CMLOG Client SLC IOC Interface SLC Exec SLC Resources IOC Shell SLC Micro n CA Users IOC n Data Base EPICS Device Control Timing Diags EPICS Resources Gated ADC Acq Cluster Status HW

SLC-Aware IOC Definitions Job – set of tasks that perform similar functions MSG, DB, CSTR (TEST), TIME, MGNT, BPMO, IOC (PROXY) Usually access unique primaries Handle objects/devices with similar controls interface One task (Hdlr) handles Alpha requests Another task (Async) does periodic updates “Job” is also referred to as “Service” or “Task Groups” Some jobs include a set of utilities used by other jobs Function – job action Hdlr task performs the job’s function codes: 0xAABB where AA identifies job and BB identifies action Async task performs the job’s “cycling” functions: Defined by name in CSTR CNAM Hdlr task will do a subset of Async’s functions

Cluster Status and Test (CSTR) Service Process Messages with the TEST Function Code TEST_EXISTENCE – from PARANOIA TEST_ECHO and TEST_ECHO_MWORD TEST_ERR_METER_RESET - later Also IOC_STOP – from SLC exec At init and exit, logs availability change messages Update of CSTR Supertype 3 Secondaries Periodically and during TEST message processing Includes active job check Later - periodic update of diagnostic EPICS PVs ASYNC Utilities

CSTR Periodic Update Functions Initialization – update database: SLC startup (“micro IPL”) timestamp - set to the IPL request timestamp Job availability bit mask – set based on task active flags Zero unused CSTR secondaries used for CAMAC, unsupported functions CHK1 – update database for all job functions: Timestamps - last Alpha DB update, last execution Elapsed time – delta time to execute function Job availability bit mask CHK2 – update database for all job functions: Counters - # executions, # times Alpha DB update failed (reset after update finished) Percentages - % executions with successful Alpha DB update, % executions triggered by Alpha request CHK3 – later – update EPICS diagnostic PV CPUM – update CPU and memory usage in database with values from EPICS PVs

CSTR Supertype 1 Secondaries

CSTR Supertype 2 Secondaries

CSTR Supertype 3 Secondaries

ASYNC Utilities Job function table initialization - called by DB job right after database download Wait for cycling function to be ready – called by Async tasks Update the Alpha database with metering for an input function and update statistics in the table – called by both Hdlr and Async tasks Update other statistics for an input function – called by both Hdlr and Async tasks Copy timestamps and elapsed time from tables to the database – called by CSTR Hdlr and Async tasks Calc, copy, and reset statistics from tables to the database – called by CSTR Async task

IOC Shell Routines Write async function tables for an input, optional job name to the console. Change the value of CYCL, MTRC, MTRL, or MAXT (supertype 1 data) in the async function table and the database for an input job and function name (dbedit-equivalent).