Abstract

The calculation of macroscopic neutron cross-sections is a fundamental part of the continuous-energy Monte Carlo (MC) neutron transport algorithm. MC simulations of full nuclear reactor cores are computationally expensive, making high-accuracy simulations impractical for most routine reactor analysis tasks because of their long time to solution. Thus, preparation of MC simulation algorithms for next generation supercomputers is extremely important as improvements in computational performance and efficiency will directly translate into improvements in achievable simulation accuracy. Due to the stochastic nature of the MC algorithm, cross-section data tables are accessed in a highly randomized manner, resulting in frequent cache misses and latency-bound memory accesses. Furthermore, contemporary and next generation non-uniform memory access (NUMA) computer architectures, featuring very high latencies and less cache space per core, will exacerbate this behaviour. The absence of a topology-aware allocation strategy in existing high-performance computing (HPC) programming models is a major source of performance problems in NUMA systems. Thus, to improve performance of the MC simulation algorithm, we propose a topology-aware data allocation strategies that allow full control over the location of data structures within a memory hierarchy. A new memory management library, known as AML, has recently been created to facilitate this mapping. To evaluate the usefulness of AML in the context of MC reactor simulations, we have converted two existing MC transport cross-section lookup “proxy-applications” (XSBench and RSBench) to utilize the AML allocation library. In this study, we use these proxy-applications to test several continuous-energy cross-section data lookup strategies (the nuclide grid, unionized grid, logarithmic hash grid, and multipole methods) with a number of AML allocation schemes on a variety of node architectures. We find that the AML library speeds up cross-section lookup performance up to 2x on current generation hardware (e.g., a dual-socket Skylake-based NUMA system) as compared with naive allocation. These exciting results also show a path forward for efficient performance on next-generation exascale supercomputer designs that feature even more complex NUMA memory hierarchies.

Highlights

  • In this study we investigate the impact of non-uniform memory access (NUMA) effects on the performance of the Monte Carlo (MC) neutron transport method in the context of full-core nuclear reactor eigenvalue simulations

  • We investigate the impact of NUMA effects on the performance of the Monte Carlo neutron transport simulations and compare different methods for mitigating this impact

  • Interleave allocation strategy – this further applies an interleave policy to bind data allocated with malloc across all memories

Read more

Summary

Introduction

In this study we investigate the impact of non-uniform memory access (NUMA) effects on the performance of the Monte Carlo (MC) neutron transport method in the context of full-core nuclear reactor eigenvalue simulations. We compare the effectiveness of different methods for mitigating these impacts. One such method is to use the AML library to replicate latency-sensitive structures critical to the MC transport such that each thread on a node can access the data from a location with minimal latency. We briefly introduce the basics of MC neutron transport and the computational challenges facing it. We introduce AML and explain how it can be used to potentially boost the performance of the MC transport method on NUMA architectures

Monte Carlo Neutron Transport
Monte Carlo Miniapps
Monte Carlo Performance Challenges
Using AML Memory Library for Fine-Grained Management of MC Data
Topology-Aware Areas and Data Replication
Modifications to XSBench and RSBench Code Base
Experimental Results on Performance and Portability
Related Work
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call