6

pmem.io: Vmem is split out of PMDK

 3 years ago
source link: https://pmem.io/2019/10/31/vmem-split.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Vmem is split out of PMDK

Introduction

We have just split libvmem and its companion libvmmalloc out of the PMDK tree. They now live in a separate repository, and will follow their own release cadence. And, as these libraries are considered mature and finished, no new releases are planned once the split has been tested and tagged – except for defects and new requirements of underlying platforms.

Further development

libvmem remains the only way to use filesystem-managed persistent memory for volatile allocations on Windows.

On Linux, though, you are better served by memkind instead of libvmem in new code – it provides extra features such as NUMA awareness and handling of other kinds of memory.

As for libvmmalloc, new kernel features allow redirecting an unported program to volatile persistent memory by attaching that memory to a separate NUMA node you can then assign your program to with numactl -m or numactl --preferred.

Effects on PMDK

Besides separating out unrelated modes of use (PMDK is meant for Persistent usage), libvmem included a different build system and a testsuite, frustrating maintenance of PMDK and making clean-ups hard. Splitting VMEM out already revealed an issue fixing which sped up compiles by a factor of 4.


The contents of this web site and the associated GitHub repositories are BSD-licensed open source.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK