<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">sibsutis</journal-id><journal-title-group><journal-title xml:lang="ru">Вестник СибГУТИ</journal-title><trans-title-group xml:lang="en"><trans-title>The Herald of the Siberian State University of Telecommunications and Information Science</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1998-6920</issn><publisher><publisher-name>СибГУТИ</publisher-name></publisher></journal-meta><article-meta><article-id custom-type="elpub" pub-id-type="custom">sibsutis-382</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Статьи</subject></subj-group></article-categories><title-group><article-title>Автоматическая инициализация источника времени для получения высокоточных временны́х измерений в пространстве пользователя</article-title><trans-title-group xml:lang="en"><trans-title>Self-configurable time source initialization for obtaining high-precision user-space timing</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Федотова</surname><given-names>И. С.</given-names></name><name name-style="western" xml:lang="en"><surname>Fedotova</surname><given-names>I. ..</given-names></name></name-alternatives><email xlink:type="simple">fis.irina@gmail.com</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Сименс</surname><given-names>Э. ..</given-names></name><name name-style="western" xml:lang="en"><surname>Siemens</surname><given-names>E. ..</given-names></name></name-alternatives><email xlink:type="simple">e.siemens@emw.hs-anhalt.de</email><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>СибГУТИ</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Siberian State University of Telecommunications and Informatics</institution><country>Russian Federation</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>Университет Анхальта</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Anhalt University of Applied Sciences</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2012</year></pub-date><pub-date pub-type="epub"><day>26</day><month>10</month><year>2022</year></pub-date><volume>0</volume><issue>4</issue><fpage>22</fpage><lpage>30</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Федотова И.С., Сименс Э..., 2022</copyright-statement><copyright-year>2022</copyright-year><copyright-holder xml:lang="ru">Федотова И.С., Сименс Э...</copyright-holder><copyright-holder xml:lang="en">Fedotova I..., Siemens E...</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://vestnik.sibsutis.ru/jour/article/view/382">https://vestnik.sibsutis.ru/jour/article/view/382</self-uri><abstract><p>В статье описываются алгоритмы и логики идентификации высокопроизводительного источника времени в пространстве пользователя, наряду с экспериментальным сравнением точности и стоимости выполнения на ЦПУ доступных временны́х источников ОС Linux. Данный механизм представлен в рамках унифицированной библиотеки HighPerTimer , которая позволяет идентифицировать наиболее подходящий и наиболее точный источник как на ПК-платформе, так и на архитектуре ARM, и получать высокоточные временные интервалы с разрешением до наносекунд. Данное решение заменяет хорошо известный способ получения значения времени средствами системных вызовов OC Linux и обеспечивает намного более быстрый подход для сбора временны́х меток.</p></abstract><trans-abstract xml:lang="en"><p>In this paper, the algorithms and identification logics of a high performance user-space time source are described along with an experimental comparison of the accuracy and CPU costs of the available time sources under the Linux OS. This mechanism is presented within the unified user-space library HighPerTimer which allows identification of the most appropriate and accurate time source on PC-platforms as well as on ARM-architectures and obtaining a high-accurate down to nanosecond precision of time acquisition. This solution substitutes the accustomed way of getting time value through Linux system calls and provides much faster way for time acquisition.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>точность временны́х меток</kwd><kwd>аппаратные временны́е метки</kwd><kwd>регистрация времени</kwd><kwd>высокопроизводительные вычисления</kwd></kwd-group><kwd-group xml:lang="en"><kwd>timestamp precision</kwd><kwd>hardware timestamping</kwd><kwd>timekeeping</kwd><kwd>HPET</kwd><kwd>TSC</kwd><kwd>high-performance computing</kwd><kwd>HPET</kwd><kwd>TSC</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">R. Takano, T. Kudoh, Y. Kodama, F. Okazaki. High-resolution timer-based packet pacing mechanism on the Linux operating system // IEICE Transactions on Communication, November 2011.</mixed-citation><mixed-citation xml:lang="en">R. Takano, T. Kudoh, Y. Kodama, F. Okazaki. High-resolution timer-based packet pacing mechanism on the Linux operating system // IEICE Transactions on Communication, November 2011.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">J. Micheel, S. Donnelly and I. Graham, Precision time stamping of network packets // Proceedings of the 1st ACM SIGCOMM Workshop on Internet Measurement, San Francisco, California, USA. November 2001.</mixed-citation><mixed-citation xml:lang="en">J. Micheel, S. Donnelly and I. Graham, Precision time stamping of network packets // Proceedings of the 1st ACM SIGCOMM Workshop on Internet Measurement, San Francisco, California, USA. November 2001.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">D. Kachan, E.Siemens, H.Hu. Tools for the high-accuracy time measurement in computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.</mixed-citation><mixed-citation xml:lang="en">D. Kachan, E.Siemens, H.Hu. Tools for the high-accuracy time measurement in computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">H. Hu. Untersuchung und prototypische Implementierung von Methoden zur hochperformanten Zeitmessung unter Linux, (German), Bachelor Thesis, Anhalt University of Applied Sciences, Koethen. November 2011. 1.3. Performance monitoring with the RDTSC instruction. URL: http://www.ccsl.carleton. ca/~jamuir/rdtscpm1.pdf. Issue: June 2011.</mixed-citation><mixed-citation xml:lang="en">H. Hu. Untersuchung und prototypische Implementierung von Methoden zur hochperformanten Zeitmessung unter Linux, (German), Bachelor Thesis, Anhalt University of Applied Sciences, Koethen. November 2011. 1.3. Performance monitoring with the RDTSC instruction. URL: http://www.ccsl.carleton. ca/~jamuir/rdtscpm1.pdf. Issue: June 2011.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">E. Corell, P. Saxholm, D. Veitch. A user friendly TSC clock // in Proc. of PAM, Adelaide. Australia, March, 2006.</mixed-citation><mixed-citation xml:lang="en">E. Corell, P. Saxholm, D. Veitch. A user friendly TSC clock // in Proc. of PAM, Adelaide. Australia, March, 2006.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">S. Siddha, V. Pallipadi, D. Ven. Getting maximum mileage out of tickles // in Proc. of the 2007 Linux Symposium, 2007.</mixed-citation><mixed-citation xml:lang="en">S. Siddha, V. Pallipadi, D. Ven. Getting maximum mileage out of tickles // in Proc. of the 2007 Linux Symposium, 2007.</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Intel IA-PC HPET (High Precision Event Timers) Specification. URL: http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf. Issue: October 2004.</mixed-citation><mixed-citation xml:lang="en">Intel IA-PC HPET (High Precision Event Timers) Specification. URL: http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf. Issue: October 2004.</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">A. Bakharev, E.Siemens, V.Shuvalov. Methodology of high-accuracy measurements of delay in modern computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.</mixed-citation><mixed-citation xml:lang="en">A. Bakharev, E.Siemens, V.Shuvalov. Methodology of high-accuracy measurements of delay in modern computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Enabling Timekeeping Function and Prolonging Battery Life in Low Power Systems, NXP Semiconductors. URL: http://www.digikey.com/us/en/techzone/microcontrol ler/resources/articles/enabling-timekeeping-function.html. 2011.</mixed-citation><mixed-citation xml:lang="en">Enabling Timekeeping Function and Prolonging Battery Life in Low Power Systems, NXP Semiconductors. URL: http://www.digikey.com/us/en/techzone/microcontrol ler/resources/articles/enabling-timekeeping-function.html. 2011.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Intel SpeedStep Technology for the Intel Pentium M Processor, URL: http:// download.intel.com/design/network/papers/30117401.pdf. Issue: March 2012</mixed-citation><mixed-citation xml:lang="en">Intel SpeedStep Technology for the Intel Pentium M Processor, URL: http:// download.intel.com/design/network/papers/30117401.pdf. Issue: March 2012</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Intel 64 and IA-32 Architectures, Software Developer‘s Manual. URL: http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-software-developer-vol-1-2a-2b-3a-3b-manual.pdf. Issue: March 2012.</mixed-citation><mixed-citation xml:lang="en">Intel 64 and IA-32 Architectures, Software Developer‘s Manual. URL: http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-software-developer-vol-1-2a-2b-3a-3b-manual.pdf. Issue: March 2012.</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">J. Ala-Paavola. Software interrupt based real time clock source code project for PIC microcontroller. URL: http://users.tkk.fi/~jalapaav/Electronics/Pic/clock/index. html. August 2007.</mixed-citation><mixed-citation xml:lang="en">J. Ala-Paavola. Software interrupt based real time clock source code project for PIC microcontroller. URL: http://users.tkk.fi/~jalapaav/Electronics/Pic/clock/index. html. August 2007.</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">J. Dike, A user-mode port of the Linux kernel // USENIX Association Berkeley, California, USA, 2000.</mixed-citation><mixed-citation xml:lang="en">J. Dike, A user-mode port of the Linux kernel // USENIX Association Berkeley, California, USA, 2000.</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">K. Jain, R. Sekar. User-level infrastructure for system call interposition: A platform for intrustion detection and confinement // In Proceedings of the ISOC Symposium on Network and Distributed System Security, February 2000.</mixed-citation><mixed-citation xml:lang="en">K. Jain, R. Sekar. User-level infrastructure for system call interposition: A platform for intrustion detection and confinement // In Proceedings of the ISOC Symposium on Network and Distributed System Security, February 2000.</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">GNU Operating System Manual, «Elapsed Time». URL: http://www.gnu.org/ software/libc/manual/html_node/Elapsed-Time.html. Issue: November, 2012.</mixed-citation><mixed-citation xml:lang="en">GNU Operating System Manual, «Elapsed Time». URL: http://www.gnu.org/ software/libc/manual/html_node/Elapsed-Time.html. Issue: November, 2012.</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">ARM v7-M Architecture Reference Manual, URL: http://infocenter.arm.com/help /index.jsp?topic=/com.arm.doc.dui0395b/CIHCAGHH.html. Issue: November 2010.</mixed-citation><mixed-citation xml:lang="en">ARM v7-M Architecture Reference Manual, URL: http://infocenter.arm.com/help /index.jsp?topic=/com.arm.doc.dui0395b/CIHCAGHH.html. Issue: November 2010.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
