Introduction to libpmem2 (part 1)

Introduction to libpmem2 (part 1)

A new beginning This blog post will be about the recently created library libpmem2, which is a part of PMDK repository. Before we go into details it’s worth having a short look at the history. About seven years ago, the first persistent memory library known as libpmem was started. The concept …

Read More
Memory Tiering (part 1)

Memory Tiering (part 1)

Extending memory capacity with PMEM Databases such as Redis (an in-memory key-value open-source database) consume a lot of memory. Since fast access is essential for them, they use DRAM to store their data. DRAM is quite expensive and has limited capacity, so a solution we propose in this blog post …

Read More
Basic asynchronous hashmap with Miniasync library

Basic asynchronous hashmap with Miniasync library

Miniasync library provides a framework for the composition and execution of asynchronous tasks in C. To accommodate different user-defined tasks and various types of data that they take in, libminiasync makes use of macros. Using libminiasync for the first time can be challenging. There are multiple …

Read More
Upcoming asynchronous interfaces in PMDK libraries

Upcoming asynchronous interfaces in PMDK libraries

In the previous article, I wrote about a new upcoming Xeon platform feature, Data Streaming Accelerator (DSA) - a memory-to-memory DMA engine, and what opportunities and challenges it presents. I outlined the approach we are taking in Persistent Memory Development Kit (PMDK) to expose asynchronous …

Read More
Leveraging asynchronous hardware accelerators for fun and profit

Leveraging asynchronous hardware accelerators for fun and profit

One of the greatest benefits of Persistent Memory is that it’s directly accessible by the CPU. But that can also be one of its downsides for specific use cases. For example, if you want to use PMem as an ultra-fast storage device with low access latency. PMem as storage impedance mismatch The …

Read More