Bottlenecks in Implementation of the Mode Decomposition Algorithm Based on Phase-Only Spatial Light Modulator

Nikolai N. Smolyaninov, Denis S. Kharenko

Research output: Chapter in Book/Report/Conference proceedingConference contributionResearchpeer-review

Abstract

The article covers automation of a mode decomposition experiment made for a highly multimode laser beam and the issues of applied algorithm's software implementation which have occurred in the process. A short description of the experimental setup and the architecture of the resulting automation solution are given. It was established that the bottlenecks were pseudoparallel threads' execution implemented in Python language interpreter and ineffective direct data copying by the tools of this language from subsystems implemented on C# language. The article also shares the description of methods helping to minimize the negative impact of these 'bottlenecks'. Due to efficient use of NumPy library procedures and native Python threads we managed to partially get round the restrictions of global interpreter lock which allows to use real multithreading of multicore computation systems. With regard to the automation of the installation at hand, we succeeded in reducing the time for one measurement by an average factor of 4, namely from 20 to 5 minutes. This allowed to reduce the full measurement cycle, which would earlier run for over 5 hours, by the same factor.

Original languageEnglish
Title of host publicationProceedings of the 2022 IEEE 23rd International Conference of Young Professionals in Electron Devices and Materials, EDM 2022
PublisherIEEE Computer Society
Pages693-697
Number of pages5
ISBN (Electronic)9781665498043
DOIs
Publication statusPublished - 2022
Event23rd IEEE International Conference of Young Professionals in Electron Devices and Materials, EDM 2022 - Altai, Russian Federation
Duration: 30 Jun 20224 Jul 2022

Publication series

NameInternational Conference of Young Specialists on Micro/Nanotechnologies and Electron Devices, EDM
Volume2022-June
ISSN (Print)2325-4173
ISSN (Electronic)2325-419X

Conference

Conference23rd IEEE International Conference of Young Professionals in Electron Devices and Materials, EDM 2022
Country/TerritoryRussian Federation
CityAltai
Period30.06.202204.07.2022

Keywords

  • C#
  • Experiment automation
  • global interpreter lock (GIL)
  • NumPy
  • Python 3

OECD FOS+WOS

  • 1.03 PHYSICAL SCIENCES AND ASTRONOMY

Fingerprint

Dive into the research topics of 'Bottlenecks in Implementation of the Mode Decomposition Algorithm Based on Phase-Only Spatial Light Modulator'. Together they form a unique fingerprint.

Cite this