...
首页> 外文期刊>Physics in medicine and biology. >Multi-threading performance of Geant4, MCNP6, and PHITS Monte Carlo codes for tetrahedral-mesh geometry
【24h】

Multi-threading performance of Geant4, MCNP6, and PHITS Monte Carlo codes for tetrahedral-mesh geometry

机译:GEANT4,MCNP6和PHITS MONTE CARLO代码的多线程性能,用于四面体网格几何

获取原文
获取原文并翻译 | 示例

摘要

In this study, the multi-threading performance of the Geant4, MCNP6, and PHITS codes was evaluated as a function of the number of threads (N) and the complexity of the tetrahedral-mesh phantom. For this, three tetrahedral-mesh phantoms of varying complexity (simple, moderately complex, and highly complex) were prepared and implemented in the three different Monte Carlo codes, in photon and neutron transport simulations. Subsequently, for each case, the initialization time, calculation time, and memory usage were measured as a function of the number of threads used in the simulation. It was found that for all codes, the initialization time significantly increased with the complexity of the phantom, but not with the number of threads. Geant4 exhibited much longer initialization time than the other codes, especially for the complex phantom (MRCP). The improvement of computation speed due to the use of a multi-threaded code was calculated as the speed-up factor, the ratio of the computation speed on a multi-threaded code to the computation speed on a single-threaded code. Geant4 showed the best multi-threading performance among the codes considered in this study, with the speed-up factor almost linearly increasing with the number of threads, reaching similar to 30 when N = 40. PHITS and MCNP6 showed a much smaller increase of the speed-up factor with the number of threads. For PHITS, the speed-up factors were low when N = 40. For MCNP6, the increase of the speed-up factors was better, but they were still less than similar to 10 when N = 40. As for memory usage, Geant4 was found to use more memory than the other codes. In addition, compared to that of the other codes, the memory usage of Geant4 more rapidly increased with the number of threads, reaching as high as similar to 74 GB when N = 40 for the complex phantom (MRCP). It is notable that compared to that of the other codes, the memory usage of PHITS was much lower, regardless of both the complexity of the phantom and the number of threads, hardly increasing with the number of threads for the MRCP.
机译:在这项研究中,的GEANT4,MCNP6和PHITS码的多线程性能被评价为线程的(N)的数量和四面体目幻象的复杂性的函数。对于此,三个四面体目复杂程度不同(简单,中等复杂的,并且高度复杂)的幻影制备并在三个不同的蒙特卡洛代码来实现,在光子和中子输运模拟。随后,对于每个情况下,初始化时间,计算时间和内存使用情况测量为在模拟中使用的线程数的函数。结果发现,所有的代码,初始化时间显著与幻象的复杂程度不断增加,但与线程数。 GEANT4表现出长得多的初始化时间比其它代码,尤其是对于复杂的体模(MRCP)。计算速度的由于使用的多线程化代码的改进计算为加速因子,计算速度的上一个多线程的代码来计算速度上的单线程代码的比率。 GEANT4显示在本研究中考虑的码中的最佳多线程的性能,与加速因子几乎线性的线程数增加,达到类似于30时N = 40。PHITS和MCNP6显示的一个更小的增加加速因子与线程数。对于PHITS,高速化因素是低时,N = 40。MCNP6,的加速因子的增加是更好的,但是它们仍然小于类似于10时N = 40至于存储器使用,GEANT4是发现使用更多的内存比其他代码。此外,相比于其他代码的,GEANT4的内存使用情况更迅速地与线程数增加,达到高达类似于74 GB当N = 40的复合体模(MRCP)。相比于其他代码值得注意的是,PHITS的内存使用量要低得多,无论是幻影的复杂性和线程数的,几乎不为MRCP线程的数量不断增加。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号