70
When to use it?
Use libpmemblk only when a simple array of fixed blocks is needed and direct bytelevel access to blocks is not required.
Tools and Command Utilities
PMDK comes with a wide variety of tools and utilities to assist in the development and
deployment of persistent memory applications.
pmempool
What is it?
The pmempool utility is a tool for managing and offline analysis of persistent
memory pools. Its variety of functionalities, useful throughout the entire life cycle of an
application, include
• Obtaining information and statistics from a memory pool
• Checking a memory pool’s consistency and repairing it if possible
• Creating memory pools
• Removing/deleting a previously created memory pool
• Updating internal metadata to the latest layout version
• Synchronizing replicas within a poolset
• Modifying internal data structures within a poolset
• Enabling or disabling pool and poolset features
When to use it?
Use pmempool whenever you are creating persistent memory pools for applications
using any of the persistent libraries from PMDK.
pmemcheck
What is it?
The pmemcheck utility is a Valgrind-based tool for dynamic runtime analysis
of common persistent memory errors, such as a missing flush or incorrect use of
transactions. Chapter 12 describes this utility in detail.
Chapter 5 IntroduCIng the persIstent MeMory developMent KIt
Précédent

- 98/457

Suivant