1. Shared Memory Enhanced Cloud as a Computing Tool for Micromagnetic Simulations
- Author
-
Harald Richter and Pavle Ivanovic
- Subjects
Speedup ,business.industry ,Computer science ,Cloud computing ,Parallel computing ,Solver ,computer.software_genre ,Software ,Shared memory ,Virtual machine ,Isolation (database systems) ,business ,computer ,Communication channel - Abstract
Complex simulations are rarely performed in clouds because of huge overheads and latencies that occur in a virtual environment. Also, in many cases, standard communication channels based on TCP/IP could not bring any performance gains if a multi-VM setup is engaged. Therefore, clouds have to be tuned and modified in order to be used as HPC computing tools. In this paper, we present a rebuild of Magpar, a perspective micromagnetic solver that became broken with recent Linux updates. We have restored it to the original version and further updated its obsolete MPI communication libraries with the latest MPI-3 standard at the time. However, in order to achieve significant performance improvements, we had to break the existing VM isolation by engaging inter-VM shared-memory or ivshmem, which comes in a form of a PCI device. For this purpose, we have used free MVAPICH2-virt software that has built-in support for ivshmem and then integrated it into Magpar. As a result, we have achieved that Magpar is run for the first time in OpenStack cloud using ivshmem as a shared memory channel. Furthermore, we have shown the relation between the number of processing elements and initial problem size with respect to the saturation of computing time speedup. Finally, our measurements showed improvements in execution time between factors of 1.6 - 6, depending on the number of vCPUs and VMs engaged, compared with the standard TCP/IP communication channel.
- Published
- 2019