Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.

Slides:



Advertisements
Similar presentations
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Advertisements

Lectures on File Management
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Backing Up a Hard Disk CGS2564. Why Backup Programs? Faster Optimized to copy files Can specify only files that have changed Safer Can verify backed up.
Case Tools Trisha Cummings. Our Definition of CASE  CASE is the use of computer-based support in the software development process.  A CASE tool is a.
Archive Systems What you always wanted to know but were afraid to ask: What’s available? Who’s doing what? PAL EPICS Meeting Oct
Distributed Processing, Client/Server, and Clusters
Operating Systems: Software in the Background
NLC - The Next Linear Collider Project Lee Ann Yasukawa 05/25/99 NLC Archiving Requirements (Preliminary)
The sequence of folders to a file or folder is called a(n) ________.
Reusability and Portability Chapter 8 CSCI Reusability and Portability  The length of the development process is critical.  No matter how high.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
Computer Software.
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
Introducing JavaBeans Lesson 2A / Slide 1 of 30 JDBC and JavaBeans Pre-assessment Questions 1.Which of the given symbols is used as a placeholder for PreparedStatement.
Measuring zSeries System Performance Dr. Chu J. Jong School of Information Technology Illinois State University 06/11/2012 Sponsored in part by Deer &
Tanenbaum 8.3 See references
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Elements of a Computer System Dr Kathryn Merrick Thursday 4 th June, 2009.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
Channel Archiver Introduction 2006
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 14 Windows XP Professional 1.
Chapter 4 System Software.
Online Systems Status Review of requirements System configuration Current acquisitions Next steps... Upgrade Meeting 4-Sep-1997 Stu Fuess.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 Chapter 1 Introduction to Computer Science.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
Software Software consists of the instructions issued to the computer to perform specific tasks. –The software on a computer system refers to the programs.
Outline 3  PWA overview Computational challenges in Partial Wave Analysis Comparison of new and old PWA software design - performance issues Maciej Swat.
Integrating Acquired Subsystems Bob Dalesio 11/29/98.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
External Storage Primary Storage : Main Memory (RAM). Secondary Storage: Peripheral Devices –Disk Drives –Tape Drives Secondary storage is CHEAP. Secondary.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Configuring Data Protection Chapter 12 powered by dj.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Memory: Relocation.
GLAST Science Support CenterJuly, 2003 LAT Ground Software Workshop Status of the D1 (Event) and D2 (Spacecraft Data) Database Prototypes for DC1 Robert.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Copyright 2007, Information Builders. Slide 1 Machine Sizing and Scalability Mark Nesson, Vashti Ragoonath June 2008.
Capacity Planning - Managing the hardware resources for your servers.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
Processes 2 Introduction to Operating Systems: Module 4.
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
MINIX Presented by: Clinton Morse, Joseph Paetz, Theresa Sullivan, and Angela Volk.
Data Aging - Euthanasia Bob Dalesio. Data Management - Channel Data Allow recovery of unused data space Allow selective delete of channels Allow selective.
Chapter 13: Query Processing
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
An Overview of Using ESC|StackStudio This presentation is an overview of using the ESC|StackStudio tool in managing your StackVision Configuration.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Microsoft Virtual Academy Module 9 Configuring and Managing the VMM Library.
Lesson 9: SOFTWARE ICT Fundamentals 2nd Semester SY
Oracle Solaris Zones Study Purpose Only
Systems Software Keywords Operating Systems
OPERATING SYSTEMS.
Operating System Review
Distributed File Systems
Distributed File Systems
Distributed File Systems
Channel Archiver Kay-Uwe Kasemir, LANL
Virtualization and Persistence
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
Distributed File Systems
Distributed File Systems
Presentation transcript:

Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99

Outline Performance numbers for the data storage and retrieval. Disk Utilization Numbers Current Archiver Use User Interface for operation and data viewing Code Structure Data Managemente Conclusions

Performance Numbers - Archiving These tests were performed on a 450 MHz Pentium. 500 channels changing at 10 Hz and written every 15 seconds uses 20% of the CPU time during collection and 100% of the CPU time for 5 seconds while writing to disk. 1,000 channels changing at 10 Hz and written every 15 seconds uses 100% of the CPU continually, but allows the status viewer to run, but more slowly.

