libpmem and libvmem

22 views
Skip to first unread message

kewe...@uconn.edu

unread,
Oct 5, 2018, 10:07:09 AM10/5/18
to pmem
Hi,

I have a question about how to use libvmem.

Can I use libpmem and libvmem on the same file system with two pools for each of them?

Thanks!

Sincerely,

Kewei

Andy Rudoff

unread,
Oct 5, 2018, 12:00:14 PM10/5/18
to pmem
Sure, same file system or different file system -- will work as long as they are separate files.

By the way, we recommend using libmemkind instead of libvmem these days.  You're free to use either one, but memkind is where we're putting all our attention for volatile use cases from here on since it is more flexible.

-andy

kewe...@uconn.edu

unread,
Oct 7, 2018, 4:11:48 PM10/7/18
to pmem
Hi,

Thanks for your reply!

I have another two questions.

The first one is, how to understand the world 'volatile' when I use libmemkind to 'change' persist memory to a volatile memory? My understanding is when users want to use persist memory as a volatile memory, a link allows users to get the data is cut off. So, the data is still there, but it can not be accessed anymore. 

The second one is, if I want to run a benchmark with persist memory, do I have to change the code? Or there exists another way to make existed codes involve persist memory?

Thanks!

Sincerely,
Reply all
Reply to author
Forward
0 new messages