KID - KLOE Integrated Dataflow

Slides:



Advertisements
Similar presentations
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
Advertisements

Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
MAP REDUCE PROGRAMMING Dr G Sudha Sadasivam. Map - reduce sort/merge based distributed processing Best for batch- oriented processing Sort/merge is primitive.
Department of Computer Science and Engineering University of Washington Brian N. Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
SYSTEM PROGRAMMING & SYSTEM ADMINISTRATION
Extensibility, Safety and Performance in the SPIN Operating System Presented by Allen Kerr.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
Lab#1 (14/3/1431h) Introduction To java programming cs425
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
A. Frank - P. Weisberg Operating Systems Introduction to Tasks/Threads.
1 I/O Management in Representative Operating Systems.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Modern Concurrency Abstractions for C# by Nick Benton, Luca Cardelli & C´EDRIC FOURNET Microsoft Research.
SSI-OSCAR A Single System Image for OSCAR Clusters Geoffroy Vallée INRIA – PARIS project team COSET-1 June 26th, 2004.
Disco : Running commodity operating system on scalable multiprocessor Edouard et al. Presented by Jonathan Walpole (based on a slide set from Vidhya Sivasankaran)
Extensibility, Safety and Performance in the SPIN Operating System Ashwini Kulkarni Operating Systems Winter 2006.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab.
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
9 February 2000CHEP2000 Paper 3681 CDF Data Handling: Resource Management and Tests E.Buckley-Geer, S.Lammel, F.Ratnikov, T.Watts Hardware and Resources.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Disco : Running commodity operating system on scalable multiprocessor Edouard et al. Presented by Vidhya Sivasankaran.
CHEP 2000: 7-11 February, 2000 I. SfiligoiData Handling in KLOE 1 CHEP 2000 Data Handling in KLOE I.Sfiligoi INFN LNF, Frascati, Italy.
Characteristics of the Database Approach (Difference between traditional file processing and database approach) Redundancy Self-Describing nature of a.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.
The BaBar Prompt Reconstruction Manager: a Real Life Example of a Constructive Approach to Software Development. Francesco Safai Tehrani Istituto Nazionale.
September 2007CHEP 07 Conference 1 A software framework for Data Quality Monitoring in ATLAS S.Kolos, A.Corso-Radu University of California, Irvine, M.Hauschild.
1 Java Servlets l Servlets : programs that run within the context of a server, analogous to applets that run within the context of a browser. l Used to.
Jabber Technical Overview Presenter: Ming-Wei Lin.
M. Accetta, R. Baron, W. Bolosky, D. Golub, R. Rashid, A. Tevanian, and M. Young MACH: A New Kernel Foundation for UNIX Development Presenter: Wei-Lwun.
Online Monitoring for the CDF Run II Experiment T.Arisawa, D.Hirschbuehl, K.Ikado, K.Maeshima, H.Stadie, G.Veramendi, W.Wagner, H.Wenzel, M.Worcester MAR.
Claudio Grandi INFN-Bologna CHEP 2000Abstract B 029 Object Oriented simulation of the Level 1 Trigger system of a CMS muon chamber Claudio Grandi INFN-Bologna.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
General requirements for BES III offline & EF selection software Weidong Li.
Designing a Middleware Server for Abstract Database Connection.
CASTOR project status CASTOR project status CERNIT-PDP/DM October 1999.
Chapter – 8 Software Tools.
Simplifying Customer Software Integration Tim Myers April 9 th, 2011 Colorado Undergraduate Space Research Symposium Payload Configuration GUI.
SAM projects status Robert Illingworth 29 August 2012.
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Introduction to Operating Systems Concepts
Introduction to threads
Software and Communication Driver, for Multimedia analyzing tools on the CEVA-X Platform. June 2007 Arik Caspi Eyal Gabay.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Done By: Ashlee Lizarraga Ricky Usher Jacinto Roches Eli Gomez
Web Development Web Servers.
Complex Geometry Visualization TOol
GWE Core Grid Wizard Enterprise (
C Language VIVA Questions with Answers
Presentation by Omar Abu-Azzah
G.Manduchi1, T.Fredian2⁾, J.Stillerman2⁾, A. Neto3), F. Sartori3)
NCAR-Developed Tools Bill Anderson and Marc Genty
Conditions Data access using FroNTier Squid cache Server
Linternals SysInternals for Linux
#01 Client/Server Computing
Design and Maintenance of Web Applications in J2EE
VISUAL BASIC.
Module 01 ETICS Overview ETICS Online Tutorials
OO-Design in PHENIX PHENIX, a BIG Collaboration A Liberal Data Model
Multithreaded Programming
AIMS Equipment & Automation monitoring solution
MATERI PL/SQL Procedures Functions Packages Database Triggers
Why Threads Are A Bad Idea (for most purposes)
Why Threads Are A Bad Idea (for most purposes)
Why Threads Are A Bad Idea (for most purposes)
MapReduce: Simplified Data Processing on Large Clusters
#01 Client/Server Computing
Presentation transcript:

