18.3.51. pmix_storage_medium_t
pmix_storage_medium_t — Bit-mask of storage medium types used by a storage system
18.3.51.1. SYNTAX
18.3.51.1.1. C Syntax
#include <pmix_common.h>
typedef uint64_t pmix_storage_medium_t;
#define PMIX_STORAGE_MEDIUM_UNKNOWN 0x0000000000000001
#define PMIX_STORAGE_MEDIUM_TAPE 0x0000000000000002
#define PMIX_STORAGE_MEDIUM_HDD 0x0000000000000004
#define PMIX_STORAGE_MEDIUM_SSD 0x0000000000000008
#define PMIX_STORAGE_MEDIUM_NVME 0x0000000000000010
#define PMIX_STORAGE_MEDIUM_PMEM 0x0000000000000020
#define PMIX_STORAGE_MEDIUM_RAM 0x0000000000000040
18.3.51.2. DESCRIPTION
The pmix_storage_medium_t is a uint64_t type that defines a set of
bit-mask flags for specifying different types of storage mediums. These can
be bitwise OR’d together to accommodate storage systems that mix storage
medium types.
The defined values are:
PMIX_STORAGE_MEDIUM_UNKNOWN— The storage medium type is unknown.PMIX_STORAGE_MEDIUM_TAPE— The storage system uses tape media.PMIX_STORAGE_MEDIUM_HDD— The storage system uses HDDs with traditional SAS, SATA interfaces.PMIX_STORAGE_MEDIUM_SSD— The storage system uses SSDs with traditional SAS, SATA interfaces.PMIX_STORAGE_MEDIUM_NVME— The storage system uses SSDs with NVMe interface.PMIX_STORAGE_MEDIUM_PMEM— The storage system uses persistent memory.PMIX_STORAGE_MEDIUM_RAM— The storage system is volatile (e.g., tmpfs).
The constants are ordered in terms of increasing medium bandwidth; this ordering is intended to provide semantic information that may be of use to PMIx users.
A value of this type is conveyed using the PMIX_STORAGE_MEDIUM
("pmix.strg.medium") attribute, and may be returned in response to
queries made via PMIx_Get(3) or
PMIx_Query_info(3).