Архитектура распределенной вычислительной системы на базе мобильных устройств

Автор: Ульяничев И.С., Винс Д.В.

Журнал: Проблемы информатики @problem-info

Рубрика: Прикладные информационные технологии

Статья в выпуске: 1 (62), 2024 года.

Бесплатный доступ

В статье предложена архитектура математического и программного обеспечения распределенной вычислительной системы, построенной на базе мобильных устройств в общей сетевой инфраструктуре. Распределенная вычислительная система основана на проблемноориентированной модели выполнения задач (в зарубежной литературе известная как TaskBased Execution Model). Такая модель ориентирована на массовые распределенные вычисления, когда исходная задача допускает декомпозицию на тысячи и более независимых подзадач. Подобная организация вычислений характерна при решении оптимизационных и обратных задач, а также для методов типа Монте-Карло. Особенностью предложенной архитектуры распределенной вычислительной системы является тот факт, что независимые подзадачи требуют временных затрат, сопоставимых со «временем жизни» вычислительного узла. Это обстоятельство требует не только масштабируемости при решении конкретной задачи, но и целостности распределенной вычислительной системы в целом. Это требует от распределенной системы реконфигурируемости и гетерогенности. В статье мы предлагаем одну архитектуру распределенной гетерогенной вычислительной системы с гарантированной оценкой масштабируемости с учетом реконфигурации сети мобильных вычислительных устройств

Еще

Task-based execution model, мобильные вычисления, распределенные вычислительные системы

Короткий адрес: https://sciup.org/143183464

IDR: 143183464   |   УДК: 519.684   |   DOI: 10.24412/2073-0667-2024-1-74-97

Architecture of a distributed computing system based on mobile devices

The article outlines the architecture of the mathematical and software of a distributed computing system based on many mobile devices integrated into a common network infrastructure. The distributed computing system is based on a problem-oriented task execution model (known in foreign literature as the Task-Based Execution Model). This model of distributed computing is most preferable when solving optimization and inverse problems, when the set of admissible sets of input parameters is sufficiently large. At the same time, the tasks themselves are performed independently, but require significant time expenditures to solve each specific task, comparable to the “lifetime” of a computing node. The Task-Based Execution Model approach allows you to reduce the amount of information transferred between the server and the node, which in turn improves overall performance. The DHCA system we offer has a client-server architecture and is tailored for the Android system. The mobile client is written using the latest Android approaches to background computing, which allows for increased performance as well as improved security for end users. The system takes into account all the features of the interaction of client-server architecture for distributed systems, and also solves the problem associated with the unavailability of computing nodes by automatically redistributing tasks. Open source code increases trust in the system from end users, which can have a beneficial effect on the number of active participants in computing. The web client is a web application written in PHP. User interaction with the web client interface is carried out using the jQuery JavaScript library, which allows you to send requests and receive data from the server asynchronously. Interaction with the server is carried out through HTTP requests to the REST API, written in PHP. The DHCA server is a web server with PHP support, with a connected MySQL database. Thanks to the modular architecture of the API used, any relational DBMS that supports the structured query language SQL can be connected to the system. The mobile client is an application installed on a smartphone running Android operating system version 6.0 (Marshmallow) and higher. The client is written in Kotlin using the MVVM design pattern. The mobile client carries out all interactions with the server API using the Retrofit library, designed for processing HTTP requests. All data is returned in JSON format. Information messages are sent to the mobile client by the Firebase Cloud Messaging (FCM) library. To derive a formula for assessing scalability for the presented architecture, we take into account the following parameters: t - time required to calculate one data block; N - number of blocks to be calculated (in the case of a ray tracing problem, number of pixels); P is the number of devices involved in the calculation, t0 is the time required for the initial breakdown of the source data into computational blocks; tw - time of writing one initial block to the database after splitting; ts - time required for the client to receive one block of data from the server (send); tr - time required for the server to receive the calculated data block from the client (receive); tv - time required to write the result of the calculated block to the database (saVe). We obtain the calculation time on p devices T(P). Through acceleration as the ratio of T(l) to T(P), we obtain P devices at which maximum acceleration is achieved. To demonstrate the robustness of the developed system, a solution to three problems is presented, in which each elementary task has a different load on the processor and on the network infrastructure. Let us highlight three such tasks: 1) The problem of inverse ray tracing, which is characterized by a significant amount of transmitted data to form a scene and the received data of a full image block. At the same time, the time for ray tracing is much longer relative to the data transmission time. 2) The white dwarf collision problem, which is formulated in a one-dimensional formulation and is characterized by the transmission of only six values to describe the state of the dwarfs before the collision and one output value describing the maximum temperature during the collision. In this case, the calculation time is comparable to the data transmission time. The problem has an analytical solution that requires the resolution of nonlinear equations and is described in detail in the work. 3) The problem of nuclear combustion of carbon in white dwarfs, which is formulated in the form of changes in the concentrations of the main isotopes during nuclear combustion of carbon during the solution of the ODE system.

Еще

