High Throughput Distributed Computing - 1 - PowerPoint PPT Presentation

1 / 56
About This Presentation
Title:

High Throughput Distributed Computing - 1

Description:

High Throughput Distributed Computing - 1 Stephen Wolbers, Fermilab Heidi Schellman, Northwestern U. – PowerPoint PPT presentation

Number of Views:173
Avg rating:3.0/5.0
Slides: 57
Provided by: Stephen985
Learn more at: https://home.fnal.gov
Category:

less

Transcript and Presenter's Notes

Title: High Throughput Distributed Computing - 1


1
High Throughput Distributed Computing - 1
  • Stephen Wolbers, Fermilab
  • Heidi Schellman, Northwestern U.

2
Outline Lecture 1
  • Overview, Analyzing the Problem
  • Categories of Problems to analyze
  • Level 3 Software Trigger Decisions
  • Event Simulation
  • Data Reconstruction
  • Splitting/reorganizing datasets
  • Analysis of final datasets
  • Examples of large offline systems

3
What is the Goal?
  • Physics the understanding of the nature of
    matter and energy.
  • How do we go about achieving that?
  • Big accelerators, high energy collisions
  • Huge detectors, very sophisticated
  • Massive amounts of data
  • Computing to figure it all out

These Lectures
4
New York Times, Sunday, March 25, 2001
5
Computing and Particle Physics Advances
  • HEP has always required substantial computing
    resources
  • Computing advances have enabled better physics
  • Physics research demands further computing
    advances
  • Physics and computing have worked together over
    the years

Computing Advances
Physics Advances
6
Collisions Simplified
p
p
  • Collider
  • Fixed-Target

Au
Au
e
7
Physics to Raw Data(taken from Hans Hoffman,
CERN)
8
From Raw Data to Physics
_
Interaction with detector material Pattern, recogn
ition, Particle identification
Analysis
Reconstruction
Simulation (Monte-Carlo)
9
Distributed Computing Problem
DATA, LOG FILES, HISTOGRAMS, DATABASE
DATA Databases
Computing System
10
Distributed Computing Problem
How much data is there? How is it organized? In
files? How big are the
files? Within files? By event? By
object? How big is an event
or object? How are they
organized? What kinds of data are
there? Event data? Calibration
data? Parameters? Triggers?
DATA
11
Distributed Computing Problem
What is the system? How many systems? How are
they connected? What is the bandwidth? How many
data transfers can occur at once? What kind of
information must be accessed? When? What is the
ratio of computation to data size? How are tasks
scheduled?
What are the requirements for processing? Data
flow? CPU? DB access? DB updates? O/P
file updates? What is the goal for
utilization? What is the latency desired?
Computing System
12
Distributed Computing Problem
How many files are there? What type? Where do
they get written and archived? How does one
validate the production? How is some data
reprocessed if necessary? Is there some priority
scheme for saving results? Do databases have to
be updated?
DATA, LOG FILES, HISTOGRAMS, DATABASE
13
I Level 3 or High Level Trigger
  • Characteristics
  • Huge CPU (CPU-limited in most cases)
  • Large Input Volume
  • Output/Input Volume ratio 6-50
  • Moderate CPU/data
  • Moderate Executable size
  • Real-time system
  • Any mistakes lead to loss of data

14
Level 3
  • Level 3 systems are part of the real-time
    data-taking of an experiment.
  • But the system looks much like offline
    reconstruction
  • Offline code is used
  • Offline framework
  • Calibrations are similar
  • Hardware looks very similar
  • The output is the raw data of the experiment.

15
Level 3 in CDF
16
CMS Data Rates From Detector to Storage
40 MHz
1000 TB/sec
Physics filtering
Level 1 Trigger Special Hardware
75 GB/sec
75 KHz
Paul Avery
Level 2 Trigger Commodity CPUs
5 GB/sec
5 KHz
Level 3 Trigger Commodity CPUs
100 MB/sec
100 Hz
Raw Data to storage
17
Level 3 System Architecture
  • Trigger Systems are part of the online and DAQ of
    an experiment.
  • Design and specification are part of the detector
    construction.
  • Integration with the online is critical.
  • PCs and commodity switches are emerging as the
    standard L3 architecture.
  • Details are driven by specific experiment needs.

