If this is the only thing in the pool, you should be able to allocate roughly the entire pool using this allocation class.
Keep in mindthat /w POBJ_HEADER_COMPACT you have to account for the 16 byte header, thus the optimal allocation
from this class is in fact `(N * (1 << 20)) - 16`, where N is number between 1 and 64.
pmempool info currently does not display statistics for custom allocation classes. This will be addressed in the upcoming release.
This works as expected. You requested an allocation class with unit size of 128kb
and a single unit per block, and then requested 2 units (because of the POBJ_HEADER_COMPACT,
allocating 128kb from this class requires two units), which fails because this request
cannot be satisfied.
For classes this large, never use this small units per block, as it will be aligned down to a chunk size (256kb).
Please see libpmemobj man page for more information.