Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Releases: pmem/rpma

RPMA Version 1.3.0

25 May 12:15
fd3e9a8
Compare
Choose a tag to compare

Added

  • the native flush support (required support in the kernel and in an RNIC's driver)
  • missing unit tests for rpma_mr_atomic_write()
  • a check if librpma uses rdma-core installed from sources
  • CI builds with rdma-core v45.0 installed from sources (with support for both native atomic write
    and native flush) on Ubuntu-latest and Fedora-latest CIs
  • internal APIs:
    • rpma_utils_ibv_context_is_flush_capable() - checks if kernel supports the native flush
  • BUILD_FORCE_ODP_NOT_SUPPORTED CMake option to disable On-Demand Paging (ODP) support in libibverbs
  • BUILD_FORCE_NATIVE_ATOMIC_WRITE_NOT_SUPPORTED CMake option to disable support
    for native atomic write in libibverbs
  • BUILD_FORCE_NATIVE_FLUSH_NOT_SUPPORTED CMake option to disable support for the native flush
    in libibverbs

Fixed

  • the "ibv_query_device_ex_mock undeclared" compiler error when ON_DEMAND_PAGING_SUPPORTED
    is not defined and NATIVE_ATOMIC_WRITE_SUPPORTED is defined
  • some wrong and misleading comments in tests/unit/peer/peer-mr_reg.c
  • OS version in the Coverity CI build
  • preventing from failing the build when 'rpm -q' or 'dpkg-deb' commands fail
  • the "ibv_query_device_ex_mock undeclared" compiler error when both ON_DEMAND_PAGING_SUPPORTED
    and NATIVE_ATOMIC_WRITE_SUPPORTED are not defined

Changed

  • renamed IBV_WR_ATOMIC_WRITE_SUPPORTED to NATIVE_ATOMIC_WRITE_SUPPORTED
  • renamed is_ibv_wr_atomic_write_supported() to is_ibv_atomic_write_supported()
  • updated the install-pmdk.sh script to install PMDK 1.12.1-119-g8074b19b1 with fixes
    required for Rocky Linux 8 and 9 and verify if the installation succeeded
  • rpma_peer_new() to check the native flush support in kernel
  • rpma_peer_setup_qp() to enable the native flush if both kernel and libibverbs support it
  • rpma_peer_usage2access() to return native access flags if both kernel and libibverbs support the native flush
  • rpma_flush() to use the native flush if the created QP supports it

RPMA Version 1.2.0

10 Jan 10:19
04315bd
Compare
Choose a tag to compare

Added

  • native atomic write support (required support in the kernel and in an RNIC's driver)
  • security warnings to the documentation of the following functions of the API:
    • rpma_conn_get_private_data()
    • rpma_conn_req_get_private_data()
    • rpma_mr_get_descriptor()
    • rpma_mr_remote_from_descriptor()
    • rpma_peer_cfg_from_descriptor()
    • rpma_peer_cfg_get_descriptor()
  • offset of the beginning of the used persistent memory in the clients using PMem in the examples
  • one suppression for Memcheck on Ubuntu 22.04
  • CI Coverity build run once a day over the night
  • a check for the native atomic write support in libibverbs
  • internal APIs:
    • rpma_utils_ibv_context_is_atomic_write_capable() - checks if kernel supports native atomic write
  • Rocky Linux 8 and 9 builds to the "on_pull_request" workflow
  • show git diff of changed documentation when pull requests with updated documentation are not generated

Fixed

  • DEVELOPMENT.md file - CMAKE_BUILD_TYPE must be set to Debug when running the tests
  • build system for CentOS 7 (use cmake3 instead of cmake if a version of cmake is v2.x)
  • check-headers.sh file - corrected the path of check-ms-license.pl and removed
    unneeded '*' at the start of the grep expressions
  • (examples) use HELLO_STR_SIZE instead of KILOBYTE in case of the hello string
  • the common_pmem_map_file_with_signature_check() function in examples
  • wr passed to ibv_post_send(), ibv_post_recv() and ibv_post_srq_recv() is initialized to 0
  • sge passed to a log message (in rpma_mr_*() functions) is initialized to 0
  • rq_size in rpma_peer_create_srq() initialized to 0
  • detecting no free slot for a new connection request in example 13
  • memory allocations in example 07
  • minor issues detected by Coverity
  • sleep(1) added to mtt_client_connect() before the next connection retry

Changed

  • the default 'master' branch has been renamed to 'main'
  • logging of the source and the destination GID addresses in rpma_conn_req_new_from_id()
    has been restricted to only one case when CMAKE_BUILD_TYPE is set to 'Debug'
  • rpma_peer_new() to check the native atomic write support in kernel
  • rpma_peer_setup_qp() to enable native atomic write if both kernel and libibverbs supported it
  • rpma_mr_atomic_write() to use native atomic write if the created QP supported it
  • only the labeled (latest/stable/rolling etc.) versions of docker images (if available) are used in CI - it makes the CI self-updating

Removed

  • whole benchmarking framework for librpma (the last commit with the benchmarking framework present is marked with the "benchmarking-framework" tag)
  • unused doc_snippets
  • meaningless template-example
  • meaningless template unit test
  • Debian 10 from the on_pull_request CI workflow

RPMA Version 1.1.0

08 Sep 08:55
145d307
Compare
Choose a tag to compare

Added

  • (tools) description of the 'schematic' variable (from the report.json file) in the 'tools/perf/BENCHMARKING.md' file

Fixed

  • (tools) added checking if a path saved in the 'schematic' variable exists
  • removed unnecessary rpma_conn_req_delete() calls from examples
  • moved common source code of GPSMP examples to one folder
  • changed size of the read-after-write (RAW) buffer in the example 04
  • (examples) changed the write size from KILOBYTE to HELLO_STR_SIZE

Changed

  • unified coding style in the source, the test and the example files

RPMA Version 1.0.0

25 Aug 08:09
b84bd6f
Compare
Choose a tag to compare

Added

  • DEVELOPMENT.md file containing the most important information needed during development of the library

  • THREAD_SAFETY.md file containing the analysis of thread safety of the librpma library

  • APIs:

    • rpma_conn_cfg_get_compl_channel - gets if the completion event channel can be shared by CQ and RCQ
    • rpma_conn_cfg_get_srq - gets the shared RQ object from the connection
    • rpma_conn_cfg_set_compl_channel - sets if the completion event channel can be shared by CQ and RCQ
    • rpma_conn_cfg_set_srq - sets a shared RQ object for the connection
    • rpma_conn_get_compl_fd - gets a file descriptor of the shared completion channel from the connection
    • rpma_conn_wait - waits for a completion event on the shared completion channel from CQ or RCQ
    • rpma_srq_cfg_delete - deletes the shared RQ configuration object
    • rpma_srq_cfg_get_rcq_size - gets the receive CQ size of the shared RQ
    • rpma_srq_cfg_get_rq_size - gets the RQ size of the shared RQ
    • rpma_srq_cfg_new - creates a new shared RQ configuration object
    • rpma_srq_cfg_set_rcq_size - sets the receive CQ size of the shared RQ
    • rpma_srq_cfg_set_rq_size - sets the RQ size of the shared RQ
    • rpma_srq_delete - deletes the shared RQ object
    • rpma_srq_get_rcq - gets the receive CQ from the shared RQ object
    • rpma_srq_new - creates a new shared RQ object
    • rpma_srq_recv - initiates the receive operation in shared RQ
    • error RPMA_E_SHARED_CHANNEL - the completion event channel is shared and cannot be handled by any particular CQ
    • error RPMA_E_NOT_SHARED_CHNL - the completion event channel is not shared
  • examples:

    • 08srq-simple-messages-ping-pong-with-srq - a single-connection example for shared RQ with ping-pong messages
    • 13-messages-ping-pong-with-srq - a multi-connection example for shared RQ with ping-pong messages
  • logging of the source and the destination GID addresses in rpma_conn_req_new_from_id()

  • error message for RPMA_E_AGAIN: "Temporary error, try again"

  • peer_cfg: get/set_direct_write_to_pmem and get_descriptor are now thread-safe

  • conn_cfg: all get and set functions for CQ, RQ, SQ, RCQ, timeout and compl_channel are now thread-safe

  • multi-threaded tests:

    • rpma_conn_apply_remote_peer_cfg
    • rpma_conn_cfg_get_srq
    • rpma_conn_cfg_set_srq
    • rpma_conn_req_connect
    • rpma_ep_next_conn_req
    • rpma_log_set_function
    • rpma_log_set_get_threshold
    • rpma_log_set_threshold
    • rpma_peer_cfg_set_direct_write_to_pmem
    • rpma_srq_cfg_new
    • rpma_srq_cfg_get_rcq_size
    • rpma_srq_cfg_get_rq_size
    • rpma_srq_cfg_set_rcq_size
    • rpma_srq_cfg_set_rq_size
    • rpma_srq_delete
    • rpma_srq_get_rcq
    • rpma_srq_new

Changed

  • APIs:

    • rpma_cq_wait - returns RPMA_E_SHARED_CHANNEL if the completion channel is shared
  • Renamed CMake variables:

    • COVERAGE to TESTS_COVERAGE
    • DEVELOPER_MODE to BUILD_DEVELOPER_MODE
    • TEST_PYTHON_TOOLS to TESTS_PERF_TOOLS
    • TRACE_TESTS to TESTS_VERBOSE_OUTPUT
    • USE_ASAN to DEBUG_USE_ASAN
    • USE_UBSAN to DEBUG_USE_UBSAN
  • Changed default values of CMake variables:

    • CMAKE_BUILD_TYPE from Debug to Release
    • TESTS_PERF_TOOLS - from ON to OFF
  • all examples and internal API files now comply with the new character limit per line (100 characters)

Fixed

  • APIs:
    • rpma_peer_delete - fixed memory leak when ibv_dealloc_pd() fails

Removed

  • CMake variables:

    • CHECK_CSTYLE
    • TESTS_LONG
    • TESTS_USE_VALGRIND
  • old integration tests

  • suppressions for get and set functions for CQ, RQ, SQ and timeout has been removed

RPMA Version 0.14.0

16 Mar 08:27
539f87c
Compare
Choose a tag to compare
RPMA Version 0.14.0 Pre-release
Pre-release

Added

  • APIs:
    • RPMA_CONN_UNREACHABLE enum rpma_conn_event to handle RDMA_CM_EVENT_UNREACHABLE

Fixed

  • APIs:
    • rpma_log_init - cannot fail to set the default log function now
  • unit tests of rpma_log_set_threshold and RPMA_LOG_* macros

Removed

  • APIs:
    • rpma_write_atomic - replaced with rpma_atomic_write

RPMA Version 0.13.0

09 Mar 11:38
6110cac
Compare
Choose a tag to compare
RPMA Version 0.13.0 Pre-release
Pre-release

Added

  • APIs:
    • rpma_atomic_write - initiates the atomic 8 bytes write operation

Changed

  • ibv_qp_cap.max_inline_data set to 8 bytes to allow implementation of atomic write over ibv_post_send with the IBV_SEND_INLINE flag
  • example 07 uses rpma_atomic_write() instead of rpma_write_atomic()

Deprecated

  • API:
    • rpma_write_atomic - replaced with rpma_atomic_write

Fixed

  • the part_write.json template in the benchmarking framework
  • documentation of rpma_utils_conn_event_2str()

RPMA Version 0.12.0

22 Feb 09:00
8d755bc
Compare
Choose a tag to compare
RPMA Version 0.12.0 Pre-release
Pre-release

Fixed

  • links to https://pmem.io in the benchmarking framework
  • templates with fio configuration in the benchmarking framework

Removed

  • APIs:
    • rpma_cq_get_completion - replaced with rpma_cq_get_wc
    • struct rpma_completion - replaced with struct ibv_wc from libibverbs
    • enum rpma_op - replaced with enum ibv_wc_opcode from libibverbs

RPMA Version 0.11.0

08 Feb 14:56
5d4b5a1
Compare
Choose a tag to compare
RPMA Version 0.11.0 Pre-release
Pre-release

Added

  • Example 12 for separate receive completion queue (RCQ).

  • Documented the default values of struct rpma_conn_cfg.

  • APIs:

    • rpma_cq_get_wc - receive one or more completions
  • Tools:

    • Benchmarking framework basing on python scripts.

Deprecated

  • APIs:
    • rpma_cq_get_completion - replaced with rpma_cq_get_wc
    • struct rpma_completion - replaced with struct ibv_wc from libibverbs
    • enum rpma_op - replaced with enum ibv_wc_opcode from libibverbs

Fixed

  • Examples 07 and 08.

Removed

  • APIs:

    • rpma_conn_completion_get - replaced with rpma_conn_get_cq and rpma_cq_get_wc,
    • rpma_conn_completion_wait - replaced with rpma_conn_get_cq and rpma_cq_wait,
    • rpma_conn_get_completion_fd - replaced with rpma_conn_get_cq and rpma_cq_get_fd.
  • Tools:

    • Benchmarking framework basing on bash scripts.

RPMA Version 0.10.0

25 Jan 13:51
97ec9f7
Compare
Choose a tag to compare
RPMA Version 0.10.0 Pre-release
Pre-release

Added

  • Unblocked performance of File System DAX by adding the possibility to use ibv_advice_mr() for registered memory (#1220).

  • Separate receive completion queue (RCQ) (#1080).

  • Support for iWARP protocol (#1044).

  • Write operation with immediate data (enum rpma_op RPMA_OP_RECV_RDMA_WITH_IMM added) (#856).

  • Send operation with immediate data (#713).

  • Handling the RDMA_CM_EVENT_REJECTED event (enum rpma_conn_event RPMA_CONN_REJECTED added) (#802).

  • Support for many Linux distributions and versions each of them tested once a day with CI.

  • APIs:

    • rpma_conn_cfg_get_rcq_size - gets receive CQ size for the connection,
    • rpma_conn_cfg_set_rcq_size - sets receive CQ size for the connection,
    • rpma_conn_get_cq - gets the connection's main CQ,
    • rpma_conn_get_qp_num - gets the connection's qp_num,
    • rpma_conn_get_rcq - gets the connection's receive CQ,
    • rpma_conn_req_get_private_data - gets a pointer to the request's private data,
    • rpma_cq_get_completion - receives a completion of an operation,
    • rpma_cq_get_fd - gets the completion queue's file descriptor,
    • rpma_cq_wait - waits for a completion,
    • rpma_mr_advise - gives advice about an address range in a memory registration,
    • rpma_mr_get_ptr - gets the pointer to the local memory region,
    • rpma_mr_get_size - gets the size of the local memory region,
    • rpma_send_with_imm - initiates the send operation with immediate data,
    • rpma_write_with_imm - initiates the write operation with immediate data.
  • Tools:

Changed

  • Atomic write operation (rpma_write_atomic()) implemented with fence (now it waits for RDMA Read which simulates RDMA flush) (#603).
  • API for completions handling (see Deprecated).
  • rpma_read, rpma_write, rpma_send and rpma_recv can be called with 0B message.
  • Updated and fixed documentation.

Deprecated

  • APIs:

    • rpma_conn_completion_get - replaced with rpma_conn_get_cq and rpma_cq_get_completion,
    • rpma_conn_completion_wait - replaced with rpma_conn_get_cq and rpma_cq_wait,
    • rpma_conn_get_completion_fd - replaced with rpma_conn_get_cq and rpma_cq_get_fd.
  • Tools:

    • This is the last release with the benchmarking framework basing on Bash scripts. In the next release it will be replaced with a Python-based benchmarking framework.

Fixed

  • rpma_flush_apm_new() fixed, so that rpma_mr_reg() can be called after ibv_fork_init() (#866).

RPMA version 0.9.0

01 Oct 14:04
f744630
Compare
Choose a tag to compare
RPMA version 0.9.0 Pre-release
Pre-release
  • This is the first official release of the librpma library.
  • The API provides the most flexible implementation of remote persistency via Appliance Persistency Method.
  • Multiple examples show how to use this API (including an example of how to build your own General Purpose Persistency Method implementation basing on the services provided by the librpma library).
  • The extensive documentation describes all guiding principles.