Performance - Retrieval The retrieval tests were done in two stages. –1) The data file was from the previous 12 months – The data was in over 1,000 files (early files were made every 4 hours). – These files contained over 3 Gbytes –2) The data was compressed and started from June 1st – There were only 3 files - 1 per month. – These files were 1.3 Gbytes The retrieval tests were performed on a Sun Ultra 1 running Solaris.

Performance Numbers - Retrieval from over 1,000 files # RFQHR_KDvrInRfl_1_sig: 09/01/99 2 (0.07) 09/01/99 00:00: /01/99 11 (0.19) 08/02/99 12:43: /01/99 6 (0.19) 07/01/99 06:35: /01/99 9 (0.27) 06/01/99 12:40: /01/99 18 (0.25) 05/03/99 17:28: /01/99 15 (0.36) 04/05/99 08:10: /01/99 85 (1.12) 03/02/99 09:59: /01/99 98 (1.02) 02/01/99 11:46: /01/99 48 (1.1) 01/04/99 09:25: /01/98 63 (1.16) 12/10/98 09:31: /01/98 58 (1.13) 11/02/98 09:40: /01/98 1 (0.04) 10/21/98 11:04: # RFQHR_KCirRfl_3_sig: 09/01/99 1 (0.12) 09/01/99 00:00: /01/99 5 (0.12) 08/02/99 12:42: /01/99 47 (0.29) 07/01/99 06:34: /01/99 45 (0.49) 06/01/99 12:37: /01/99 21 (0.45) 05/03/99 17:27: /01/99 28 (0.67) 04/05/99 08:09: /01/99 41 (0.87) 03/02/99 10:00: /01/99 42 (0.76) 02/01/99 11:44: /01/99 43 (0.82) 01/04/99 09:25: /01/98 56 (1.07) 12/01/98 15:08: /01/98 48 (1.03) 11/02/98 09:40: /01/98 1 (0.06) 10/21/98 11:04: # RFQLR_HPM_K3_Lvl06: 03/15/99 12:05: /09/99 02:57: /01/99 2 (0.12) 09/01/99 00:00: /01/99 6 (0.13) 08/02/99 15:19: /01/99 3 (0.1) 07/01/99 12:44: /01/99 1 (0.07) 06/11/99 15:04: /01/99 0 (0.07) 05/03/99 17:27: /01/99 3 (0.14) 04/06/99 14:09: /01/99 0 (0.05) 03/15/99 12:05: # rp_bp_diag_07_ilock.A: 03/16/99 09:39: /09/99 09:22: /01/99 0 (0.05) 09/02/99 15:29: /01/99 0 (0.07) 08/05/99 07:02: /01/99 1 (0.08) 07/03/99 20:33: /01/99 1 (0.09) 06/11/99 15:03: /01/99 0 (0.08) 05/01/99 14:31: /01/99 1 (0.07) 04/01/99 09:58: /01/99 0 (0.05) 03/16/99 09:39: # RFQHR_KFilRmp_1_sig: 10/21/98 11:04: /09/99 09:22: /01/99 1 (0.07) 09/01/99 07:59: /01/99 3 (0.14) 08/02/99 12:43: /01/99 2 (0.09) 07/01/99 06:35: /01/99 4 (0.15) 06/01/99 12:40: /01/99 1 (0.07) 05/03/99 17:28: /01/99 4 (0.2) 04/05/99 08:10: /01/99 3 (0.14) 03/02/99 09:59: /01/99 1 (0.14) 02/01/99 11:46: /01/99 2 (0.12) 01/04/99 09:25: /01/98 2 (0.15) 12/10/98 09:31: /01/98 0 (0.11) 11/02/98 09:40: /01/98 0 (0.06) 10/21/98 11:04:

