|国家预印本平台
首页|基于共享内存加速逆设计进程间通信

基于共享内存加速逆设计进程间通信

ccelerated reverse-design interprocess communication based on shared memory

中文摘要英文摘要

基于微纳光子器件逆设计仿真平台,对优化算法和电磁场求解器之间的参数传递进行了耗时分析,设计了基于共享内存的进程间mixture通信方式。对比优化前的HDF5文件方式,mixture通信方式减少了参数传递耗时,并且在多个仿真任务同时开启时,该优化方式下的参数传递时间保持稳定。此优化方式可将单任务仿真总耗时减少19.48%,在同时开启任务数分别为2、3、4时,减少了33.435%、61.849%、45.744%的耗时。?

Based on the inverse design experimental platform of micro-nano photonic devices, the time-consuming analysis of parameter transfer between the optimization algorithm and the electromagnetic field solver is carried out, and the inter-process "mixture" communication method based on shared memory is designed. Compared with the HDF5 file method before optimization, the "mixture" communication method reduces the parameter transfer time, and the parameter transfer time in this optimization mode remains stable when multiple simulation tasks are started at the same time. This optimization method can reduce the total time consumption of single-task simulation by 19.48%, and reduce the time consumption by 33.435%, 61.849%, and 45.744% when the number of tasks is started at the same time when the number of tasks is 2, 3, and 4 respectively.

邱吉芳、郑云

光电子技术通信

逆设计共享内存多进程

inverse designshared memorymulti-process

邱吉芳,郑云.基于共享内存加速逆设计进程间通信[EB/OL].(2023-04-07)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/202304-106.点此复制

评论