<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>WLCG DATA LAKE PROTOTYPE FOR HL-LHC</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>I. Kadochnikov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I. Bird</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>G. McCance</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>J. Schovancova</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M. Girone</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S. Campana</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>X. Espinal Curull</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>E-mail:</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>kadivas@jinr.ru</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ian.Bird@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>gavin.mccance@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jaroslava.Schovancova@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria.Girone@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Simone.Campana@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>g xavier.espinal@cern.ch</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>European Organization for Nuclear Research</institution>
          ,
          <addr-line>1 Esplanade des Particules, Geneva, 1211</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Joint Institute for Nuclear Research</institution>
          ,
          <addr-line>6 Joliot-Curie, Dubna, Moscow region, 141980</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Plekhanov Russian University of Economics</institution>
          ,
          <addr-line>36 Stremyanny per., Moscow, 117997</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>2018 Ivan Kadochnikov</institution>
          ,
          <addr-line>Ian Bird, Gavin. McCance, Jaroslava Schovancova, Maria Girone, Simone. Campana</addr-line>
          ,
          <country>Xavier Espinal Currul</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>509</fpage>
      <lpage>512</lpage>
      <abstract>
        <p>A critical challenge of high-luminosity Large Hadron Collider (HL-LHC), the next phase in LHC operation, is the increased computing requirements to process the experiment data. Coping with this demand with today's computing model would exceed a realistic funding level by an order of magnitude. Many architectural, organizational and technical changes are being investigated to address this challenge. This paper describes the prototype of a WLCG data lake, a storage service of geographically distributed data centers connected by a low-latency network. The architecture of an EOS data lake is presented, showing how it leverages economy of scale to decrease cost. The paper discusses first experiences with the prototype and first test computing jobs reading data from the lake.</p>
      </abstract>
      <kwd-group>
        <kwd>GRID</kwd>
        <kwd>storage</kwd>
        <kwd>data lake</kwd>
        <kwd>EOS</kwd>
        <kwd>distributed storage</kwd>
        <kwd>QoS</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        High-luminosity Large Hadron Collider (HL-LHC) is the next step in increasing LHC
