10.17633/rd.brunel.7416272.v1 Henry Nebrensky Henry Nebrensky Paul Kyberd Paul Kyberd Scalability and performance testing of an R-GMA based Grid job monitoring system for CMS data production Brunel University London 2019 R-GMA Grid Computing Job Monitoring in Distributed Computing GridPP Distributed and Grid Systems 2019-12-20 11:14:37 Dataset https://brunel.figshare.com/articles/dataset/Scalability_and_performance_testing_of_an_R-GMA_based_Grid_job_monitoring_system_for_CMS_data_production/7416272 <p>Experiments such as <a href="https://cms.cern/">CMS</a> (Compact Muon Solenoid, at CERN) have enormous computing requirements for both simulation and subsequent analysis of the recorded data.</p><p>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 <a href="http://wlcg-public.web.cern.ch/">LCG</a> testbeds back to a database local to a user.</p><p>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.</p><p>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. </p><p>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]. </p><p>In October 2005 we tracked 1000 simultaneously-running virtual jobs [7,8] across the <a href="http://wlcg-public.web.cern.ch/">LCG 2.6.0</a> 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></p><p><em>CounterDemo</em> is a simplified demonstration of message publishing with R-GMA.</p><p><br></p><p><u>Material</u><br></p><p><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).</p><p><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).</p><p><em>bossminj-NSS05.zip</em> (11/11/2005): R-GMA/BOSS tests for IEEE papers (NSS '05 version, for LCG 2.6.0).</p><p><em>CounterDemo_v1.0.zip</em> (28/08/2003): CounterDemo (v1.0) - demo/test.</p><p><em>BOSSRGMAtestResults03.zip</em> (3/03/2004): Output files from Grid submissions.</p><p><em>ee_results.tar.gz</em> (27/09/2005): Output files from Grid submissions.</p><p><em>Young-rgma_res.zip</em> (10/11/2006): Output files from Grid submissions.</p><p><em>young.HistTable.sql.gz</em> (23/01/2008): SQL dump of R-GMA HistoryProducer DB table.</p><p><em>young.LPTable.sql.gz</em> (23/01/2008): SQL dump of R-GMA LatestProducer DB table.<br></p><p><br></p><p><u>Acknowledgements</u></p><p>Henry Nebrensky wrote bossmin (emulating BOSS' job wrapper) and CounterDemo.<br>Paul Kyberd and Henry Nebrensky wrote bossminj.</p><p>Henry Nebrensky submitted the jobs to the Grid, monitored their progress and tabulated the results.</p><p>bossmin and CounterDemo are distibuted as Open Source under the terms of the <a href="http://www.gnu.org/licenses/license-list.html#EUDataGrid">EU DataGrid Software License</a>. bossmin, bossminj and CounterDemo were first made publicly available on the WWW in 2003.</p><p>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].</p><p><br></p><p><u>Disclaimer</u></p><p>This 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.</p><p><br></p><p><u>References</u></p><p>1. C. Grandi and A. Renzi: "Object Based System for Batch Job Submission and Monitoring (BOSS)" <a href="https://cds.cern.ch/record/687489/">CMS Note 2003/005</a> (2003)</p><p>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 <a href="http://www.slac.stanford.edu/econf/C0303241/proc/papers/THET001.PDF">THET001</a> (2003)</p><p>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 <a href="http://www.slac.stanford.edu/econf/C0303241/proc/papers/MOET004.PDF">MOET004</a> (2003)</p><p>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: <a href="http://doi.org/10.1109/NSSMIC.2003.1352190">10.1109/NSSMIC.2003.1352190</a> (2003)</p><p>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: <a href="http://doi.org/10.1109/TNS.2004.839094">10.1109/TNS.2004.839094</a> (2004)<br></p><p>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: <a href="http://doi.org/10.1109/NSSMIC.2004.1462663">10.1109/NSSMIC.2004.1462663</a> (2004)</p><p>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: <a href="http://doi.org/10.1109/NSSMIC.2005.1596391">10.1109/NSSMIC.2005.1596391</a> (2005)</p><p>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. [ <a href="http://bura.brunel.ac.uk/handle/2438/19822">BURA</a> ]</p><p>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: <a href="http://doi.org/10.1088/0954-3899/32/1/N01">10.1088/0954-3899/32/1/N01</a> (2006)<br></p>