Dave Morrison, CHEP, February 7, 2000 What we’re doing Why we’re doing it What we’ve learned by doing it PHENIX Offline Computing David Morrison Brookhaven.

Slides:



Advertisements
Similar presentations
Object Persistency & Data Handling Session C - Summary Object Persistency & Data Handling Session C - Summary Dirk Duellmann.
Advertisements

Ch:8 Design Concepts S.W Design should have following quality attribute: Functionality Usability Reliability Performance Supportability (extensibility,
STAR C OMPUTING STAR Overview and OO Experience Torre Wenaus STAR Computing and Software Leader Brookhaven National Laboratory, USA CHEP 2000, Padova February.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
O. Stézowski IPN Lyon AGATA Week September 2003 Legnaro Data Analysis – Team #3 ROOT as a framework for AGATA.
Objectivity Data Migration Marcin Nowak, CERN Database Group, CHEP 2003 March , La Jolla, California.
Reconstruction and Analysis on Demand: A Success Story Christopher D. Jones Cornell University, USA.
Data Management for Physics Analysis in PHENIX (BNL, RHIC) Evaluation of Grid architecture components in PHENIX context Barbara Jacak, Roy Lacey, Saskia.
1 Objectives To introduces the concept of software Design. To introduce the concept of Object- Oriented Design (OOD). To Define various aspects about object.
Magda – Manager for grid-based data Wensheng Deng Physics Applications Software group Brookhaven National Laboratory.
1 An introduction to design patterns Based on material produced by John Vlissides and Douglas C. Schmidt.
Mass RHIC Computing Facility Razvan Popescu - Brookhaven National Laboratory.
Python Introduction.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
L3 Filtering: status and plans D  Computing Review Meeting: 9 th May 2002 Terry Wyatt, on behalf of the L3 Algorithms group. For more details of current.
2/10/2000 CHEP2000 Padova Italy The BaBar Online Databases George Zioulas SLAC For the BaBar Computing Group.
STAR C OMPUTING ROOT in STAR Torre Wenaus STAR Computing and Software Leader Brookhaven National Laboratory, USA ROOT 2000 Workshop, CERN February 3, 2000.
Introduzione al Software di CMS N. Amapane. Nicola AmapaneTorino, Aprile Outline CMS Software projects The framework: overview Finding more.
DCS Overview MCS/DCS Technical Interchange Meeting August, 2000.
The GlueX Collaboration Meeting October 4-6, 2012 Jefferson Lab Curtis Meyer.
Central Reconstruction System on the RHIC Linux Farm in Brookhaven Laboratory HEPIX - BNL October 19, 2004 Tomasz Wlodek - BNL.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Architectural Design l Establishing the overall structure of a software system.
Irina Sourikova Brookhaven National Laboratory for the PHENIX collaboration Migrating PHENIX databases from object to relational model.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
An Overview of PHENIX Computing Ju Hwan Kang (Yonsei Univ.) and Jysoo Lee (KISTI) International HEP DataGrid Workshop November 8 ~ 9, 2002 Kyungpook National.
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
Jerome Lauret RCF Advisory Committee Meeting The Data Carousel what problem it’s trying to solve the data carousel and the grand challenge the bits and.
Architectural Design Yonsei University 2 nd Semester, 2014 Sanghyun Park.
9 February 2000CHEP2000 Paper 3681 CDF Data Handling: Resource Management and Tests E.Buckley-Geer, S.Lammel, F.Ratnikov, T.Watts Hardware and Resources.
5 May 98 1 Jürgen Knobloch Computing Planning for ATLAS ATLAS Software Week 5 May 1998 Jürgen Knobloch Slides also on:
NOVA Networked Object-based EnVironment for Analysis P. Nevski, A. Vaniachine, T. Wenaus NOVA is a project to develop distributed object oriented physics.
ALICE, ATLAS, CMS & LHCb joint workshop on
PHENIX and the data grid >400 collaborators Active on 3 continents + Brazil 100’s of TB of data per year Complex data with multiple disparate physics goals.
CS 346 – Chapter 2 OS services –OS user interface –System calls –System programs How to make an OS –Implementation –Structure –Virtual machines Commitment.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
Behavioural Design Patterns Quote du jour: ECE450S – Software Engineering II I have not failed. I've just found 10,000 ways that won't work. - Thomas Edison.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
Online Databases General Functions Database Categories Tools Conditions & Configurations DB Technical Issues Activities of Interest & Need R. Jeff Porter.
PHENIX Simulation System 1 January 12, 2000 Simulation: Status for VRDC Tarun Ghosh, Indrani Ojha, Charles Vanderbilt University.
PHENIX and the data grid >400 collaborators 3 continents + Israel +Brazil 100’s of TB of data per year Complex data with multiple disparate physics goals.
STAR C OMPUTING Plans for Production Use of Grand Challenge Software in STAR Torre Wenaus BNL Grand Challenge Meeting LBNL 10/23/98.
STAR Conditions Database What is it? Tools Conditions DB API Beyond Conditions Technical Issues Activities of General Interest R. Jeff Porter 1/31/98 STAR.
PHENIX Off-line Computing System PEP The PHENIX Event Processor The PHENIX Collaboration presented by S. P. Sorensen University of Tennessee at CHEP97.
Computing R&D and Milestones LHCb Plenary June 18th, 1998 These slides are on WWW at:
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
STAR C OMPUTING Introduction Torre Wenaus BNL May ‘99 STAR Computing Meeting BNL May 24, 1999.
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.
Andrea Valassi (CERN IT-DB)CHEP 2004 Poster Session (Thursday, 30 September 2004) 1 HARP DATA AND SOFTWARE MIGRATION FROM TO ORACLE Authors: A.Valassi,
General requirements for BES III offline & EF selection software Weidong Li.
The ATLAS DAQ System Online Configurations Database Service Challenge J. Almeida, M. Dobson, A. Kazarov, G. Lehmann-Miotto, J.E. Sloper, I. Soloviev and.
Summary of User Requirements for Calibration and Alignment Database Magali Gruwé CERN PH/AIP ALICE Offline Week Alignment and Calibration Workshop February.
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
Overview of PHENIX Muon Tracker Data Analysis PHENIX Muon Tracker Muon Tracker Software Muon Tracker Database Muon Event Display Performance Muon Reconstruction.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
1/30/2003 Los Alamos National Laboratory1 A Migration Framework for Legacy Scientific Applications  Current tendency: monolithic architectures large,
The HADES Oracle database and its interfaces for experimentalists Ilse Koenig, GSI Darmstadt for the HADES collaboration.
PHENIX Simulation System 1 September 8, 1999 Simulation Work-in-Progress: ROOT-in-PISA Indrani Ojha Banaras Hindu University and Vanderbilt.
Elements of LCG Architecture Application Architecture Blueprint RTAG 8 th June 2002 P. Mato / CERN.
Barthélémy von Haller CERN PH/AID For the ALICE Collaboration The ALICE data quality monitoring system.
(on behalf of the POOL team)
CMS High Level Trigger Configuration Management
The ZEUS Event Store An object-oriented tag database for physics analysis Adrian Fox-Murphy, DESY CHEP2000, Padova.
POOL persistency framework for LHC
OO-Design in PHENIX PHENIX, a BIG Collaboration A Liberal Data Model
Star Online System Claude A. Pruneau, Mei-li Chen, Adam Kisiel, and Jeff Porter CHEP 2000, Padova, Italy.
Simulation and Physics
Physics data processing with SOA
Use of GEANT4 in CMS The OSCAR Project
Presentation transcript:

Dave Morrison, CHEP, February 7, 2000 What we’re doing Why we’re doing it What we’ve learned by doing it PHENIX Offline Computing David Morrison Brookhaven National Laboratory

Dave Morrison, CHEP, February 7, 2000 a word from our sponsors... large collaboration (>400 physicists) large, complex detector –~300,000 channels –11 different detector subsystems large volume of data, large number of events –20 MB/sec for 9 months each year –10 9 Au+Au events each year broad physics program –partly because RHIC itself is very flexible –Au+Au at GeV/A, spin polarized p+p, and everything in-between –muons, electrons, hadrons, photons

Dave Morrison, CHEP, February 7, 2000 from the PHENIX photo album DPM, in hardhat

Dave Morrison, CHEP, February 7, 2000 the eightfold way of PHENIX offline computing know your physics program –for PHENIX, event processing rather than event selection know your constraints –money, manpower... and tape mounts avoid “not invented here” syndrome: beg, borrow, collaborate –doesn’t automatically imply use of commercial products focus on modularity, interfaces, abstract base classes viciously curtail variety of architecture/OS –Linux, Solaris data management and data access are really hard problems –don’t rely on fine-grained random access to 100’s of TB of data everyone has their favorite reference works... –Design Patterns (Gamma et al) run-time aggregation, shallow inheritance trees –The Mythical Man-Month (Brooks) avoid implementation by committee

Dave Morrison, CHEP, February 7, 2000 building blocks small group of “core” offline developers –M. Messer, K. Pope, M. Velkovsky, M. Purschke, D. Morrison, (M. Pollack) large number of computer-savvy subsystem physicists –recruitment via “help wanted” list of projects that need people PHENIX object-orented library, PHOOL (see talk by M. Messer) –object-oriented analysis framework analysis modules all share common interface –type-safe, flexible data manager extensive use of RTTI, avoids (void *) casts by users ROOT I/O used for persistency –“STL” operations on collection of modules or data nodes varied OO views on analysis framework design –ranging from passive data to “event, reconstruct thyself” –PHOOL follows a hybrid approach migrated to PHOOL from STAF in early 1999 –no user code modified (~120,000 LOC)

Dave Morrison, CHEP, February 7, 2000 more blocks lots of physics-oriented objects in PHENIX code –geometry, address/index objects, track models, reconstruction file catalog –metadata management, tracks related files, tied in with run info DB “data carousel” for retrieving files from HPSS –retrieval seen as group-level activity (subsystems, physics working groups) –carousel optimizes file retrieval, mediates resource usage between groups –scripts on top of IBM-written batch system event display(s) –very much subsystem-centered efforts; all are ROOT-based –clearly valuable for algorithm development and debugging –value for PHENIX physics analysis much less clear GNU build system, Mozilla-derived recompilation (poster M. Velkovsky) –autoconf, automake, libtool, Bonsai, Tinderbox, etc. –capable, robust, widely used by large audience on variety of platforms –feedback loop for code development

Dave Morrison, CHEP, February 7, 2000 databases in PHENIX Objectivity used for “archival” database needs –Objy used in fairly “mainstream” manner all Objy DBs are resident online (not storing event data) –autonomous partitions, data replicated between counting house, RCF –RCF (D. Stampf) ported Objy to Linux PdbCal class library aimed at calibration DB application –insulates typical user from Objectivity –objects stored with validity period, versioning –usable interactively from within ROOT mySQL used for other database applications –Bonsai, Tinderbox system uses mySQL –heavily used in “data carousel”

Dave Morrison, CHEP, February 7, 2000 simplified data flow Objectivity federated DB calibrations & conditions counting house disk NFS disk analysis farm HPSS

Dave Morrison, CHEP, February 7, 2000 subclasses of abstract “Eventiterator” class used to read raw data –from online pool, file, or fake test events - user code unchanged online control architecture based on CORBA “publish-subscribe” Java used in counting house for GUIs, CORBA subsystem reconstruction code uses STL, design patterns –not unusual to hear “singleton”, “iterator” at computing meetings OO emerging out of subsystems faster than from core offline crew OO ubiquitous, mainstream in PHENIX

Dave Morrison, CHEP, February 7, 2000 OO experiences no Fortran in new post-simulation code –sidestepped many awkward F77/C++ issues, allowed OO to permeate loosely coupled, short hierarchy design working well –information localization on top of information encapsulation –allows decoupled, independent development no formal design tools, but lots of cloudy chalkboard diagrams –usually just a few interacting classes social engineering as important as software engineering –OO not science-fiction, not difficult... and it’s here to stay –lots of hands-on examples, people are usually pleasantly surprised

Dave Morrison, CHEP, February 7, 2000 more OO experiences OO was oversold (not by us!) as a computing panacea –does make big computing problem tractable, not trivial –occasional need for internal “public-relations” cognizance of “distance” between concepts advocated by developers and those held by users –e.g., CORBA IDL a great thing; tough to sell to collaboration at-large takes time and effort to “get it”, to move beyond “F77++” –general audience OO and C++ tutorials have helped –also work closely with someone from each subsystem - helps the OO “meme” take hold

Dave Morrison, CHEP, February 7, 2000 summary PHENIX computing is essentially ready for physics data –use of PHOOL proven very successful during “mock data challenge” ObjectivityDB is primary database technology used throughout PHENIX reasonably conventional file-oriented data processing model loosely coupled, shallow hierarchy OO design –common approach across online and offline computing several approaches to recruiting, stretching scarce manpower –deliberate, explicit choice by collaboration to move to OO –recruit manpower from detector subsystems –loosely coupled OO design aids loosely coupled development OO has slowed implementation, but has been indispensable for design PHENIX will analyze physics data because of OO, not in spite of it