Object Database for Constants: The common CLEO Online and Offline solution - PowerPoint PPT Presentation

About This Presentation
Title:

Object Database for Constants: The common CLEO Online and Offline solution

Description:

Title: On the way to maturity - The CLEO III Data Acquisition and Control System Author: Hubert Schwarthoff, Cornell University Last modified by – PowerPoint PPT presentation

Number of Views:113
Avg rating:3.0/5.0
Slides: 17
Provided by: HubertSch
Category:

less

Transcript and Presenter's Notes

Title: Object Database for Constants: The common CLEO Online and Offline solution


1
Object Database for Constants The common CLEO
Online and Offline solution
  • Hubert Schwarthoff
  • Cornell University

With N. Adam, S. Lee Cornell University, USA
2
Contents
  • CLEO III / CLEO-c
  • CLEO software The Constants database
  • The Constants system redesign
  • Experiences

3
Introduction
  • CLEO III until 2003 Y(2,3,4,5S), etc
  • Crystal E.M. calorimeter
  • Tracking drift chamber
  • Muon chambers
  • RICH
  • SVX
  • CESR-c Charm factory
  • superconducting wigglers
  • Low energy 11 GeV ? 3 GeV
  • Luminosity gt 1032 cm-2s-1
  • Spring 2003 CLEO-c detector
  • SVX ? ZD
  • 30M DD, 1.5M DsDs, 1B J/?

4
The CLEO III detector
5
CLEO computing
  • Online computing
  • 300k channels
  • Readout 30 Motorola PowerPC (VxWorks, VME)
  • 17 VME crates, 12 FASTBUS
  • Standard Ethernet TCP/IP
  • Data rate lt 9MB/s through EventBuilder (solaris)
    _at_ lt 100 Hz
  • Storage on AIT tape robot
  • Offline computing

C.JonesReconstruction and analysis on
demand Thu 150pm Category 7
6
Software system
  • C, C, Java, on
  • VxWorks 5.3 (Online)
  • solaris 2.8
  • Windows 2000 (GUI, Online)
  • osf 4.0, linux RH 8.0 - Offline, no database
    server
  • Online database (Objectivity 7)Alarms,
    RunStatistics, Constants, via CORBA server
  • CORBAVisiBroker 5, Mico (osf, linux)
  • Online One system does it all
  • Readout, SlowControl, monitoring, database,
    RunControl,

7
CLEO III constants database
  • User writes bdl file
  • Build system auto-generates client and server C
    and java code.
  • Common for Onlineand Offlinecode systems

Name RICHChannel UInt32 ChannelAddress
UInt16 Crate SelectBy UInt16
Threshold UInt16 Pedestal
8
Online and Offline
  • Offline management
  • User submits constants as ASCII file (no user
    write access)
  • Management system installs constants,with
    safeguards.
  • One system for
  • Detector configuration
  • Detector calibration
  • Detector diagnostics
  • Data reconstruction
  • Data analysis
  • Monte Carlo
  • All the above use the same C interface for
    constants access.

9
Database operation
  • Need several DBs Designate Online database as
    master
  • All of CLEO computing needs access to constants
    ? Need mirror databases for processing
  • Update regularly and automatically(special
    application)
  • Prevent interference with Online operation
  • Allow easy handling (documentation,
    troubleshooting)

10
Redesign - why
  • Original system had been invented with wrong
    requirementsUsage as one constants object, but
    data is stored as many objects (1 per line, up to
    230000 lines).Example RICHChannel constants
    objectVersion 1784, Created 11/03/1999
    183222ChannelAddress Thresh Crate
    Pedestal67895304        4 2199
    221067895297    4 2219 220967895299 4
    2204 219467895308 4 2218
    2208...- Inefficient and not utilized, wastes
    space.

11
Redesign - why?
  • Search is often linear (data is not organized).-
    Inefficient, eats CPU.
  • Address space limitedCan only have 215-1 32k
    versions of one type.- We have already reached
    this limit.
  • 200 types were combined to 13 groups, but that
    was too cumbersome to manage

12
The new system
  • Rewrite of all database code.
  • Store one constants version as one db
    object(e.g. put all 230000 lines in one
    object).Example RICHChannel constants
    objectVersion 1784, Created 11/03/1999
    183222ChannelAddress Thresh Crate
    Pedestal67895304        4 2199
    221067895297    4 2219 220967895299 4
    2204 219467895308 4 2218
    2208...

13
The new system
  • Organize data according to usage.Separate
    constants versions from usage information.
  • Completely avoid linear searches- use management
    structuresindexed lists, hash maps.
  • CORBA ? change database system without touching
    other software.

14
New system performance
  • Time to load 1 constants object from database
    (CORBA)gt 5 times faster

(1 entry 10 min interval)
New
Old
N.Adam
15
Experiences
  • Objectivity/DB
  • LHC and BABAR abandon theirlarge
    databases.Support?
  • Commercial black box
  • See D.Riley Dynamic management of CLEO III
    event data , Tue 530pm Category 8
  • VisiBroker (CORBA)
  • No osf (use mico, only singlethreaded)
  • Version 4 unstable (both solaris and VxWorks)
  • Linux Difficult with commercial software

16
Future plans
  • CLEO-c will start operation Jul 1 2003
  • Offline constants system will manage all types
    independently (summer 2003) ? Much easier
    management, more flexibility
  • Upgrade VxWorks CORBA version
  • System will be challenged with higher data rates
    (300 Hz) for J/? data
Write a Comment
User Comments (0)
About PowerShow.com