1 BOINC Case Study: Ben Segal / CERN with: Predrag Buncic / CERN Daniel Lombrana Gonzalez / Univ. Extremadura David Weir / Imperial.

Slides:



Advertisements
Similar presentations
1 Software & Grid Middleware for Tier 2 Centers Rob Gardner Indiana University DOE/NSF Review of U.S. ATLAS and CMS Computing Projects Brookhaven National.
Advertisements

Virtualization and the Cloud
1 Bridging Clouds with CernVM: ATLAS/PanDA example Wenjing Wu
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 21, 2011 Windows Azure—Overview.
Tanenbaum 8.3 See references
CERN IT Department CH-1211 Genève 23 Switzerland t Virtualization with Windows at CERN Juraj Sucik, Emmanuel Ormancey Internet Services Group.
1 port BOSS on Wenjing Wu (IHEP-CC)
Introduction to Cloud Computing
1 LHC Cloud Computing with CernVM Ben Segal / CERN Predrag Buncic / CERN
Wenjing Wu Andrej Filipčič David Cameron Eric Lancon Claire Adam Bourdarios & others.
David Cameron Claire Adam Bourdarios Andrej Filipcic Eric Lancon Wenjing Wu ATLAS Computing Jamboree, 3 December 2014 Volunteer Computing.
David Cameron Riccardo Bianchi Claire Adam Bourdarios Andrej Filipcic Eric Lançon Efrat Tal Hod Wenjing Wu on behalf of the ATLAS Collaboration CHEP 15,
Predrag Buncic (CERN/PH-SFT) CernVM - a virtual software appliance for LHC applications C. Aguado-Sanchez 1), P. Buncic 1), L. Franco 1), A. Harutyunyan.
Predrag Buncic (CERN/PH-SFT) CernVM - a virtual software appliance for LHC applications C. Aguado-Sanchez 1), P. Buncic 1), L. Franco 1), S. Klemer 1),
Predrag Buncic (CERN/PH-SFT) WP9 - Workshop Summary
GAAIN Virtual Appliances: Virtual Machine Technology for Scientific Data Analysis Arihant Patawari USC Stevens Neuroimaging and Informatics Institute July.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
Biomedical Big Data Training Collaborative biobigdata.ucsd.edu BBDTC UPDATES Biomedical Big Data Training Collaborative biobigdata.ucsd.edu.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
1 BOINC-VM and Volunteer Cloud Computing Ben Segal / CERN and: Predrag Buncic, Jakob Blomer, Pere Mato / CERN Carlos Aguado Sanchez, Artem Harutyunyan.
Predrag Buncic (CERN/PH-SFT) Introduction to WP9 Portable Analysis Environment Using Virtualization Technology IBM-VM 360, CERNVM,
BOINC: Progress and Plans David P. Anderson Space Sciences Lab University of California, Berkeley BOINC:FAST August 2013.
DPHEP Workshop CERN, December Predrag Buncic (CERN/PH-SFT) CernVM R&D Project Portable Analysis Environments using Virtualization.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
WLCG Overview Board, September 3 rd 2010 P. Mato, P.Buncic Use of multi-core and virtualization technologies.
TEMPLATE DESIGN © BOINC: Middleware for Volunteer Computing David P. Anderson Space Sciences Laboratory University of.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
2012 Objectives for CernVM. PH/SFT Technical Group Meeting CernVM/Subprojects The R&D phase of the project has finished and we continue to work as part.
Predrag Buncic (CERN/PH-SFT) Virtualizing LHC Applications.
Dr Jukka Klem CHEP06 1 Public Resource Computing at CERN – Philippe Defert, Markku Degerholm, Francois Grey, Jukka Klem, Juan Antonio.
1 Volunteer Computing at CERN past, present and future Ben Segal / CERN (describing the work of many people at CERN and elsewhere ) White Area lecture.
Web Technologies Lecture 13 Introduction to cloud computing.
1 BOINC + CernVM Ben Segal / CERN (describing the work of many people at CERN and elsewhere ) Pre-GDB on Volunteer Computing CERN, November 11, 2014.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen Budapest
MND review. Main directions of work  Development and support of the Experiment Dashboard Applications - Data management monitoring - Job processing monitoring.
The CernVM Infrastructure Insights of a paradigmatic project Carlos Aguado Sanchez Jakob Blomer Predrag Buncic.
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
2nd ASPERA Workshop May 2011, Barcelona, Spain P. Mato /CERN.
– Past, Present, Future Volunteer Computing at CERN Helge Meinhard, Nils Høimyr / CERN for the CERN BOINC service team H. Meinhard et al. - Volunteer.
Predrag Buncic (CERN/PH-SFT) Virtualization – the road ahead.
The CernVM Project A new approach to software distribution Carlos Aguado Jakob Predrag
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
NA61 Collaboration Meeting CERN, December Predrag Buncic, Mihajlo Mudrinic CERN/PH-SFT Enabling long term data preservation.
Predrag Buncic (CERN/PH-SFT) CernVM Status. CERN, 24/10/ Virtualization R&D (WP9)  The aim of WP9 is to provide a complete, portable and easy.
Meeting with University of Malta| CERN, May 18, 2015 | Predrag Buncic ALICE Computing in Run 2+ P. Buncic 1.
Cloud Computing Application in High Energy Physics Yaodong Cheng IHEP, CAS
Journées Informatiques de l'IN2P May 2010, Aussois, France P. Mato /CERN.
Volunteer Clouds and Citizen Cyberscience for LHC Physics Artem Harutyunyan / CERN Carlos Aguado Sanchez / CERN, Jakob Blomer / CERN, Predrag Buncic /
Building on virtualization capabilities for ExTENCI Carol Song and Preston Smith Rosen Center for Advanced Computing Purdue University ExTENCI Kickoff.
Predrag Buncic (CERN/PH-SFT) Virtualization R&D (WP9) Status Report.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Predrag Buncic, CERN/PH-SFT The Future of CernVM.
CHEP 2010 Taipei, 19 October Predrag Buncic Jakob Blomer, Carlos Aguado Sanchez, Pere Mato, Artem Harutyunyan CERN/PH-SFT.
Guide to Operating Systems, 5th Edition
From Application To Appliance
Use of HLT farm and Clouds in ALICE
Volunteer Computing for Science Gateways
Virtualisation for NA49/NA61
Dag Toppe Larsen UiB/CERN CERN,
Progress on NA61/NA49 software virtualisation Dag Toppe Larsen Wrocław
Dag Toppe Larsen UiB/CERN CERN,
From Application to Appliance
Virtualisation for NA49/NA61
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
OS Virtualization.
Outline Virtualization Cloud Computing Microsoft Azure Platform
Guide to Operating Systems, 5th Edition
Module 01 ETICS Overview ETICS Online Tutorials
Ivan Reid (Brunel University London/CMS)
Presentation transcript:

