<!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>SIMULATION MODEL OF AN HPC SYSTEM FOR SUPER CHARM-TAU FACTORY</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>D. Wiens</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I. Chernykh</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I. Logashenko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>F. Kolpakov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>V. Vorobiev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Budker Institute of Nuclear Physics of Siberian Branch Russian Academy of Sciences (BINP SB RAS)</institution>
          ,
          <addr-line>11, Acad. Lavrentieva Pr., Novosibirsk, 630090 Russian Federation</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Dmitry Wiens</institution>
          ,
          <addr-line>Igor Chernykh, Ivan Logashenko, Fedor Kolpakov, Vitaluy Vorobiev</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Federal Research Center for Information and Computational Technologies</institution>
          ,
          <addr-line>6 Akad. Lavrentieva Pr., Novosibirsk, 630090 Russian Federation</addr-line>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Institute of Computational Mathematics and Mathematical Geophysics of Siberian Branch of Russian Academy of Science</institution>
          ,
          <addr-line>6 Akad. Lavrentieva Pr., Novosibirsk, 630090 Russian Federation</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <fpage>5</fpage>
      <lpage>9</lpage>
      <abstract>
        <p>This paper describes the design of a simulation model of the infrastructure for data processing from the Super Charm-Tau factory class "megasience" electron-positron collider. The model simulates the behavior of the main subsystems of a supercomputer, such as the task scheduler, computing clusters, data storage system, etc. Using simulation modeling allows for the maximally reliable representation of the exact characteristics and volume of the needed equipment for developing the desired HPC system. The simulation model accounts for all the aspects of operation of this system from parallel data storage system to arrangement of the parallel launch of tasks. The developed system for processing software errors and equipment failures, as well as the system for ensuring energy efficiency make it possible to estimate the needed equipment with account for all possible emergency situat ions. This model allows calculating the parameters of the computing system necessary for processing and storing the results of operation of the Super Charm-Tau factory after its commissioning.</p>
      </abstract>
      <kwd-group>
        <kwd>C-Tau Factory</kwd>
        <kwd>HPC design</kwd>
        <kwd>simulation modeling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. About Super Charm-Tau Factory</title>
      <p>
        The «Super Charm-Tau Factory» (SCTF) project, which is a symmetric electron-positron