KID - KLOE Integrated Dataflow Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KLOE Data Flow Online disk Memory Tape library DB Detector Offline disk Staging disk Beijing, CHEP 2001 Presented by Sfiligoi Igor

KLOE Software Environment Online monitors Reconstruction processes Analysis programs Beijing, CHEP 2001 Presented by Sfiligoi Igor

KLOE Software Environment Online monitors Memory buffers Reconstruction processes Files on online disks Analysis programs Files on staging disks For debugging purposes Local files Copied on demand Beijing, CHEP 2001 Presented by Sfiligoi Igor

KID (KLOE Integrated Dataflow) Makes applications data-source independent Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID package C library No kernel changes needed Only adapted applications can use it Mimics standard stream operations open/get/close functions Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID package (cont.) Also provided FORTRAN interface A_C input module Most analysis programs are based on A_C Totally transparent to final user Beijing, CHEP 2001 Presented by Sfiligoi Igor

merge:ybos:file1,ybos:file2,ybos:file3 Data Source Section URI – based All KLOE data sources are accessible New can be added if needed ybos:myfile spy:/tmp/B_1_1 merge:ybos:file1,ybos:file2,ybos:file3 Beijing, CHEP 2001 Presented by Sfiligoi Igor

URI advantages serial:port1 remote:ybos:myfile@mynode Very flexible Defining a new protocol section, a new data source can be accessed without modifi- cations to the application serial:port1 Different data sources can be combined inside the same URI remote:ybos:myfile@mynode Very flexible Easily extensible Fairly easy to learn and remember Simple text string Human readable dbdatarec:run_nr=16932 and stream_code=‘rad’ Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID Internals C library Modular Each protocol(data source) implemented in a different module Function pointers used to execute the right code, once the protocol has been parsed C++ or other OO language not used in order to be more general Multi-threading concurrency managed in the core module Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID modules Local resource modules Remote resource module Data handling interfaced module Support modules Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID modules Local resource modules A file ybos:filename?options A memory buffer spy:buffername?options Remote resource module Data handling interfaced module Support modules Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID modules Local resource modules Remote resource module Any remote resource remote:URI@node?options Uses a KID-specific multithreaded daemon to export resources from the nodes Data handling interfaced module Support modules Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID modules Local resource modules Remote resource module Data handling interfaced module SQL query-based db:SQL-query?options Files obtained from the query are requested to the data handling system Frequently used shortcuts dbTYPE:where-part-of-a-SQL-query?options Support modules Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor KID modules Local resource modules Remote resource module Data handling interfaced module Support modules Merge several sources in one merge:(URI1,…,URIn)?options Find first available source try:(URI1,…,URIn)?options Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor Creating new modules Free text URI parameter gives plenty of flexibility Several text parsing functions are part of the KID library Modular structure Minimal source code overhead Developer can work on real problems Beijing, CHEP 2001 Presented by Sfiligoi Igor

Presented by Sfiligoi Igor Conclusions KID is now used in all the production and most of the analysis applications Allows access to ALL KLOE data sources After a short initial introduction period, now used profitably by almost all KLOE members Beijing, CHEP 2001 Presented by Sfiligoi Igor