Список литературы Архитектура распределенной вычислительной системы на базе мобильных устройств

  • Armbrust M., Fox A., Griffith R., Joseph A.D, Katz R. H, Konwinski A., Lee G., Patterson D. A, Rabkin A., I. Stoica, et al. Above the clouds: A berkeley view of cloud computing // Technical Report. Technical Report UCB/EECS-2009-28, EECS Department, University of California, Berkeley. 2009.
  • Buyya R., Yeo C. S., Venugopal S., Broberg J., Brandic I. Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility // Future Generation Computer Systems. 2009. 25(6). P. 599–616.
  • Foster I., Kesselman C., Tuecke S. Anatomy of the Grid: Enabling Scalable Virtual Organizations // International Journal of High Performance Computing Applications. 2001. 15(3). P. 200–222.
  • Foster I., Zhao Y., Raicu I., Lu S. Cloud Computing and Grid Computing 360-degree Compared // Grid Computing Environments Workshop (GCE’08). 2008. P. 1–10.
  • Peer-to-peer (P2P). [Электрон. Рес.]: https://www.techtarget.com/searchnetworking/definition/peer-to-peer (дата обращения 26.04.2022).
  • Одноранговые вычисления. [Электрон. Рес.]: https://melimde.com/koncepciyaoperacionnih- sistem.html?page=47 (дата обращения 26.04.2022).
  • Lavoie E., Hendren L. Personal Volunteer Computing // Proceedings of the 16th ACM International Conference on Computing Frontiers. 2019. P. 240–246.
  • Virtejanu I., Nitu С. Programming distributed applications for mobile platforms using MPI // U.P.B. Sci. Bull. 2013. 75(4).
  • Attia D. E., ElKorany A. M., Moussa A. S. High Performance Computing Over Parallel Mobile Systems // International Journal of Advanced Computer Science and Applications. 2016. 7(9). P. 99–103.
  • B¨usching F., Schildt S., Wolf L. DroidCluster: Towards Smartphone Cluster Computing — The Streets are Paved with Potential Computer Clusters // 32nd International Conference on Distributed Computing Systems Workshops. 2012. P. 114-117.
  • Prem Kumar M., Bhat R. R., Alavandar S. R., Ananthanarayana V. S. Distributed Public Computing and Storage using Mobile Devices // 2018 IEEE Distributed Computing, VLSI, Electrical Circuits and Robotics (DISCOVER). 2018. P. 82–87.
  • Nizamov N. R., Shahova I. S. Mechanisms for using mobile devices in distributed computing // Russian Digital Libraries Journal. 2019. 22(4). P. 200–213.
  • Fadlallah G., Mcheick H., Rebaine D. Layered Architectural Model for Collaborative Computing in Peripheral Autonomous Networks of Mobile Devices // Procedia Computer Science. 2019. 155. P. 201–209.
  • Arslan M. Y. Computing While Charging: Building a Distributed Computing Infrastructure Using Smartphones // Proceedings of the 8th international conference on Emerging networking experiments and technologies. 2012. P. 193–204.
  • Pratt T. K., Seitelman L. H., Zampano R. R., Murphy C.E., Landis F. Optimization applications for aircraft engine design and manufacture // Advances in Engineering Software. 1993. V. 16, I. 2. P. 111–117.
  • Kabanikhin S. I., Kulikov I. M., Shishlenin M. A. An algorithm for recovering the characteristics of the initial state of supernova // Computational Mathematics & Mathematical Physics. 2020. V. 60, I. 6. P. 1008–1016.
  • Stone J., Tomida K., White C., Felker K. The Athena++ Adaptive Mesh Refinement Framework: Design and Magnetohydrodynamic Solvers // The Astrophysical Journal Supplement Series. 2020. V. 249. Article Number 4.
  • Kulikov I., Chernykh I., Tutukov A. A New Hydrodynamic Code with Explicit Vectorization Instructions Optimizations that Is Dedicated to the Numerical Simulation of Astrophysical Gas Flow. I. Numerical Method, Tests, and Model Problems // The Astrophysical Journal Supplement Series. 2019. V. 243. Article Number 4.
  • Kulikov I. M., Chernykh I. G., Tutukov A. V. Mathematical Modeling of a High-Speed Collision of White Dwarfs-the Explosion Mechanism of Type Ia/Iax Supernovae // Journal of Applied and Industrial Mathematics. 2022. V. 16. P. 80–88.
  • Kulikov I. M., Chernykh I. G., Ulyanichev I. S., Tutukov A. V. Mathematical Simulation of Nuclear Carbon Burning in White Dwarfs Using a 7-Isotope Reaction Network // Journal of Applied and Industrial Mathematics. 2022. V. 16. P. 440–448.
  • Kulikov I. GPUPEGAS: A New GPU-accelerated Hydrodynamic Code for Numerical Simulations of Interacting Galaxies // The Astrophysical Journal Supplements Series. 2014. V. 214. Article Number 12.
  • Kulikov I. M., Chernykh I. G., Snytnikov A. V., Glinskiy B. M., Tutukov A. V. AstroPhi: A code for complex simulation of dynamics of astrophysical objects using hybrid supercomputers // Computer Physics Communications. 2015. V. 186. P. 71–80.
  • Kulikov I., Chernykh I., Karavaev D., Sapetina A. The Energy Efficiency Research of Godunov Method on Intel Xeon Scalable Architecture // IEEE. 2021 Ivannikov Ispras Open Conference (ISPRAS). 2022. Article Number 21722440.
  • Kulikov I., Chernykh I., Karavaev D., Sapetina A., Lomakin S. The Efficiency of Hydrodynamic Code on Intel Xeon Scalable Architecture // IEEE. 2021 Ivannikov Memorial Workshop (IVMEM). 2022. Article Number 21704168.
Еще