collider of ultrahigh luminosity with a beam energy at the mass center system from 3 to 7 GeV, is
developed at the BINP SB RAS. This project comprises a unique accelerating-storage complex with a
luminosity of 1035 cm-2s-1 and a universal elementary particle detector. The main goal of experiments
carried out on the SCTF is to study the properties of tau lepton and charmed particles, subject the
existing theory of elementary particles, the Standard Model, to high-precision verification, and to
search for phenomena not described within the framework of this theory [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>An important role in the project is played by the system for data processing and storage. This
system should ensure recoding and reliable storage of «RAW» (approx. 100 petabytes/year) and
calibration data (approx. 100 gigabytes/year) from the particles detector of the SCTF. This data should
be constantly available for analysis and processing using of specialized software. Specialized software
should include tools for solving reconstruction and modeling tasks, as well as for comparing model ed
and reconstructed events. The computational complexity of reconstruction and modeling tasks is
0.5GFLOPS/event and 5GFLOPS/event. Specialized software should allow one to analyze the
accumulated data by a collective of about thousands physicists. Parallel execution of all user tasks
should be processed by the SCTF computational infrastructure. For simplicity, we will call the
integration of the computational infrastructure and the storage system a High-Performance Computing
(HPC) system [fig. 1].</p>
      <p>It is impossible to calculate characteristics of the required HPC system due to the assumed
vast volume of primary data and a large number of computationally complex tasks running
simultaneously, Thus, it is proposed to solve the problem of designing this HPC system using
simulation modeling.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Description of the HPC system model</title>
      <p>
        The AGNES multi-agent system [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] was used to create a model of a HPC system. The
AGNES system, demonstrated its efficiency in modeling telecommunication networks, the operation
of a distributed control system and executing high-performance parallel programs [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The HTC
system model for SCTF is based on the previously developed computer system (CS) model [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The
model consists of models of computing nodes (CNs agents) and a model of a hierarchical control
system (consists of Commutator, Statistical analysis, Collector and Controller agents). To solve the
current problem, this model was redesigned and expanded by the model of data storage system
(consists of Data storage agents). The general scheme of the multi-agent model of the HPC system is
illustrated in figure 2.
      </p>
      <p>
        All types of objects given in the scheme are intelligent agents possessing their own set of
parameters and behavior algorithms. A detailed description of the algorithms of operation and
interaction of these intelligent agents to simulate the operation of the system is described in this article
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The scheme of interaction of agents in the process of performing parallel user tasks by the
computing infrastructure of the HPC system is shown in the figure 3.
      </p>
      <p>The scheme of interaction of agents in the process of data flow in data storage system of the
HPC system is shown in the figure 4. There are 6 controller agents in the data storage and processing
system that works only with data from a specific source. This separation is provided in order to be able
to estimate how much data and with what intensity each subsystem will be processed.</p>
    </sec>
    <sec id="sec-3">
      <title>3. NKS-1P infrastructure modeling</title>
      <p>
        A test simulation of the HTC system operation in the data processing mode with SCTF was
carried out to approve the developed model. For this purpose, the infrastructure of the NKS-1P cluster
was modeled. The NKS-1P cluster is installed in the Siberian supercomputer center [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and the authors
have direct access to it.
      </p>
      <p>During the simulation, data from the detector (with a given frequency), as well as tasks from
users (with a given probability) were received to the model of the HTC system. When a certain
number of events from the detector accumulated, reconstruction tasks were automatically started. In
different modes of operation of the detector, events are received with a frequency from 100 to 300
kHz. The computational complexity of the reconstruction task of single event is 0.5 GFlops/s, the
modeling task is 5 Gflops/s. The main purpose was to determine whether the NKS-1P infrastructure
could handle such a flow of tasks and data. Therefore, the following parameters were considered: the
average waiting time for the task execution and the amount of saved and lost data at the event
frequency of 100 and 300 kHz [fig. 4].</p>
      <p>The simulation showed that:
● The cluster's storage system copes with a 100kHz event stream. As the frequency increases,
the volume of lost data (events) increases;
● The 300Tb data storage system will be filled within 30 hours with RAW and processed data
from the detector with event frequency of 100kHz. Significantly large amounts of memory are
required to store events from the detector;
● The computing infrastructure copes with processing packets of events with a frequency of
100 kHz. The waiting time for task execution increases significantly with an increase in the
frequency;
● Increasing the probability of receiving simulation tasks also increases the waiting time. An
increase in the number of computing nodes is required.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>It is necessary to estimate the computational infrastructure parameters for storing and
processing data of the physical experiment even at the stage of design SCTF project. Using simulation
modeling allows to do this most accurately. The developed simulation model allows calculating the
parameters of the computing system required for processing and storing the operation results of the
Super Charm-Tau factory after its commissioning.</p>
      <p>A full-scale simulation is planned to assess the necessary and sufficient amount of computing
resources to ensure the operation of the SСTF. Full-scale modeling means the launch of a model in
which the SСTF will not be limited by either disk space or computing nodes. The number of resources
required at the moment of the model time will be added automatically. Thus, at a certain point in time,
the number of computing nodes will reach not only the necessary number for processing the expected
task flow, but also sufficient for a given probability of failures. Of course, the required amount of
memory will constantly increase, but it will be possible to accurately assess the trend of this growth.
Certainly, for modeling will be used the characteristics of the most modern server equipment at the
current time.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Acknowledgments</title>
      <p>This work was financially supported by the Russian Science Foundation (Grant No.
19-7220114) using the resources of the Siberian Supercomputer Center cluster (ICM&amp;MG SB RAS,
Novosibirsk).
SSCC</p>
      <p>SB</p>
      <p>RAS.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Bondar</surname>
            <given-names>A 2013</given-names>
          </string-name>
          <article-title>Project of a super charm-tau factory at the Budker Institute of Nuclear Physics in Novosibirsk Phys</article-title>
          . At. Nucl.
          <volume>76</volume>
          pp
          <fpage>1072</fpage>
          -
          <lpage>1085</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Podkorytov</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rodionov</surname>
            <given-names>A</given-names>
          </string-name>
          and
          <string-name>
            <surname>Choo</surname>
            <given-names>H 2012</given-names>
          </string-name>
          <article-title>Agent-based simulation system AGNES for networks modeling: review and researching Proc</article-title>
          .
          <source>Int. Conf. on Ubiquitous Information Management</source>
          and
          <string-name>
            <surname>Communication (Kuala Lumpur</surname>
          </string-name>
          , Malaysia) P115
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Glinskiy</surname>
            <given-names>B M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kulikov</surname>
            <given-names>I M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chernykh</surname>
            <given-names>I G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Snytnikov</surname>
            <given-names>A V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sapetina A F and Weins D V 2017</surname>
          </string-name>
          <article-title>The Integrated Approach to Solving Large-Size Physical Problems on Supercomputers CCIS</article-title>
          793 pp
          <fpage>278</fpage>
          -
          <lpage>289</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Wiens</surname>
          </string-name>
          .
          <article-title>Analysis of the effectiveness of the task flow control system for the SCC in a multiagent simulation model / / Vestnik NSU</article-title>
          . - vol.
          <volume>12</volume>
          . - issue 2. -
          <fpage>2014</fpage>
          . - pp.
          <fpage>33</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Weins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Vorobyev</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Chernykh</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Logashenko.</surname>
          </string-name>
          <article-title>Development of simulation model of HPC system for Super Charm-Tau factory /</article-title>
          / Journal of Physics: Conference Series. -
          <year>2019</year>
          . - V.
          <year>1336</year>
          . - Article Number 012025.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Infrastructure</surname>
            <given-names>SSCC</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cluster</surname>
            <given-names>HKC</given-names>
          </string-name>
          -1P // http://sscc.icmmg.nsc.ru/hardware.
          <source>html (accessed 16.9</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>