摘要
为了高效利用CPU资源并满足多任务调度测试和并行技术需要,以核磁测井仪器的多线程优化问题为研究对象进行建模研究。该研究首先分析了基于LabVIEW的多线程优化机理,详细分析了常用的优化机制;其次设计了核磁测井仪器的多线程优化模型,并分析了优化模型内各种线程的功能和关系;最后,通过多线程优化模型开发出高温多维核磁测井仪器软件(EMRT2.0),并与一维核磁测井仪器软件(EMRT1.0)进行对比试验测试。实验结果表明,EMRT2.0将EMRT1.0的测试周期缩短为原周期的1/2,CPU的利用率从0.4%~1.5%提升到1.4%~6.2%,MATLAB的CPU利用率和物理内存占用降至0。研究实现的多线程优化模型能高效地利用CPU资源对核磁测井仪器进行多任务调度和并行测试。
In order to efficiently utilize CPU resources and meet the needs of multi-task scheduling testing and parallel technology,the modeling research was carried out on the research object of the multi-thread optimization problem of nuclear magnetic logging instruments.This study firstly analyzed the multi-thread optimization mechanism based on LabVIEW,and analyzed the commonly used optimization mechanisms in detail.Secondly,the multi-thread optimization model of nuclear magnetic logging instrument was designed,and the functions and relationships of various threads in the optimization model were analyzed.Finally,the high-temperature multi-dimensional nuclear magnetic logging tool software(EMRT2.0)was developed through the multi-thread optimization model,and a comparative test was carried out with the one-dimensional nuclear magnetic logging tool software(EMRT1.0).The experimental results show that EMRT2.0 shortens the test cycle of EMRT 1.0 to half of the original cycle,the CPU utilization increases from 0.4%~1.5%to 1.4%~6.2%,and the CPU utilization and physical memory usage of MATLAB drop to 0.The multi-thread optimization model realized by the research can efficiently use CPU resources to perform multi-task scheduling and parallel testing of nuclear magnetic logging instruments.
作者
葛亮
蒋炎
张禾
邓勇
肖小汀
薛志波
张嘉伟
GE Liang;JIANG Yan;ZHANG He;DENG Yong;XIAO Xiao-ting;XUE Zhi-bo;ZHANG Jia-wei(School of Mechatronics Engineering,Southwest Petroleum University,Chengdu 610500,China;School of Electrical Information,Southwest Petroleum University,Chengdu 610500,China;Oilfield Technology Research Institute of China Oilfield Services Co.,Ltd.,Sanhe 065200,China)
出处
《仪表技术与传感器》
CSCD
北大核心
2022年第10期32-39,共8页
Instrument Technique and Sensor
基金
国家自然科学基金项目(51974273)
成都国际科技合作项目(2020-GH02-00016-Hz)
基于国家山区公路工程技术研究中心开放基金项目(GSGZJ-2020-01)
南充市与西南石油大学科技战略合作专项项目(SXHZ026,SXHZ038)。
关键词
多线程优化
优化模型
并行技术
核磁测井仪器
LABVIEW
multithreaded optimization
optimization model
parallel technology
nuclear magnetic logging tool
LabVIEW