18
L3 Numbers
  • Input
  • CDF 250 MB/s
  • CMS 5 GB/s
  • Output
  • CDF 20 MB/s
  • CMS 100 MB/s
  • CPU
  • CDF 10,000 SpecInt95
  • CMS gt440,000 SpecInt95 (not likely a final
    number)

19
L3 Summary
  • Large Input Volume
  • Small Output/Input Ratio
  • Selection to keep only interesting events
  • Large CPU, more would be better
  • Fairly static system, only one user
  • Commodity components (Ethernet, PCs, LINUX)

20
II Event Simulation(Monte Carlo)
  • Characteristics
  • Large total data volume.
  • Large total CPU.
  • Very Large CPU/data volume.
  • Large executable size.
  • Must be tuned to match the real performance of
    the detector/triggers, etc.
  • Production of samples can easily be distributed
    all over the world.

21
Event Simulation Volumes
  • Sizes are hard to predict but
  • Many experiments and physics results are limited
    by Monte Carlo Statistics.
  • Therefore, the number of events could increase in
    many (most?) cases and this would improve the
    physics result.
  • General Rule Monte Carlo Statistics 10 x Data
    Signal Statistics
  • Expected
  • Run 2 100s of TBytes
  • LHC PBytes

22
A digression Instructions/byte, Spec, etc.
  • Most HEP code scales with integer performance
  • If
  • Processor A is rated at IA integer performance
    and,
  • Processor B is rated at IB
  • Time to run on A is TA
  • Time to run on B is TB
  • Then
  • TB (IA/IB)TA

23
SpecInt95, MIPS
  • SPEC
  • SPEC is a non-profit corporation formed to
    establish, maintain and endorse a standardized
    set of relevant benchmarks that can be applied to
    the newest generation of high-performance
    computers.
  • SPEC95
  • Replaced Spec92, different benchmarks to reflect
    changes in chip architecture
  • A Sun SPARCstation 10/40 with 128 MB of memory
    was selected as the SPEC95 reference machine and
    Sun SC3.0.1 compilers were used to obtain
    reference timings on the new benchmarks. By
    definition, the SPECint95 and SPECfp95 numbers
    for the Sun SPARCstation 10/40 are both "1."
  • One SpecInt95 is approximately 40 MIPS.
  • This is not exact, of course. We will use it as
    a rule of thumb.
  • SPEC2000
  • Replacement for Spec95, still not in common use.

24
Event Simulation CPU
  • Instructions/byte for event simulation
  • 50,000-100,000 and up.
  • Depends on level of detail of simulation. Very
    sensitive to cutoff parameter values, among other
    things.
  • Some examples
  • CDF 300 SI95-s(40 MIP/SI95)/200 KB
  • 60,000 instructions/byte
  • D0 3000 SI9540/1,200 KB
  • 100,000 instructions/byte
  • CMS 8000 SI9540/2.4 MB
  • 133,000 instructions/byte
  • ATLAS 3640 SI9540/2.5 MB
  • 58,240 inst./byte

25
What do the instructions/byte numbers mean?
  • Take a 1 GHz PIII
  • 48 SI95 (or about 4840 MIP)
  • For a 50,000 inst./byte application
  • I/O rate
  • 4840 MIPS/50,000 inst/byte
  • 38,400 byte/second
  • 38 KB/s (very slow!)
  • Will take 1,000,000/38 26,315 seconds to
    generate a 1 GB file

26
Event Simulation -- Infrastructure
  • Parameter Files
  • Executables
  • Calibrations
  • Event Generators
  • Particle fragmentation
  • Etc.

27
Output of Event Simulation
  • Truth what the event really is, in terms of
    quark-level objects and in terms of hadronized
    objects and of hadronized objects after tracking
    through the detector.
  • Objects (before and after hadronization)
  • Tracks, clusters, jets, etc.
  • Format Ntuples, ROOT files, Objectivity, other.
  • Histograms
  • Log files
  • Database Entries

28
Summary of Event Simulation
  • Large Output
  • Large CPU
  • Small (but important) input
  • Easy to distribute generation
  • Very important to get it right by using the
    proper specifications for the detector,
    efficiencies, interaction dynamics, decays, etc.

29
III Event Reconstruction
  • Characteristics
  • Large total data volume
  • Large total CPU
  • Large CPU/data volume
  • Large executable size
  • Pseudo real-time
  • Can be redone

