Skip to content

Common library for accessing PMEM native library functions including memkind, vmemcache and so on.

License

Notifications You must be signed in to change notification settings

yeyuqiang/pmem-common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

* LEGAL NOTICE: Your use of this software and any required dependent software (the "Software Package") is subject to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the "TPP.txt" or other similarly-named text file included with the Software Package for additional details.
* Optimized Analytics Package for Spark* Platform is under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0).

PMem Common

PMem Common package includes native libraries and JNI interface for Intel Optane PMem.

Online Documentation

You can find the all the PMem Common documents on the project web page.

Prerequisites

Below libraries need to be installed in the machine

memkind installation

The memkind library depends on libnuma at the runtime, so it must already exist in the worker node system. Build the latest memkind lib from source:

git clone -b v1.10.1 https://github.com/memkind/memkind
cd memkind
./autogen.sh
./configure
make
make install

vmemcache installation

To build vmemcache library from source, you can (for RPM-based linux as example):

git clone https://github.com/pmem/vmemcache
cd vmemcache
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=rpm
make package
sudo rpm -i libvmemcache*.rpm

Building

git clone -b <tag-version> https://github.com/oap-project/pmem-common.git
cd pmem-common
mvn clean package -Ppersistent-memory,vmemcache

About

Common library for accessing PMEM native library functions including memkind, vmemcache and so on.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 65.1%
  • C 14.1%
  • C++ 9.5%
  • Shell 4.5%
  • JavaScript 2.9%
  • CMake 2.6%
  • Makefile 1.3%