DOI: 10.17633/rd.brunel.7416272
title: Scalability and performance testing of an R-GMA based Grid job monitoring system for CMS data production

description: Experiments such as CMS (Compact Muon Solenoid, at CERN) have enormous computing requirements for both simulation and subsequent analysis of the recorded data.Within CMS, BOSS [1,2] was developed as a job monitoring framework within the context of local batch farms. Deployment of BOSS on to the Grid would be problematic as it requires direct access to the DBMS from running jobs, raising concerns regarding network access, firewalls, and the distribution of DBMS access credentials to remote sites. We therefore investigated using R-GMA [3] to transport BOSS' monitoring messages from jobs running across LCG testbeds back to a database local to a user.We have written <em>bossmin</em> (C++), a BOSS "emulator" which publishes into R-GMA simple monitoring messages corresponding to a single test job, and <em>bossminj</em> (Java) which comprises both a CMS job simulator and message publisher, and a corresponding archiver to log messages received via R-GMA into a local database. Each bossminj "simulation" task can masquerade as a large number of individual CMS production jobs ("simjobs"), allowing us to stress the R-GMA framework without using significant CPU resources at the remote sites.By comparing the messages submitted to R-GMA by the remote bossminj instances (logged within text files returned via the usual Grid job sandbox mechanism) with those received from R-GMA and stored in the local BOSS database we were able to assess the performance and scalability of the R-GMA framework. Tests on a dedicated testbed in 2003 initially struggled to monitor 400 jobs [4,5] but after improvements to both the code and the infrastructure, the framework was able to monitor 6000 virtual jobs [6]. In October 2005 we tracked 1000 simultaneously-running virtual jobs [7,8] across the LCG 2.6.0 Grid for 6 hours. Of 23000 simjobs submitted, 14000 (61%) ran at a remote site, of which 13683 (98%) transferred all of their messages into our local database. Every single one of the 1017052 individual messages logged as published into R-GMA was also transferred successfully.<br><em>CounterDemo</em> is a simplified demonstration of message publishing with R-GMA.<br>Material<br><em>bossmin_v2.1.zip</em> (3/10/2003): bossmin (v2.1) - BOSS emulator (for R-GMA 3.2.22, for testing basic R-GMA functionality).<em>bossmin_v2.3.zip</em> (7/10/2004): bossmin (v2.3) - BOSS emulator (for LCG 2.2.0 testbed, for testing basic R-GMA functionality).<em>bossminj-NSS05.zip</em> (11/11/2005): R-GMA/BOSS tests for IEEE papers (NSS '05 version, for LCG 2.6.0).<em>CounterDemo_v1.0.zip</em> (28/08/2003): CounterDemo (v1.0) - demo/test.<em>BOSSRGMAtestResults03.zip</em> (3/03/2004): Output files from Grid submissions.<em>ee_results.tar.gz</em> (27/09/2005): Output files from Grid submissions.<em>Young-rgma_res.zip</em> (10/11/2006): Output files from Grid submissions.<em>young.HistTable.sql.gz</em> (23/01/2008): SQL dump of R-GMA HistoryProducer DB table.<em>young.LPTable.sql.gz</em> (23/01/2008): SQL dump of R-GMA LatestProducer DB table.<br><br>AcknowledgementsHenry Nebrensky wrote bossmin (emulating BOSS' job wrapper) and CounterDemo.<br>Paul Kyberd and Henry Nebrensky wrote bossminj.Henry Nebrensky submitted the jobs to the Grid, monitored their progress and tabulated the results.bossmin and CounterDemo are distibuted as Open Source under the terms of the EU DataGrid Software License. bossmin, bossminj and CounterDemo were first made publicly available on the WWW in 2003.Jobs were submitted to the CMS/LCG0, LCG 2.2.0 and LCG 2.6.0 Grid testbeds. The R-GMA project, as well as this work itself, were supported by GridPP [9] in the UK. Many individuals helped by supporting the underlying Grid and R-GMA frameworks [4-8].<br>DisclaimerThis data is provided in the form of log files and database dumps as saved to disk over a decade ago - timestamps listed above. Supporting information is mostly from memory.<br>References1. C. Grandi and A. Renzi: "Object Based System for Batch Job Submission and Monitoring (BOSS)" CMS Note 2003/005 (2003)2. C. Grandi: "BOSS: a tool for batch job monitoring and book-keeping" in <i>CHEP03 - Computing in High Energy and Nuclear Physics</i>, La Jolla, California USA; Conference record THET001 (2003)3. A. Cooke <i>et al.</i>: "R-GMA: First results after deployment" in <i>CHEP03 - Computing in High Energy and Nuclear Physics</i>, La Jolla, California USA; Conference record MOET004 (2003)4. D. Bonacorsi <em>et al.</em>: “Scalability tests of R-GMA based grid job monitoring system for CMS Monte Carlo data production” in <em>IEEE Nuclear Science Symposium/Medical Imaging Conference</em>, Portland, Oregon USA; Conference Record <strong>3</strong> pp.1630-1632. DOI: 10.1109/NSSMIC.2003.1352190 (2003)5. D. Bonacorsi <i>et al.</i>: “Scalability tests of R-GMA-based grid job monitoring system for CMS Monte Carlo data production” <em>IEEE Transactions on Nuclear Science</em>, <strong>51</strong>(6) pp.3026-3029. DOI: 10.1109/TNS.2004.839094 (2004)<br>6. R. Byrom <em>et al.</em>: “Performance of R-GMA based grid job monitoring system for CMS data production” in <em>IEEE Nuclear Science Symposium/Medical Imaging Conference</em>, Rome, Italy; Conference Record <strong>4</strong> pp.2033-2037. DOI: 10.1109/NSSMIC.2004.1462663 (2004)7. R. Byrom <em>et al.</em>: “Performance of R-GMA for monitoring grid jobs for CMS data production” in <em>IEEE Nuclear Science Symposium/Medical Imaging Conference</em>, Fajardo, Puerto Rico; Conference Record pp.860-864 DOI: 10.1109/NSSMIC.2005.1596391 (2005)8. R. Byrom <em>et al.</em>: “Performance of R-GMA for monitoring grid jobs for CMS data production” poster shown at <em>IEEE Nuclear Science Symposium/Medical Imaging Conference</em>, Fajardo, Puerto Rico, 23<sup>rd</sup> – 29<sup>th</sup> October 2005. [ BURA ]9. The GridPP Collaboration: “GridPP: development of the UK computing Grid for particle physics” <em>Journal of Physics G: Nuclear and Particle Physics</em>, <strong>32</strong>(1) pp. N1-N20. DOI: 10.1088/0954-3899/32/1/N01 (2006)<br>