luminosity. With more raw data produced by the ATLAS detector, computing resource requirements
are predicted to exceed the limits expected to be available under the current computing model [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
New and more efficient approaches to organizing distributed computing on this large scale are
necessary to meet this demand [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>Data storage and management is one of the areas where critical improvements to efficiency
can be made. With more granular and explicit Quality of Service management for both replication and
access latency, redundancy and storage cost may be decreased dramatically while still providing data
availability.</p>
      <p>Another way to decrease cost of WLCG data storage is to reduce human effort engaged in data
center administration. Using large-scale distributed grid sites that consolidate individual institutional
resources into a “data lake” is one possible path to that scenario.</p>
      <p>
        CPU and storage resources are no longer always co-located in the GRID. Desktop grids,
clouds and HPC are example of CPU-only resources. Caching is being increasingly used instead of
pre-staging on individual sites with new software system being developed specifically for this mode of
access [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In this atmosphere the prospect of dedicated distributed storage-only data lake does not
look out of place, as it would in the early WLCG. With improving networks, caching solutions and
data management, compute nodes sharing the room with the tape robot might no longer be a necessity.
      </p>
      <p>To study the feasibility of using EOS to create such a highly distributed data lake a prot otype
with several collaborating sites was created. Support for granular parity-based redundancy of stored
data was tested with realistic access patterns.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Data lake prototype</title>
      <sec id="sec-2-1">
        <title>2.1. Architecture and participants</title>
        <p>
          The prototype data lake is built as a distributed EOS storage system. In EOS metadata is
stored separately from data, with MGM and MQ services responsible for the metadata and multiple
FST servers providing data storage [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. The central EOS metadata services of the prototype are located
in CERN datacenters in Switzerland and Wigner Research Centre, Hungary. At the time of testing, in
addition to CERN, 8 more research centers provided storage resources for the prototype in the form of
local FST servers that joined the data lake.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Status and testing</title>
        <p>The prototype resources are commissioned, the services are deployed, and basic transfer tests
had been performed. Prototype transfer monitoring plots are presented in Figure 2.</p>
        <p>QoS management with replicated and striped storage support was tested. Automatic
replication of uploaded files based on namespace directory attributes, as well as manual conversion on
command was observed to work. Some compatibility issues with several remote FST servers were
observed.</p>
        <p>
          The prototype was integrated into the ATLAS data management system Rucio[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] as a storage
site and 6 input datasets used for Hammercloud[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] tests were copied onto the data lake.
The Hammercloud input datasets were used to compare realistic data access patterns in 4
scenarios: no lake, data local to worker node; replicated data, at CERN; replicated data, not only at
CERN; striped data, not only at CERN. In every scenario, the computing worknode was run at CERN.
        </p>
        <p>As can be seen on Figure 5, if a processing job does not require a lot of input data, execution
time is not strongly affected by storage, as can be expected. On Figure 6 results for more I/O
demanding job are shown. Noticeable degradation of service for striped storage can be attributed to
compatibility and configuration problems on some of the storage servers with regards to striped
storage support, as well as striped storage requiring data from at least 4 locations, which lowers
effective throughput if one of the 4 is bottlenecked.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Conclusion</title>
      <p>A distributed storage instance based on EOS was set up. This data lake prototype is small in
terms of resources, but very geographically distributed. Different EOS deployment options are used by
member sites. The lake is integrated with Rucio and Hammercloud. Performance of different data
placement scenarios with different access patterns can be measured. CMS integration is the logical
next step. The deployment and testing experience on the data lake will help prepare for HL-LHC.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>H. S.</given-names>
            <surname>Foundation</surname>
          </string-name>
          et al.,
          <article-title>“A Roadmap for HEP Software</article-title>
          and
          <string-name>
            <surname>Computing R</surname>
          </string-name>
          &amp;
          <article-title>D for the 2020s,” ArXiv171206982</article-title>
          <string-name>
            <surname>Hep-Ex</surname>
            <given-names>Physicsphysics</given-names>
          </string-name>
          , Dec.
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Campana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Wenaus</surname>
          </string-name>
          , and A. collaboration, “
          <article-title>An ATLAS distributed computing architecture for HL-LHC,”</article-title>
          <source>J. Phys. Conf. Ser.</source>
          , vol.
          <volume>1085</volume>
          , no.
          <issue>3</issue>
          , p.
          <fpage>032029</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Y. D.</given-names>
            <surname>Cheng</surname>
          </string-name>
          , Q. Xu, and
          <string-name>
            <given-names>C.</given-names>
            <surname>Wang</surname>
          </string-name>
          , “
          <article-title>LEAF: A data cache and access system across remote sites</article-title>
          ,
          <source>” J. Phys. Conf. Ser.</source>
          , vol.
          <volume>1085</volume>
          , no.
          <issue>3</issue>
          , p.
          <fpage>032008</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A. J.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Sindrilaru</surname>
          </string-name>
          , and G. Adde, “
          <article-title>EOS as the present and future solution for data storage at CERN,”</article-title>
          <source>J. Phys. Conf. Ser.</source>
          , vol.
          <volume>664</volume>
          , no.
          <issue>4</issue>
          , p.
          <fpage>042042</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Barisits</surname>
          </string-name>
          et al., “
          <article-title>The ATLAS Data Management System Rucio: Supporting LHC Run-2 and beyond</article-title>
          ,
          <source>” J. Phys. Conf. Ser.</source>
          , vol.
          <volume>1085</volume>
          , no.
          <issue>3</issue>
          , p.
          <fpage>032030</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Elmsheuser</surname>
          </string-name>
          et al., “
          <article-title>Grid site testing for ATLAS with HammerCloud</article-title>
          ,
          <source>” J. Phys. Conf. Ser.</source>
          , vol.
          <volume>513</volume>
          , no.
          <issue>3</issue>
          , p.
          <fpage>032030</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>