<?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">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2020-2-218-233</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-1326</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>Algorithms</subject></subj-group></article-categories><title-group><article-title>Алгоритм оценки максимального времени отклика задач в многопроцессорных системах с интервальной неопределенностью длительности выполнения работ</article-title><trans-title-group xml:lang="en"><trans-title>Research and Development of an Algorithm for the Response Time Estimation in Multiprocessor Systems Under the Interval Uncertainty of the Tasks Execution Times</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-0670-8603</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Гонопольский</surname><given-names>Марк Геннадьевич</given-names></name><name name-style="western" xml:lang="en"><surname>Gonopolskiy</surname><given-names>Mark G.</given-names></name></name-alternatives><bio xml:lang="ru"><p>студент</p><p>Ленинские горы, д. 1, г. Москва, 119991</p></bio><bio xml:lang="en"><p>student</p><p>1 Leninskie Gory, Moscow 119991</p></bio><email xlink:type="simple">gmarkmgw@yandex.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-8716-4128</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Глонина</surname><given-names>Алевтина Борисовна</given-names></name><name name-style="western" xml:lang="en"><surname>Glonina</surname><given-names>Alevtina B.</given-names></name></name-alternatives><bio xml:lang="ru"><p>программист</p><p>Ленинские горы, д. 1, г. Москва, 119991</p></bio><bio xml:lang="en"><p>programmer</p><p>1 Leninskie Gory, Moscow 119991</p></bio><email xlink:type="simple">alevtina@lvk.cs.msu.su</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Московский государственный университет им. М. В. Ломоносова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Lomonosov Moscow State University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2020</year></pub-date><pub-date pub-type="epub"><day>24</day><month>06</month><year>2020</year></pub-date><volume>27</volume><issue>2</issue><fpage>218</fpage><lpage>233</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Гонопольский М.Г., Глонина А.Б., 2020</copyright-statement><copyright-year>2020</copyright-year><copyright-holder xml:lang="ru">Гонопольский М.Г., Глонина А.Б.</copyright-holder><copyright-holder xml:lang="en">Gonopolskiy M.G., Glonina A.B.</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://www.mais-journal.ru/jour/article/view/1326">https://www.mais-journal.ru/jour/article/view/1326</self-uri><abstract><p>В данной статье предложен алгоритм оценки максимального времени отклика задач (Worst Case Response Time — WCRT) в многопроцессорных системах с планировщиками с приоритетом и вытеснением и интервальной неопределенностью длительности выполнения работ. Между задачами имеются зависимости по данным. Для каждой задачи задан приоритет, период и интервал [BCET, WCET], которому принадлежит время выполнения на процессоре работ этой задачи. Если уменьшение времени выполнения задачи A может привести к увеличению времени отклика задачи B, то задача A называется аномальной задачей для задачи B. Согласно выбранному авторами подходу, для получения оценки WCRT некоторой задачи необходимо выполнить два шага. На первом шаге с помощью предложенного в работе алгоритма осуществляется построение множества задач, аномальных для заданной задачи. Приведено доказательство корректности этого алгоритма. На втором шаге с помощью генетического алгоритма выполняется поиск WCRT. Пространство поиска — множество всевозможных наборов длительностей выполнения аномальных задач. Было разработано инструментальное средство на языке Python3, реализующее предложенный подход. Проведено экспериментальное исследование, в ходе которого предложенный метод сравнивался по точности и скорости с двумя известными методами оценки WCRT: методом, не учитывающим интервальную неопределенность, т.е. предполагающим, что время выполнения всех работ равно WCET, а также с переборным методом. Экспериментальное исследование показало, что в отличие от переборного метода, предложенный метод применим для анализа вычислительных систем реальной размерности, а также позволяет достичь большей точности, чем метод, не учитывающий интервальную неопределенность.</p></abstract><trans-abstract xml:lang="en"><p>The paper presents an algorithm for the worst case response time (WCRT) estimation for multiprocessor systems with fixed-priority preemptive schedulers and the interval uncertainty of tasks execution times. Each task has a unique priority within its processor, a period, an execution time interval [BCET, WCET] and can have data dependency on other tasks. If a decrease in the execution time of the task A can lead to an increase in the response time of the another task B, then task A is called an anomalous task for task B. According to the chosen approach, in order to estimate a task’s WCRT, two steps should be performed. The first one is to construct a set of anomalous tasks using the proposed algorithm for the given task. The paper provides the algorithm and the proof of its correctness. The second one is to find the WCRT estimation using a genetic algorithm. The proposed approach has been implemented software as a program in Python3. A set of experiments have been carried out in order to compare the proposed method in terms of precision and speed with two well-known WCRT estimating methods: the method that does not take into account interval uncertainty (assuming that the execution time of a given task is equal to WCET) and the brute force method. The results of the experiments have shown that, in contrast to the brute force method, the proposed method is applicable to the analysis of the real scale computing systems and also allows to achieve greater precision than the method that does not take into account interval uncertainty.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>генетический алгоритм</kwd><kwd>многопроцессорные системы</kwd><kwd>наихудшее время отклика</kwd><kwd>анализ времени отклика</kwd><kwd>аномалии планирования</kwd><kwd>планирование вычислений</kwd></kwd-group><kwd-group xml:lang="en"><kwd>genetic algorithm</kwd><kwd>multiprocessor systems</kwd><kwd>worst-case response times</kwd><kwd>response time analysis</kwd><kwd>scheduling anomalies</kwd><kwd>scheduling</kwd></kwd-group><funding-group><funding-statement xml:lang="ru">Работа выполнена при финансовой поддержке РФФИ (грант № 19–07–00614).</funding-statement><funding-statement xml:lang="en">This work was supported by RFBR (grant No 19–07–00614).</funding-statement></funding-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">N. Holsti, T. Langbacka, and S. Saarinen, “Using a Worst-Case Execution Time Tool for Real-Time Verification of the DEBIE Software”, EUROPEAN SPACE AGENCY-PUBLICATIONS-ESA SP, vol. 457, pp. 307–312, 2000.</mixed-citation><mixed-citation xml:lang="en">N. Holsti, T. Langbacka, and S. Saarinen, “Using a Worst-Case Execution Time Tool for Real-Time Verification of the DEBIE Software”, EUROPEAN SPACE AGENCY-PUBLICATIONS-ESA SP, vol. 457, pp. 307–312, 2000.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">C. Liu and J. H. Anderson, “Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems”, in 2009 30th IEEE Real-Time Systems Symposium, 2009, pp. 425–436.</mixed-citation><mixed-citation xml:lang="en">C. Liu and J. H. Anderson, “Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems”, in 2009 30th IEEE Real-Time Systems Symposium, 2009, pp. 425–436.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">J. C. P. Gutierrez, J. J. G. Garcia, and M. G. Harbour, “Best-Case Analysis for Improving the Worst-Case Schedulability Test for Distributed Hard Real-Time Systems”, in Proceedings of 10th EUROMICRO Workshop on Real-Time Systems, 1998, pp. 35–44.</mixed-citation><mixed-citation xml:lang="en">J. C. P. Gutierrez, J. J. G. Garcia, and M. G. Harbour, “Best-Case Analysis for Improving the Worst-Case Schedulability Test for Distributed Hard Real-Time Systems”, in Proceedings of 10th EUROMICRO Workshop on Real-Time Systems, 1998, pp. 35–44.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">C. L. Liu and J. W. Layland, “Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment”, Journal of the ACM (JACM), vol. 20, no. 1, pp. 46–61, 1973.</mixed-citation><mixed-citation xml:lang="en">C. L. Liu and J. W. Layland, “Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment”, Journal of the ACM (JACM), vol. 20, no. 1, pp. 46–61, 1973.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">J. Kim and et al., “An ILP-Based Worst-Case Performance Analysis Technique for Distributed Real-Time Embedded Systems”, in Proceedings of IEEE 33rd Real-Time Systems Symposium, 2012, pp. 363–372.</mixed-citation><mixed-citation xml:lang="en">J. Kim and et al., “An ILP-Based Worst-Case Performance Analysis Technique for Distributed Real-Time Embedded Systems”, in Proceedings of IEEE 33rd Real-Time Systems Symposium, 2012, pp. 363–372.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">R. Wilhelm, “Why AI+ ILP is Good for WCET, but MC is not, nor ILP Alone”, in International Workshop on Verification, Model Checking, and Abstract Interpretation, 2004, pp. 309–322.</mixed-citation><mixed-citation xml:lang="en">R. Wilhelm, “Why AI+ ILP is Good for WCET, but MC is not, nor ILP Alone”, in International Workshop on Verification, Model Checking, and Abstract Interpretation, 2004, pp. 309–322.</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">A. Brekling, M. R. Hansen, and J. Madsen, “Models and Formal Verification of Multiprocessor System-on-Chips”, The Journal of Logic and Algebraic Programming, vol. 77, no. 1-2, pp. 1–19, 2008.</mixed-citation><mixed-citation xml:lang="en">A. Brekling, M. R. Hansen, and J. Madsen, “Models and Formal Verification of Multiprocessor System-on-Chips”, The Journal of Logic and Algebraic Programming, vol. 77, no. 1-2, pp. 1–19, 2008.</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">J. Kany and S. Madsen, “Design Optimisation of Fault-Tolerant Event-Triggered Embedded Systems”, PhD thesis, Doctoral dissertation, Master’s thesis, Tech. Univ. of Denmark, Lyngby, Denmark, 2007, 176 pp.</mixed-citation><mixed-citation xml:lang="en">J. Kany and S. Madsen, “Design Optimisation of Fault-Tolerant Event-Triggered Embedded Systems”, PhD thesis, Doctoral dissertation, Master’s thesis, Tech. Univ. of Denmark, Lyngby, Denmark, 2007, 176 pp.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">J. Kim and et al., “A Novel Analytical Method for Worst Case Response Time Estimation of Distributed Embedded Systems”, in Proceedings of 50th ACM/EDAC/IEEE Design Automation Conference (DAC), 2013, pp. 1–10.</mixed-citation><mixed-citation xml:lang="en">J. Kim and et al., “A Novel Analytical Method for Worst Case Response Time Estimation of Distributed Embedded Systems”, in Proceedings of 50th ACM/EDAC/IEEE Design Automation Conference (DAC), 2013, pp. 1–10.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">K. Tindell and J. Clark, “Holistic Schedulability Analysis for Distributed Hard Real-Time Systems”, Microprocessing and microprogramming, vol. 40, no. 2-3, pp. 117–134, 1994.</mixed-citation><mixed-citation xml:lang="en">K. Tindell and J. Clark, “Holistic Schedulability Analysis for Distributed Hard Real-Time Systems”, Microprocessing and microprogramming, vol. 40, no. 2-3, pp. 117–134, 1994.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">R. I. Davis and et al., “Controller Area Network (CAN) Schedulability Analysis: Refuted, Revisited and Revised”, Real-Time Systems, vol. 35, no. 3, pp. 239–272, 2007.</mixed-citation><mixed-citation xml:lang="en">R. I. Davis and et al., “Controller Area Network (CAN) Schedulability Analysis: Refuted, Revisited and Revised”, Real-Time Systems, vol. 35, no. 3, pp. 239–272, 2007.</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">J. C. Palencia and M. G. Harbour, “Schedulability Analysis for Tasks with Static and Dynamic Offsets”, in Proceedings 19th IEEE Real-Time Systems Symposium, 1998, pp. 26–37.</mixed-citation><mixed-citation xml:lang="en">J. C. Palencia and M. G. Harbour, “Schedulability Analysis for Tasks with Static and Dynamic Offsets”, in Proceedings 19th IEEE Real-Time Systems Symposium, 1998, pp. 26–37.</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">O. Redell, “Analysis of Tree-Shaped Transactions in Distributed Real-Time Systems”, in Proceedings of 16th Euromicro Conference on Real-Time Systems, 2004, pp. 239–248.</mixed-citation><mixed-citation xml:lang="en">O. Redell, “Analysis of Tree-Shaped Transactions in Distributed Real-Time Systems”, in Proceedings of 16th Euromicro Conference on Real-Time Systems, 2004, pp. 239–248.</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">S. Samii, S. Rafiliu, P. Eles, and Z. Peng, “A Simulation Methodology for Worst-Case Response Time Estimation of Distributed Real-Time Systems”, in Proceedings of the Conference on Design, Automation and Test in Europe, 2008, pp. 556–561.</mixed-citation><mixed-citation xml:lang="en">S. Samii, S. Rafiliu, P. Eles, and Z. Peng, “A Simulation Methodology for Worst-Case Response Time Estimation of Distributed Real-Time Systems”, in Proceedings of the Conference on Design, Automation and Test in Europe, 2008, pp. 556–561.</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">R. Racu and R. Ernst, “Scheduling Anomaly Detection and Optimization for Distributed Systems with Preemptive Task-Sets”, in 12th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS’06), 2006, pp. 325–334.</mixed-citation><mixed-citation xml:lang="en">R. Racu and R. Ernst, “Scheduling Anomaly Detection and Optimization for Distributed Systems with Preemptive Task-Sets”, in 12th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS’06), 2006, pp. 325–334.</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">V. M. Kureychik, Geneticheskiye algoritmy i ih primeneniye. Taganrog: Izd-vo TRTU, 2002, 244 pp.</mixed-citation><mixed-citation xml:lang="en">V. M. Kureychik, Geneticheskiye algoritmy i ih primeneniye. Taganrog: Izd-vo TRTU, 2002, 244 pp.</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">A.B. Glonina,“Programmnoye sredstvo modelirovaniya modulnyh vychislitelnih sistem dlya proverki dopustimosti ih konfguratsiy”, Programmniye produkty i sistemy, vol. 30, no. 4, pp. 574–582, 2017.</mixed-citation><mixed-citation xml:lang="en">A.B. Glonina,“Programmnoye sredstvo modelirovaniya modulnyh vychislitelnih sistem dlya proverki dopustimosti ih konfguratsiy”, Programmniye produkty i sistemy, vol. 30, no. 4, pp. 574–582, 2017.</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>
