intel / ipmctl

BSD 3-Clause "New" or "Revised" License
184 stars 62 forks source link

Where can I get the libipmctl document? How can I use Optane DC under the AD model? #115

Open Gumi-presentation-by-Dzh opened 5 years ago

Gumi-presentation-by-Dzh commented 5 years ago

After using ipmctl to set the app direct model, I can't get the way to use Optane DC. How can I allocate memory on "region"? Do I need a NVM memory allocate to do this? How to use the libipmctl to allocate the memory on DRAM and NVM?

kellycouch commented 5 years ago

I suggest reviewing content on these pages for help getting started.

Provides a great overview of how to make use of AD capacity in Linux: https://nvdimm.wiki.kernel.org/

Provides examples and libraries useful to developing applications to take advantage of AD capacity: https://pmem.io/

sscargal commented 5 years ago

ipmctl and libimpctl are used to provision Intel Optane DC Persistent Memory only. To understand more about provisioning in Linux, watch my video that provides step-by-step instructions - https://software.intel.com/en-us/videos/provisioning-intel-optane-dc-persistent-memory-modules-in-linux

You can learn more in the Getting Started Guide. This also includes instructions for installing ndctl and how to create development environments on systems that do and do not have persistent memory physically installed.

If you want to begin development, look at the Persistent Memory Development Kit. You can find code samples in the examples directory within PMDK on GitHub.

The pmem.io Blog has useful tutorials to follow. Start with the earliest entries and work forward. Also, take a look at the Intel Persistent Memory Software Developer zone where you will find videos, articles, and programming tutorials.

We have been hosting several Programming Persistent Memory Hackathons throughout the year. You can find the code examples and slides for each session on GitHub. We are in the process of making these sessions available outside of the hosted events so developers can get up to speed quickly.

I am currently writing a book entitled "Programming Persistent Memory: A Comprehensive Guide for Developers". You can get early access to some of the chapters on the landing page.

For additional questions and help, hop over to our Persistent Memory Google Forum. You can ask hardware, OS, and development related questions there.

/Steve

Gumi-presentation-by-Dzh commented 5 years ago

@sscargal @kellycouch Thanks a lot.