{"id":7024,"date":"2021-06-09T10:35:41","date_gmt":"2021-06-09T07:35:41","guid":{"rendered":"http:\/\/journals.khnu.km.ua\/vestnik\/?p=7024"},"modified":"2021-08-04T13:54:35","modified_gmt":"2021-08-04T10:54:35","slug":"%d0%b4%d0%be%d1%81%d0%bb%d1%96%d0%b4%d0%b6%d0%b5%d0%bd%d0%bd%d1%8f-%d1%81%d0%b8%d1%81%d1%82%d0%b5%d0%bc%d0%bd%d0%b8%d1%85-%d0%bf%d1%80%d0%be%d1%86%d0%b5%d1%81%d1%96%d0%b2-%d1%82%d0%b0-%d0%ba%d0%be","status":"publish","type":"post","link":"https:\/\/journals.khnu.km.ua\/vestnik\/?p=7024","title":{"rendered":"\u0414\u043e\u0441\u043b\u0456\u0434\u0436\u0435\u043d\u043d\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432 \u0442\u0430 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u043e\u0457 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 android \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0456 \u044f\u0432\u0438\u0449\u0430 \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f"},"content":{"rendered":"<p><!--more--><\/p>\n<p style=\"text-align: center;\">\u0414\u041e\u0421\u041b\u0406\u0414\u0416\u0415\u041d\u041d\u042f \u0421\u0418\u0421\u0422\u0415\u041c\u041d\u0418\u0425 \u041f\u0420\u041e\u0426\u0415\u0421\u0406\u0412 \u0422\u0410 \u041a\u041e\u0420\u0418\u0421\u0422\u0423\u0412\u0410\u0426\u042c\u041a\u0418\u0425 \u0414\u041e\u0414\u0410\u0422\u041a\u0406\u0412 \u041e\u041f\u0415\u0420\u0410\u0426\u0406\u0419\u041d\u041e\u0407 \u0421\u0418\u0421\u0422\u0415\u041c\u0418 ANDROID \u0412 \u041a\u041e\u041d\u0422\u0415\u041a\u0421\u0422\u0406 \u042f\u0412\u0418\u0429\u0410 \u0421\u0422\u0410\u0420\u0406\u041d\u041d\u042f \u041f\u0420\u041e\u0413\u0420\u0410\u041c\u041d\u041e\u0413\u041e \u0417\u0410\u0411\u0415\u0417\u041f\u0415\u0427\u0415\u041d\u041d\u042f<\/p>\n<p style=\"text-align: center;\">RESEARCH OF SOFTWARE AGING IN ANDROID SYSTEM PROCESSES AND USER APPLICATIONS<\/p>\n<p><strong>\u0421\u0442\u043e\u0440\u0456\u043d\u043a\u0438: 64-70. \u041d\u043e\u043c\u0435\u0440: \u21162, 2021 (295)<\/strong> <a href=\"http:\/\/journals.khnu.km.ua\/vestnik\/wp-content\/uploads\/2021\/08\/11.pdf\"> <img loading=\"lazy\" class=\"size-full wp-image-69 alignnone\" src=\"http:\/\/journals.khnu.km.ua\/vestnik\/wp-content\/uploads\/2021\/01\/pdf.png\" alt=\"\" width=\"76\" height=\"32\" \/><\/a><br \/>\n<strong>\u0410\u0432\u0442\u043e\u0440\u0438:<\/strong><br \/>\n\u0412.\u0421. \u042f\u041a\u041e\u0412\u0418\u041d\u0410, \u0411.\u0412. \u0423\u0413\u0420\u0418\u041d\u041e\u0412\u0421\u042c\u041a\u0418\u0419<br \/>\n\u041d\u0430\u0446\u0456\u043e\u043d\u0430\u043b\u044c\u043d\u0438\u0439 \u0443\u043d\u0456\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442 \u00ab\u041b\u044c\u0432\u0456\u0432\u0441\u044c\u043a\u0430 \u043f\u043e\u043b\u0456\u0442\u0435\u0445\u043d\u0456\u043a\u0430\u00bb<br \/>\nVITALIY S. YAKOVYNA, BOHDAN V. UHRYNOVSKYI<br \/>\nLviv Polytechnic National University<br \/>\n<strong>DOI:<\/strong> <a href=\"https:\/\/www.doi.org\/10.31891\/2307-5732-2021-295-2-64-70\">https:\/\/www.doi.org\/10.31891\/2307-5732-2021-295-2-64-70<\/a><br \/>\n<strong>\u0420\u0435\u0446\u0435\u043d\u0437\u0456\u044f\/Peer review :<\/strong> 23.03.2021 \u0440.<br \/>\n<strong>\u041d\u0430\u0434\u0440\u0443\u043a\u043e\u0432\u0430\u043d\u0430\/Printed :<\/strong> 02.06.2021 \u0440.<br \/>\n<strong>\u0410\u043d\u043e\u0442\u0430\u0446\u0456\u044f \u043c\u043e\u0432\u043e\u044e \u043e\u0440\u0438\u0433\u0456\u043d\u0430\u043b\u0443<\/strong><br \/>\n\u0412 \u0440\u043e\u0431\u043e\u0442\u0456 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0438 \u0434\u043e\u0441\u043b\u0456\u0434\u0436\u0435\u043d\u044c \u044f\u0432\u0438\u0449\u0430 \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0456 Android. \u0412\u0438\u043a\u043e\u043d\u0430\u043d\u043e \u0430\u043d\u0430\u043b\u0456\u0437 \u043e\u0446\u0456\u043d\u043a\u0438 oom_adj_score \u0442\u0430 \u043d\u0430 \u0457\u0457 \u043e\u0441\u043d\u043e\u0432\u0456 \u0432\u0438\u0434\u0456\u043b\u0435\u043d\u043e \u0434\u0432\u0456 \u0433\u0440\u0443\u043f\u0438: \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u043f\u0440\u043e\u0446\u0435\u0441\u0438 \u0442\u0430 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0438. \u0410\u043d\u0430\u043b\u0456\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432 \u043f\u043e\u043a\u0430\u0437\u0430\u0432, \u0449\u043e \u0456\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f \u0454 \u043f\u0440\u043e\u0446\u0435\u0441\u0438 system_server \u0442\u0430 surfaceflinger, \u0430 \u0442\u0430\u043a\u043e\u0436 com.android.phone, cameraserver \u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u043e\u0457 \u043a\u043d\u0438\u0433\u0438 \u0442\u0430 \u043a\u0430\u043c\u0435\u0440\u0438. \u0412 \u0441\u0432\u043e\u044e \u0447\u0435\u0440\u0433\u0443, \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0456 \u0434\u043e\u0434\u0430\u0442\u043a\u0438 \u0442\u0430\u043a\u043e\u0436 \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u0456 \u0434\u043e \u044f\u0432\u0438\u0449\u0430 \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f, \u0449\u043e \u0441\u043f\u043e\u0441\u0442\u0435\u0440\u0456\u0433\u0430\u0454\u0442\u044c\u0441\u044f \u0432 \u043c\u043e\u0436\u043b\u0438\u0432\u0438\u0445 \u0432\u0438\u0442\u043e\u043a\u0430\u0445 \u043f\u0430\u043c\u2019\u044f\u0442\u0456 \u0442\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430\u0445 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043a\u0430\u0434\u0440\u0456\u0432 UI. \u0417\u0430\u043f\u0440\u043e\u043f\u043e\u043d\u043e\u0432\u0430\u043d\u043e \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u0432\u0430\u0442\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0456 \u043f\u0440\u043e\u0446\u0435\u0441\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0456 \u043e\u043c\u043e\u043b\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f, \u0430 \u0434\u043b\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044c\u043a\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432 \u0440\u0435\u0430\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0441\u043e\u0431\u0438, \u044f\u043a\u0456 \u0431 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0438\u043b\u0438 \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0456\u0432 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0454\u044e \u043f\u0440\u043e \u0441\u0442\u0430\u043d \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0438 \u0434\u043b\u044f \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u043f\u043e\u0431\u0443\u0434\u043e\u0432\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0456\u0432 \u0437 \u0443\u0440\u0430\u0445\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0446\u044c\u043e\u0433\u043e \u0441\u0442\u0430\u043d\u0443.<br \/>\n<strong>\u041a\u043b\u044e\u0447\u043e\u0432\u0456 \u0441\u043b\u043e\u0432\u0430:<\/strong> \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f, \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441\u0442\u0430\u0440\u0456\u043d\u043d\u044f, \u043e\u043c\u043e\u043b\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f, \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430, Android.<\/p>\n<p style=\"text-align: center;\"><strong>\u0420\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u0430 \u0430\u043d\u043e\u0442\u0430\u0446\u0456\u044f \u0430\u043d\u0433\u043b\u0456\u0439\u0441\u044c\u043a\u043e\u044e \u043c\u043e\u0432\u043e\u044e<\/strong><\/p>\n<p>Android operating system is vulnerable to the aging-related effects such as performance degradation and increased of aging-related failures rate due prolonged usage of a mobile device without rebooting. This paper considers software aging phenomenon in system processes and user applications of the Android operating system and means for counteracting this phenomenon. Experimental research was performed using a methodology that consists in performing stress tests on mobile applications, collecting system data on running processes, converting the collected data into time series for the relevant metrics and analyzing these data using statistical methods. Thus, the analysis of oom_adj_score for determining processes priorities in the context of software aging allowed to identify two groups of processes, namely system processes and user applications. It is also pointed out the possibility of using oom_adj_score to determine the state of system usage in the tasks of software aging predicting and performing software rejuvenation. The results of the system processes analysis showed that the indicators of aging are system_server and surfaceflinger processes, as well as com.android.phone, cameraserver in the case of active use of contacts and camera applications. The considered processes can be used to implement software rejuvenation. Research has shown that user applications are also vulnerable to aging-related effects, but the rejuvenation procedure cannot be applied to them at the system level. It is important to take steps to prevent aging-related errors, such as using appropriate data structures and algorithms for efficient memory management, minimizing the load on the main UI stream, and using effective graphics techniques to reduce the number of delayed frames. In future works it is important to investigate the considered system processes and services in tasks of software aging forecasting and performing of rejuvenation procedure. It is important for user applications to develop tools that provide developers with information about the state of software aging in the system, which would allow to decide on the feasibility of performing important and resource-intensive tasks in conditions when the system is already in a state with a high probability of aging-related failure.<br \/>\n<strong>Keywords:\u00a0<\/strong> software aging, aging metrics, software rejuvenation, operating system, Android.<\/p>\n<p style=\"text-align: center;\"><strong>References<\/strong><\/p>\n<ol>\n<li>Parnas D. L. Software aging \/ L. Parnas \/\/ Proceedings of 16th International Conference on Software Engineering. \u2013 1994. \u2013 P. 279-287. URL: <a href=\"https:\/\/doi.org\/10.1109\/ICSE.1994.296790\">https:\/\/doi.org\/10.1109\/ICSE.1994.296790<\/a><\/li>\n<li>Huang Software rejuvenation: analysis, module and applications \/ Y. Huang, C. Kintala, N. Kolettis, N. Fulton \/\/ Proceedings of Twenty-Fifth International Symposium on Fault-Tolerant Computing. \u2013 1995. \u2013 P. 381\u2013390. URL: <a href=\"https:\/\/doi.org\/10.1109\/FTCS.1995.466961\">https:\/\/doi.org\/10.1109\/FTCS.1995.466961<\/a><\/li>\n<li>Dohi Handbook of software aging and rejuvenation \/ T. Dohi, K. Trivedi, A. Avritzer \/\/ World Scientific Publishing Co Pte Ltd. \u2013 2020. \u2013 P. 424. URL: <a href=\"https:\/\/doi.org\/10.1142\/11673\">https:\/\/doi.org\/10.1142\/11673<\/a><\/li>\n<li>Grottke The fundamentals of software aging \/ M. Grottke, R. M. Jr, K. S. Trivedi \/\/ IEEE International Conference on Software Reliability Engineering Workshops. \u2013 2008. \u2013 P. 1-6. URL: <a href=\"https:\/\/doi.org\/10.1109\/ISSREW.2008.5355512\">https:\/\/doi.org\/10.1109\/ISSREW.2008.5355512<\/a><\/li>\n<li>Cotroneo Software aging analysis of the android mobile os \/ D. Cotroneo, F. Fucci, A. K. Iannillo, R.\u00a0Natella, R. Pietrantuono \/\/ IEEE 27th International Symposium on Software Reliability Engineering. \u2013 2016. \u2013 P.478\u2011489. URL: <a href=\"https:\/\/doi.org\/10.1109\/ISSRE.2016.25\">https:\/\/doi.org\/10.1109\/ISSRE.2016.25<\/a><\/li>\n<li>Cotroneo D. A Comprehensive Study on Software Aging across Android Versions and Vendors \/ D.\u00a0Cotroneo, A. K. Iannillo, R. Natella, R. Pietrantuono \/\/ Empirical Software Engineering. \u2013 2020. \u2013 Volume 25(3). \u2011P. 3357-3395.<\/li>\n<li>Yakovyna V. S. Starinnia prohramnoho zabezpechennia mobilnykh dodatkiv: analiz problematyky \/ V.S. Yakovyna, B. V. Uhrynovskyi \/\/ Naukovyi visnyk NLTU Ukrainy. \u2013 \u2116 30(2). \u2013 S. 107\u2013112. URL: https:\/\/doi.org\/10.36930\/40300219<\/li>\n<li>Cotroneo D. A Configurable Software Aging Detection and Rejuvenation Agent for Android \/ Cotroneo D., Simone, L. D., Natella, R., Pietrantuono, R., Russo, S. \/\/ 11th Intl Workshop on Software Aging and Rejuvenation (WoSAR). \u2013 2019. URL: <a href=\"https:\/\/doi.org\/10.1109\/ISSREW.2019.00078\">https:\/\/doi.org\/10.1109\/ISSREW.2019.00078<\/a><\/li>\n<li>Abdullah H. Software Ageing Prevention from Software Maintenance Perspective \u2013 A Review \/ Z.H.\u00a0Abdullah, J. H. Yahaya, Z. Mansor, A. Deraman \/\/ Journal of Telecommunication, Electronic and Computer Engineering. \u2013 2017. \u2013 Volume 9(3-4). \u2013 P. 93-96.<\/li>\n<li>Wu Software aging in mobile devices: Partial computation offloading as a solution \/ H. Wu, K.\u00a0Wolter \/\/ IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW). \u2013 2015. \u2013 P. 125\u2013131. URL: <a href=\"https:\/\/doi.org\/10.1109\/ISSREW.2015.7392057\">https:\/\/doi.org\/10.1109\/ISSREW.2015.7392057<\/a><\/li>\n<li>Yakovyna S. User-Perceived Response Metrics in Android OS for Software Aging detection \/ V.S.\u00a0Yakovyna, B. V. Uhrynovskyi \/\/ IEEE 15th International Conference on Computer Sciences and Information Technologies (CSIT). \u2013 2020. URL: <a href=\"https:\/\/doi.org\/10.1109\/CSIT49958.2020.9322031\">https:\/\/doi.org\/10.1109\/CSIT49958.2020.9322031<\/a><\/li>\n<li>Test UI Performance \u2013 Android URL:\u00a0 <a href=\"https:\/\/developer.android.com\/training\/testing\/performance\">https:\/\/developer.android.com\/training\/testing\/performance<\/a><\/li>\n<li>Memory allocation among processes \u2013 Android Developers. URL: <a href=\"https:\/\/developer.android.com\/topic\/performance\/memory-management\">https:\/\/developer.android.com\/topic\/performance\/memory-management<\/a><\/li>\n<li>Garg A Methodology for Detection and Estimation of Software Aging \/ S. Garg, A. V. Moorsel, K.\u00a0Vaidyanathan, K. S. Trivedi \/\/ Proc. of the 9th Intl. Symp. on Software Reliability Engineering (ISSRE). \u2013 1998<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[46],"tags":[],"_links":{"self":[{"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/posts\/7024"}],"collection":[{"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7024"}],"version-history":[{"count":3,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/posts\/7024\/revisions"}],"predecessor-version":[{"id":7308,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=\/wp\/v2\/posts\/7024\/revisions\/7308"}],"wp:attachment":[{"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/journals.khnu.km.ua\/vestnik\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}