1 BOINC Case Study: Ben Segal / CERN with: Predrag Buncic / CERN Daniel Lombrana Gonzalez / Univ. Extremadura David Weir / Imperial College Workshop, Academica Sinica Taiwan, April 16, 2009

2 CERN Mont Blanc, 4810 m Geneva airport LHC tunnel CERN

3 The LHC

4 Calculates stability of proton orbits in CERN’s new LHC accelerator System is nonlinear and unstable so numerically very sensitive. Hard to get identical results on all platforms About users, PC’s… over 1500 CPU years of processing Objectives: extra CPU power and raising public awareness of CERN and the LHC - both successfully achieved. Started as an outreach project for CERN 50 th Anniversary 2004; used for Year of Physics (Einstein Year) 2005

5 SixTrack program SixTrack is a Fortran program by F. Schmidt, based on DESY program SixTrack simulates 60 particles for 100k-1M LHC orbits Can include measured magnet parameters, beam-beam interactions revealed reproducibility issues, solved by E. McIntosh Phase space images of a particle for a stable orbit (left) and unstable chaotic orbit (right).

6 >3000 CPU-years >60k volunteers

7 Server managed by QMUL Cool screensaverMessage boards Credit for processing

8 future plans Sixtrack for LHC upgrade studies (W. Herr, CERN) Sixtrack for other accelerators (Yun Luo et al., Brookhaven National Lab) Garfield: for the detailed simulation of gases in detectors (R. Veenhof, CERN) Rivet, Jetweb: Monte Carlo event generator, validator and web archiver (J. Butterworth. UCL) ATLFAST and ATHENA: event simulation for ATLAS using virtualization (B. Segal, CERN) Volunteer thinking for LHC data analysis (discussions with Jim Virdee, John Ellis)

9

10

11

12 BOINC & Virtualization Work began at CERN in 2006 (w. Daniel Lombrana Gonzales + others) – Chose VMware Player over (k)QEMU, etc. – Proved feasibility and built a working prototype – Continued project at Univ. Extremadura Work continued at CERN in 2007 (w. David Weir) – Succeeded to build a VM for full ATLAS Athena environment – Reduced size of VM image by mounting runtime libraries over AFS

13 BOINC & Virtualization Work accomplished at CERN in 2008 (w. Pedrag Buncic) – Established collaboration with the CernVM Project – General interface to all CERN physics software – Size of VM images now optimized and cached locally – Able to build VMs for full ATLAS, LHCb, ALICE and CMS environments and tested a VM with full Athena environment – Included an interface to physics groups’ production chain (tested with ATLAS PanDA job management)

14 BOINC & Virtualization Work remaining at CERN in 2009 (in progress): – Improve Wrapper’s handling of VMware VM’s Cleanly Start, Stop, Suspend, Restart guest VM’s from host OS (using VIX API available for VMware Server) Monitor host OS resources of guest VM’s (for BOINC credit) OS’s to include Linux, Windows, possibly MacOS – Extend to Sun VirtualBox VM’s with their API – Possibly extend to kQEMU also

15 Predrag Buncic (CERN/PH-SFT) CernVM - Virtual Machine for LHC Experiments

16 CernVM Background Over the past couple of years, the industry is redefining the meaning of some familiar computing terms – Shift from glorious ideas of a large public infrastructure and common middleware towards end-to-end custom solutions and private corporate grids New buzzwords Amazon Elastic Computing Cloud (EC2) – Breakthrough in industry approach to computing – Everything is for rent (CPU, Storage, Network, Accounting) Blue Cloud (IBM) is coming Software as a Service (SaaS) Google App Engine Virtual Software Appliances and JeOS In all these cases, virtualization is emerging as a key enabling technology, and is supported by computer manufacturers – Multiple cores – Hardware virtualization (Intel VT, AMD-V)

17 Motivation LHC Experiment(s) – Millions of lines of code – Complicated software installation/update/configuration procedure, different from experiment to experiment – Only a tiny portion of it is really used at runtime in most cases – Often incompatible or lagging behind OS versions on desktop/laptop Multi core CPUs with hardware support for virtualization – Making laptop/desktop ever more powerful and underutilised Using virtualization and extra cores to get extra comfort – Zero effort to install, maintain and keep up to date the experiment software – Reduce the cost of software development by reducing the number of compiler-platform combinations – Decouple application lifecycle from evolution of system infrastructure

18 How do we want to do this? Build a “thin” Virtual Software Appliance for use by the LHC experiments This appliance should – provide a complete, portable and easy to configure user environment for developing and running LHC data analysis locally and on the Grid – be independent of physical software and hardware platforms (Linux, Windows, MacOS) This should minimize the number of platforms (compiler-OS combinations) on which experiment software needs to be supported and tested, thus reducing the overall cost of LHC software maintenance. All this is to be done – in collaboration with the LHC experiments and OpenLab – By reusing existing solutions where possible

19 Key Building Blocks rBuilder from rPath ( – A tool to build VM images for various virtualization platforms rPath Linux 1 – Slim Linux OS binary compatible with Red Hat / SLC4 rAA - rPath Linux Appliance Agent – Web user interface – XMLRPC API Can be fully customized and extended by means of plugins (  401) CVMFS - CernVM file system – Read-only file system optimized for software distribution Aggressive caching – Operational in offline mode For as long as you stay within the cache Build types – Installable CD/DVD – Stub Image – Raw File System Image – Netboot Image – Compressed Tar File – Demo CD/DVD (Live CD/DVD) – Raw Hard Disk Image – VMware ® Virtual Appliance – VMware ® ESX Server Virtual Appliance – Microsoft ® VHD Virtual Appliance – Xen Enterprise Virtual Appliance – Virtual Iron Virtual Appliance – Parallels Virtual Appliance – Amazon Machine Image – Update CD/DVD – Appliance Installable ISO – Sun Virtual Box Image

20 “Thin” Software Appliance JeOS (based on rPath Linux) rAArAA KERNEL fuse module FILESYSTEMFILESYSTEM rAA plugin Extra Libs & Apps Cache HTTPDHTTPD Software Repository 10 GB1 GB0.1 GB LAN/WAN (HTTP)

21 CernVM File System App On same host: /opt/lcg -> /chirp/localhost/opt/lcg open(“/opt/lcg”) On File Server /opt/lcg -> /grow/host/opt/lcg Cache Kernel NFSLFSFUSE CernVM Fuse !Cache

22 Bridging Grids & Clouds BOINC – Open-source software for Volunteer Computing and Grid computing – CernVM is being extended to support BOINC client – CernVM CoPilot development – Based on BOINC, experience and CernVM image – Image size is of utmost importance to motivate volunteers – Can be easily adapted to Pilot Job frameworks (AliEn,Dirac, PanDA) … or Condor Worker, or proofd.. – Aims to demonstrate running of ATLAS simulation using BOINC infrastructure and PanDA BOINC e PanDA Pilot

23 Adapter CernVM CoPilot 0. Send host JDL (free disk space, free memory, available packages) 1. Append framework- specific information and request a job 3. Send input files and commands for execution (packages are already there) 5. Register output files 4. When the job is done send back the output files (and the result of validation) 2. Send user job JDL from Task Queue AliEn/DIRAC/PanDA

24 Mailing lists – (Open list to discuss about design, user experience and related issues with the CernVM project) – (End-user support for the CernVM project) Savannah Portal – Please submit bugs and feature requests to Savannah at Reference Web site(s): – – Building the CernVM community…