# JArena: Partitioned Shared Memory for NUMA-awareness in Multi-threaded   Scientific Applications

**Authors:** Zhang Yang, Aiqing Zhang, Zeyao Mo

arXiv: 1902.07590 · 2019-02-21

## TL;DR

This paper introduces JArena, a partitioned shared memory system with a NUMA-aware heap manager, significantly improving multi-threaded scientific application performance on manycore NUMA architectures.

## Contribution

JArena provides a novel partitioned shared memory approach and a NUMA-aware heap manager, enabling full NUMA-awareness with minimal code changes and reducing false page-sharing.

## Key findings

- Achieves true NUMA-awareness in multi-threaded applications
- Improves scientific application performance up to 4.3 times
- Reduces false page-sharing and fragmentation

## Abstract

The distributed shared memory (DSM) architecture is widely used in today's computer design to mitigate the ever-widening processing-memory gap, and inevitably exhibits non-uniform memory access (NUMA) to shared-memory parallel applications. Failure to achieve full NUMA-awareness can significantly downgrade application performance, especially on today's manycore platforms with tens to hundreds of cores. Yet traditional approaches such as first-touch and memory policy fail short in either false page-sharing, fragmentation, or ease-of-use. In this paper, we propose a partitioned shared memory approach which allows multi-threaded applications to achieve full NUMA-awareness with only minor code changes and develop a companying NUMA-aware heap manager which eliminates false page-sharing and minimizes fragmentation. Experiments on a 256-core cc-NUMA computing node show that the proposed approach achieves true NUMA-awareness and improves the performance of typical multi-threaded scientific applications up to 4.3 folds with the increased use of cores.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1902.07590/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1902.07590/full.md

## References

26 references — full list in the complete paper: https://tomesphere.com/paper/1902.07590/full.md

---
Source: https://tomesphere.com/paper/1902.07590