Performance Numbers - Retrieval from 3 files # RFQLR_HPM_D14A_FldCvt.VALA: 09/01/99 0 (0.18) 09/01/99 00:00: /01/99 0 (0.05) 08/02/99 15:19: /01/99 0 (0.06) 07/01/99 12:44: /01/99 1 (0.06) 06/12/99 15:31: # RFQHR_KFilRmp_1_sig: 09/01/99 0 (0.05) 09/01/99 07:59: /01/99 0 (0.05) 08/02/99 12:43: /01/99 0 (0.06) 07/01/99 06:35: /01/99 0 (0.05) 06/01/99 12:40: # RFQWTR_A23H_slope_S: 09/01/99 0 (0.07) 09/01/99 07:58: /01/99 0 (0.06) 08/02/99 13:03: /01/99 0 (0.05) 07/01/99 07:07: /01/99 0 (0.05) 06/02/99 10:36: # RFQWTR_WVF_B_RPM: 09/01/99 0 (0.28) 09/01/99 00:00: /01/99 0 (0.13) 08/02/99 13:03: /01/99 0 (0.13) 07/01/99 07:07: /01/99 0 (0.05) 06/02/99 10:36: # rp_bp_rf_08_ilock.A: 09/01/99 0 (0.05) 09/02/99 15:29: /01/99 1 (0.06) 08/05/99 07:02: /01/99 0 (0.05) 07/03/99 20:33: /01/99 0 (0.04) 06/11/99 15:03: # RFQHR_KDvrInRfl_1_sig: 08/01/99 0 (0.13) 08/02/99 12:43: /01/99 1 (0.25) 07/01/99 06:35: /01/99 0 (0.04) 06/01/99 12:40: # RFQHR_KCirRfl_3_sig: 09/01/99 0 (0.14) 09/01/99 00:00: /01/99 0 (0.07) 08/02/99 12:42: /01/99 0 (0.16) 07/01/99 06:34: /01/99 1 (0.04) 06/01/99 12:37: # RFQLR_HPM_K3_Lvl06: 09/01/99 0 (0.13) 09/01/99 00:00: /01/99 0 (0.08) 08/02/99 15:19: /01/99 0 (0.06) 07/01/99 12:44: /01/99 0 (0.05) 06/11/99 15:04: # rp_bp_diag_07_ilock.A: 09/01/99 0 (0.06) 09/02/99 15:29: /01/99 0 (0.05) 08/05/99 07:02: /01/99 0 (0.05) 07/03/99 20:33: /01/99 0 (0.04) 06/11/99 15:03: # RFQHR_KCthV_2_sig: 09/01/99 0 (0.18) 09/01/99 00:00: /01/99 1 (0.11) 08/02/99 12:42: /01/99 0 (0.11) 07/01/99 06:33: /01/99 0 (0.06) 06/01/99 12:38:00.000

Performance - Retrieval Retrieval on the second set of data was always within one second and therefore not an issue. Retrieval from the first set was always reasonable for the first month - under 2 seconds of elapsed time. Retrieval over longer periods became unacceptable for some portion of the test and then improved as more tests were done. Perhaps we received more dedicated resources - perhaps the file structure had some problems - we do not understand the results yet. As shown in previous tests - it is better to have fewer files.

Disk Utilization Files are created every user configured period specified in hours. Perhaps this should have been expressed in days. Within a file, the first buffer allocated will hold 64 samples, if this fills the second holds 256 samples and all subsequent buffers will hold 1,024 samples. The compression utility moves the data into one month files (currently hard- coded) and allocates buffers that contain up to 4,000 samples. The data buffers are sized to fit the data exactly. Every sample contains the value, time stamp, status and severity - nothing is done to save disk space.

User Interfaces to the Archiver User interfaces are required for control and status from the Archiver as well as archive data viewing. The first pass of the Archiver had an X windows user interface that was managed in the main line of the code. The limitations of this approach are that the Archiver cannot be started on a machine until the window system is available and this structure does not support management from multiple workstations. The first archive data viewer (XARR from Jlab) is also X based and calls the retrieval library directly. The utility is UNIX based and requires that the disks containing the archive data be mounted. Approaches were considered to provide network support for archive engine management and data viewing.

Alternatives Studied

Data Management Screens

Data Viewing Screens

Code Structure Rewritten in C++ Data and Channel Iterator Classes allow storage and retrieval code to share the same base class. The viewing and extraction tools shown here use the iterator class and XARR is expected to convert to use it soon. New data stores, like a relational database, could be used by replacing the Data and Channel Iterators. The data taking engine and retrieval tools would all be reusable for this alternative data storage.

Code Structure - Use the Iterator Class

Data Management Currently there is a utility that allows a user to split an archive file. The split utility compresses data by reducing the files to one every 3 months (could easily be configurable) and it compresses multiple data buffers for (64, 256, 1024) into buffers of 4,000 samples. True data management is required to all selective data winnowing and algorithmic compression. This work is expected to be completed in the next 12 months. Supporting statistical compression would require significant changes all tools as each sample currently has just one value - need to allow for mean, median, standard deviation etc….