-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpma: add librpma_apm_* and librpma_gpspm_* engines
The Remote Persistent Memory Access (RPMA) Library is a C library created to simplify accessing persistent memory on remote hosts over Remote Direct Memory Access (RDMA). The librpma_apm_client and librpma_apm_server is a pair of engines which allows benchmarking persistent writes achieved via the Appliance Persistency Method (APM; natively supported by the librpma library) and regular reads (a part of the RDMA standard). The librpma_gpspm_client and librpma_gpspm_server is a pair of engines which allows benchmarking persistent writes achieved via the General Purpose Persistency Method (GPSPM; build on top of the librpma API). The librpma library is available here: https://github.com/pmem/rpma along with the set of scripts using the newly introduced engines to construct miscellaneous benchmarking scenarios: https://github.com/pmem/rpma/tree/master/tools/perf The full history of the development of the librpma fio engines is available at: https://github.com/pmem/fio/tree/rpma Co-Authored-By: Lukasz Dorau <[email protected]> Co-Authored-By: Tomasz Gromadzki <[email protected]> Co-Authored-By: Jan Michalski <[email protected]> Co-Authored-By: Oksana Salyk <[email protected]>
- Loading branch information
1 parent
b02c5ed
commit e4c4625
Showing
21 changed files
with
2,948 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash -e | ||
|
||
# 11.02.2021 Merge pull request #866 from ldorau/rpma-mmap-memory-for-rpma_mr_reg-in-rpma_flush_apm_new | ||
LIBRPMA_VERSION=fbac593917e98f3f26abf14f4fad5a832b330f5c | ||
ZIP_FILE=rpma.zip | ||
|
||
WORKDIR=$(pwd) | ||
|
||
# install librpma | ||
wget -O $ZIP_FILE https://github.com/pmem/rpma/archive/${LIBRPMA_VERSION}.zip | ||
unzip $ZIP_FILE | ||
mkdir -p rpma-${LIBRPMA_VERSION}/build | ||
cd rpma-${LIBRPMA_VERSION}/build | ||
cmake .. -DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DBUILD_DOC=OFF \ | ||
-DBUILD_EXAMPLES=OFF \ | ||
-DBUILD_TESTS=OFF | ||
make -j$(nproc) | ||
sudo make -j$(nproc) install | ||
cd $WORKDIR | ||
rm -rf $ZIP_FILE rpma-${LIBRPMA_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash -e | ||
|
||
# pmdk v1.9.1 release | ||
PMDK_VERSION=1.9.1 | ||
|
||
WORKDIR=$(pwd) | ||
|
||
# | ||
# The '/bin/sh' shell used by PMDK's 'make install' | ||
# does not know the exact localization of clang | ||
# and fails with: | ||
# /bin/sh: 1: clang: not found | ||
# if CC is not set to the full path of clang. | ||
# | ||
export CC=$(which $CC) | ||
|
||
# Install PMDK libraries, because PMDK's libpmem | ||
# is a dependency of the librpma fio engine. | ||
# Install it from a release package | ||
# with already generated documentation, | ||
# in order to not install 'pandoc'. | ||
wget https://github.com/pmem/pmdk/releases/download/${PMDK_VERSION}/pmdk-${PMDK_VERSION}.tar.gz | ||
tar -xzf pmdk-${PMDK_VERSION}.tar.gz | ||
cd pmdk-${PMDK_VERSION} | ||
make -j$(nproc) NDCTL_ENABLE=n | ||
sudo make -j$(nproc) install prefix=/usr NDCTL_ENABLE=n | ||
cd $WORKDIR | ||
rm -rf pmdk-${PMDK_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.