Expand a libpmemobj pool

38 views
Skip to first unread message

Lu

unread,
Jul 8, 2017, 8:39:13 PM7/8/17
to pmem
Hi devs,

What should be the way to expand a libpmemobj pool? e.g. when I begin with a single 1GB mapped file and later the program runs out of persistent memory.

Regards,
Lu

Piotr Balcer

unread,
Jul 10, 2017, 3:03:35 AM7/10/17
to pmem
Hi Lu,

Our answer to this, until recently, was that all our libraries rely on the file systems capability to support sparse files.
This meant that you could just create a file as large as possibly want and the actual storage memory use would be only what's actually allocated.

But, with device dax, that is no longer an option, and we are planning on implementing a feature that would allow pools to grow automatically:
https://github.com/pmem/issues/issues/382

Piotr
Reply all
Reply to author
Forward
0 new messages