30
Event Reconstruction Volumes(Raw data input)
  • Run 2a Experiments
  • 20 MB/s, 107 sec/year, each experiment
  • 200 Tbytes per year
  • RHIC
  • 50-80 MB/s, sum of 4 experiments
  • Hundreds of Tbytes per year
  • LHC/Run 2b
  • gt100 MB/s, 107 sec/year
  • gt1 Pbyte/year/experiment
  • BaBaR
  • gt10 MB/s
  • gt100 TB/year (350 TB so far)

31
Event Reconstruction CPU
  • Instructions/byte for event reconstruction
  • CDF 100 SI9540/250 KB
  • 16,000 inst./byte
  • D0 720 SI9540/250 KB
  • 115,000 instructions/byte
  • CMS 20,000 Million instructions/1,000,000 bytes
  • 20,000 instructions/byte (from CTP, 1997)
  • CMS 3000 Specint95/event40/1 MB
  • 120,000 instructions/byte (2000 review)
  • ATLAS 250 SI9540/1 MB
  • 10,000 instructions/byte (from CTP)
  • ATLAS 640 SI9540/2 MB
  • 12,800 instructions/byte (2000 review)

32
Instructions/byte for reconstruction
  • CDF R1 15,000
  • D0 R1 25,000
  • E687 15,000
  • E831 50,000
  • CDF R2 16,000
  • D0 R2 64,000
  • BABAR 75,000
  • CMS 20,000 (1997 est.)
  • CMS 120,000 (2000 est.)
  • ATLAS 10,000 (1997 est.)
  • ATLAS 12,800 (2000 est.)
  • ALICE 160,000 (pb-pb)
  • ALICE 16,000 (p-p)
  • LHCb 80,000

Fermilab Run 1, 1995
Fermilab FT, 1990-97
Fermilab Run 2, 2001
33
Output of Event Reconstruction
  • Objects
  • Tracks, clusters, jets, etc.
  • Format Ntuples, ROOT files, DSPACK, Objectivity,
    other.
  • Histograms and other monitoring information
  • Log files
  • Database Entries

34
Summary of Event Reconstruction
  • Event Reconstruction has large input, large
    output and large CPU/data.
  • It is normally accomplished on a farm which is
    designed and built to handle this particular kind
    of computing.
  • Nevertheless, it takes effort to properly design,
    test and build such a farm (see Lecture 2).

35
IV Event Selection and Secondary Datasets
  • Smaller datasets, rich in useful events, are
    commonly created.
  • The input to this process is the output of
    reconstruction.
  • The output is a much-reduced dataset to be read
    many times.
  • The format of the output is defined by the
    experiment.

36
Secondary Datasets
  • Sometimes called DSTs, PADs, AODs, NTUPLES, etc.
  • Each dataset is as small as possible to make
    analysis as quick and efficient as possible.
  • However, there are competing requirements for the
    datasets
  • Smaller is better for access speed, ability to
    keep datasets on disk, etc.
  • More information is better if one wants to avoid
    going back to raw or reconstruction output to
    refit tracks, reapply calibrations, etc.
  • An optimal size is chosen for each experiment and
    physics group to allow for the most effective
    analysis.

37
Producing Secondary Datasets
  • Characteristics
  • CPU Depends on input data size.
  • Instructions/byte Ranges from quite small (event
    selection using small number of quantities) to
    reasonably large (unpack data, calculate
    quantities, make cuts, reformat data).
  • Data Volume Small to Large.
  • SumAll Sets 33 of Raw data (CDF)
  • Each set is approx. a few percent

38
Summary of Secondary Dataset Production
  • Not a well-specified problem.
  • Sometimes I/O bound, sometimes CPU bound.
  • Number of users is much larger than Event
    Reconstruction.
  • Computing system needs to be flexible enough to
    handle these specifications.

39
V Analysis of Final Datasets
  • Final Analysis is characterized by
  • (Not necessarily) small datasets.
  • Little or no output, except for NTUPLES,
    histograms, fits, etc.
  • Multiple passes, interactive.
  • Unpredictable input datasets.
  • Driven by physics, corrections, etc.
  • Many, many individuals.
  • Many, many computers.
  • Relatively small instructions/byte.
  • SumAll Activity Large (CPU, IO, Datasets)

40
Data analysis in international collaborations
past
  • In the past analysis was centered at the
    experimental sites
  • a few major external centers were used.
  • Up the mid 90s bulk data were transferred by
    shipping tapes, networks were used for programs
    and conditions data.
  • External analysis centers served the
    local/national users only.
  • Often staff (and equipment) from the external
    center being placed at the experimental site to
    ensure the flow of tapes.
  • The external analysis often was significantly
    disconnected from the collaboration mainstream.

41
Analysis a very general model

PCs, SMPs
Tapes
The Network
Disks
42
Some Real-Life Analysis Systems
  • Run 2
  • D0 Central SMP Many LINUX boxes
  • Issues Data Access, Code Build time, CPU
    required, etc.
  • Goal Get data to people who need it quickly and
    efficiently
  • Data stored on tape in robots, accessed via a
    software layer (SAM)

43
Data Tiers for a single Event (D0)
Data Catalog entry
200B
5-15KB
Condensed summary physics data
Summary Physics Objects
50-100KB
Reconstructed Data - Hits, Tracks,
Clusters,Particles
350KB
RAW detector measurements
250KB
44
D0 Fully Distributed Network-centric Data
Handling System
  • D0 designed a distributed system from the outset
  • D0 took a different/orthogonal approach to CDF
  • Network-attached tapes (via a Mass Storage
    System)
  • Locally accessible disk caches
  • The data handling system is working and installed
    at 13 different Stations 6 at Fermilab, 5 in
    Europe and 2 in US (plus several test
    installations)

45
The Data Store and Disk Caches
Data Store stores read-only Files on permanent
tape or disk storage
STK
Lyon IN2P3
WAN

Fermilab
Lancaster
Nikhef
?
AML-2
All processing jobs read sequentially from
locally attached disk cache. Sequential Access
through Metadata SAM Input to all processing
jobs is a Dataset
Event level access is built on top of file level
access using catalog/index
46
The Data Store and Disk Caches
STK
Lyon IN2P3
WAN
Fermilab
Lancaster
Nikhef
?
AML-2

SAM allows you to store a file to any Data Store
location - automatically routing through
intermediate disk cache if necessary and handling
all errors/retries
47
SAM Processing Stations at Fermilab
central-analysis
data-logger
d0-test and sam-cluster
12-20 MBps
400 MBps
100 MBps
Enstore Mass Storage System
12-20 MBps
farm
linux-analysis -clusters
clueD0 100 desktops
linux-build-cluster
48
D0 Processing Stations Worldwide
MC production centers (nodes all duals)
Lyon/IN2P3 100
MSU
Abilene
Prague 32
Columbia
SURFnet
ESnet
NIKHEF 50
UTA 64
SuperJanet
Fermilab
Lancaster 200
Imperial College
49
Data Access Model CDF
  • Ingredients
  • Gigabit Ethernet
  • Raw data are stored in tape robot located in FCC
  • Multi-CPU analysis machine
  • High tape access bandwidth
  • Fiber Channel connected disks

50
Computing Model for Run 2a
  • CDF and D0 have similar but not identical
    computing models.
  • In both cases data is logged to tape stored in
    large robotic libraries.
  • Event reconstruction is performed on large Linux
    PC farms.
  • Analysis is performed on medium to large
    multi-processor computers
  • Final analysis, paper preparation, etc. is
    performed on Linux desktops or Windows desktops.

51
RHIC Computing Facility
52
Storage systems
Gb Ethernet
Farm cache servers 1.6 TB RAID 0
100 Mb Ethernet
SCSI
FC from CLAS DAQ
DST cache servers 5 TB RAID 0
From A,C DAQ
Storage servers
Gigabit switching
JLAB Farm and Mass Storage Systems End FY00
NFS work areas 5 TB RAID 5
Batch Analysis Farm
6000 SPECint95
Farm control
Interactive front-ends
53
BaBar Worldwide Collaboration of 80 Institutes
54
BaBar Offline Systems August 1999
55
Putting it all together
  • A High-Performance Distributed Computing System
    consists of many pieces
  • High-Performance Networking
  • Data Storage and access (tapes)
  • Central CPUDisk Resources
  • Distributed CPUDisk Resources
  • Software Systems to tie it all together, allocate
    resources, prioritize, etc.

56
Summary of Lecture I
  • Analysis of the problem to be solved is
    important.
  • Issues such as data size, file size, CPU, data
    location, data movement, all need to be examined
    when analyzing computing problems in High Energy
    Physics.
  • Solutions depend on the analysis and will be
    explored in Lecture II.
Write a Comment
User Comments (0)
About PowerShow.com