Azure Azure Stack HCI LAB

Azure Stack HCI – Configure Persistent Memory (Part3)

Overview

Intel Persistent Memory represents a new class of memory and storage technology explicitly architected for data center usage. DC Persistent Memory Module (DCPMM) capacity can be configured as Memory Mode, App Direct Mode, or a combination of both.

In Memory Mode, DCPMMs act as volatile system memory under the control of the operating system. Any DRAM in the platform will act as a cache working in conjunction with the DCPMMs.

In App Direct Mode, DCPMMs and standard DDR4 memory DIMMs act as independent memory resources under direct load/store control of one or more applications. DCPMM capacity is directly accessible by applications and the memory can be byte-addressable.

In Mixed Mode, a percentage of DCPMM capacity is used in Memory Mode and the remaining in App Direct Mode.

In App Direct mode (and the persistent portion of Mixed mode), the persistent memory can be configured in one of the following two ways:

Interleaved, where all DCPMMs per socket act as one single logic disk.

Non-interleaved, where each DCPMM acts as a separate one.

Now we are going to configure BIOS to support Persistent Memory

Step Detail
1 Create a Goal configuration
1.1 Go to System Setup System BIOS


Choose Memory Settings


Choose Persistent Memory


Choose Intel Persistent Memory

1.2 Now we need to create a Goal

Go to Regions Configuration

1.3 Go to Create goal config

1.4 Select Persistent: 100

Persistent memory type: App Direct Interleaved

1.5 Now you can save the changes and reboot to apply. Then boot into Windows

1.6 While booting, you will see the message: Creating NVMDIMM Goal..Done

2 Configure Persistent Memory Disk in Windows using Powershell
2.1 Boot into Windows and open Powershell then run the command to get the memory device

Get-PmemPhysicalDevice

2.2 Run the command to get the region:

Get-PmemUnusedRegion



2.3 Run Get-PmemDisk

There are no disks which are created

2.4 Run the following command to create the Persistent memory disks

Get-PmemUnusedRegion | New-PmemDisk


2.5 Run the Get-PmemDisk again to verify the disks

2.6 Open Device Manager to verify the persistent memory disks


2.7 After we Configure the Cluster, run Get-PhysicalDisk and see there is some Persistent Memory Disk reported

Now we Manage to configure Persistent Memory and use it as Cache.
Note:

To writes zeroes to the label storage area, writes new label index blocks, and then rebuilds the SCM

Get-PmemPhysicalDevice | Initialize-PmemPhysicalDevice

So we managed to configure BIOS to use Persistent Memmory. You can user Windows Admin Center to see the physical cards that you have already put it as cache.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: