grid applications for the lhc alice experiment máté ferenc nagy eötvös university...

19
GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied- Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI Hungarian ALICE Group

Upload: edith-black

Post on 18-Jan-2016

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

GRID Applications for the LHC ALICE Experiment

Máté Ferenc Nagy

Eötvös University Applied-Physics student

Supervisor : Gergely Barnaföldi

MTA KFKI RMKIHungarian ALICE Group

Page 2: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Overview

• The GRID• GRID implementation: the middleware• AliEn, the ALICE GRID• RMKI resources• A job’s life• ROOT and AliROOT

• GP-GPU• RMKI test cluster• Architecture• Summary• Animations / Questions

Part I.: The CERN GRID

Part II.: GP-GPU Applications in Physics

Page 3: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

GRID

• What is a GRID?A distributed system, a group of interconnected computers that share a common interface to share resources.

• Why would we need such a thing?„Anything that can be calculated on paper has already been done.” Great demand for computing power. Too expensive centralized.

Page 4: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

GRID, the CERN way

• The solution?Amidst the LCG-EGEE (LHC Computing Grid – Enabling GRIDs for E-Science) program, the gLite middleware has been developed. (see 7th slide)• What’s considered to be a

resource?CPU, HDD

Page 5: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Where is the middleware?

hardware

Operating system

software

hardware

Operating system

software

hardware

Operating system

softwaremiddleware middleware middlewaremiddleware

Page 6: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

The role of the middleware

• It serves as the distributor of resources available to a machine.

• Advertises these resources (free vs. used)

• It schedules incoming jobs for execution, reports their status.

• It serves the jobs with whatever package or library dependencies they might have.

Page 7: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Middleware – á la ALICE

• gLite: The background service. All higher layers give commands to this layer.

• AliEn: (AliceEnvironment) a module extending the regular gLite services.(faster, stronger, better, and nontheless: userfriendly)

• VOBOX: (Virtual Organisation) It is a general purpose element in the middleware.- It isn’t mandatory to install a vobox onto a site. All experiments use it to different ends.- At ALICE, AliEn commands are given from here. (eg. Job submission, result downloading, file operations, ...)

Page 8: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Storage – á la ALICE

• The handling of storage does not go according to standard procedure; gLite supports many storage types and topologies, but not the ALICE standard xrootd.

• Therefore file operations cannot be invoked by the underlying gLite middleware, it has to be maintained by the VOBOX. (Where foreseen generality comes in handy)

Page 9: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Storage and Computing elements at RMKI

• SE: (Storage Element) Two machines with 20TB disk space each.

• 1 machine: 4X RAID 5+1, all 1TB HDD• CE: (Computing Element) Vastly Intel Xeon

processors with the standard 2GB RAM/core.• 13 Dual Core és 100 Quad Core machines are

brought to work.• They are used in timedivision with the CMS

experiment.

Page 10: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

A job’s life

redirector

SESESE

SESESE

SESESE

redirector redirector

CECECE

CECECE

CECECE

VOBOXgLite

VOBOXgLite

VOBOXgLite

„A” site „B” site „C” site

CERNBDIIdatabase

xrootdglobal redirectorJA

Job Agent:WHAT we run (contains the executable)

ON what (contains the necessary input files)WHERE we run (optional restrictions to site properties)

Page 11: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

ROOT and AliROOT• ROOT:

- C++ based framework.- Meant for 3 dimensional designing with capable mathematical support.

• AliROOT:- Every version contains the up-to-date schematics of the ALICE detector.- The physical behavior of materials are simulated by Geant.

Page 12: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

PART II.

GP-GPU applications in the CERN GRID

Page 13: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

GP-GPU• Expansion:

General Purpose-Graphics Processing Unit • Advantages:

- 10-100X speed increase is achieveable- Better performance vs cost, wattage ratios.

• Recent events:- OpenCL (Open Computing Language)- DirectX 11 (Compute Shader 5.0)

• Backdraws:- Longer development time.- Not all problems can be paralellized.

Page 14: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

New Cards Up the Sleeve• Both major GPU manufacturers introduced their new

generation graphics cards that deliver massive computing power for paralellized algorithms.

Page 15: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Fermi (GT300) Architecture

• The C2070 Tesla cards will feature 512 CUDA cores, each able to run a single thread of execution.• Peak computational power of 1600 GFLOPS SP, 650 GFLOPS DP.

1 FLOPS = 1 FLoating-point Operation Per SecondHigh-end Intel Xeon processors possess ~ 130 GFLOPS SP/DP computing power.

Page 16: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Cypress (RV870) Architecture

• The AMD ATi Radeon 5870 features 1600 shader processors, each able to run a single thread of execution.• Peak computational power of 2700 GFLOPS SP, 500 GFLOPS DP.

Page 17: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

RMKI GPU test cluster

• One machine with 3 GTX295 (dual core) GPUs.• Acquisition of 2 new high-end desktop configs

in rack mounts:• Intel Core-i7 quad-core 2.66 GHz processors,

12GB RAM, 3 high-speed (x16 PCI-E) slots for GPUs.

• One machine wil be equipped with AMD ATi Radeon 5970 (dual core) GPUs for OpenCL computing in the near future. Second will contain Tesla C2070 cards for CUDA/OpenCL.

Page 18: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Summary

• The RMKI GRID has been functioning since 2002• ALICE computations running since 2006, from

this year at even larger scales.• The xrootd based ALICE dedicated storage has

been working since this year Q1.• Fully accomplishing the directives of a T2 site.• At the end of Scientific Linux 5 migration, one

step from datataking (thx to Szabolcs Hernáth).• Scientific activity: TDK work has just started.

Page 19: GRID Applications for the LHC ALICE Experiment Máté Ferenc Nagy Eötvös University Applied-Physics student Supervisor : Gergely Barnaföldi MTA KFKI RMKI

Animations• AMD Havok clothing simulation, simple Newton

equation solver with high number interactions.• NVIDIA CUDA Fluid Dynamics, Navier-Stokes

equation solver on realistic size grid.• NVIDIA CS 5.0 Ocean Rendering using FFT calculations

on a high resolution grid.• NVIDIA CS 5.0 Brute Force N-Body Simulation• NVIDIA OpenCL O(N*logN) N-Body simultaion using

cut-off distance optimization.