intel / ipmctl

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

Is there any way to change the ratio of current DRAM:PM? #198

Open luckyq opened 1 year ago

luckyq commented 1 year ago

Hi,All.

I have one OPTANE machine with 256GB dram, 128GB per socket. And for each socket, it has 512GB PM. Now I want to reduce the dram size, how should I do?

I have removed some dram DIMMs from the slot. But after I removed them, the system said that the PM is not healthy. So I can not use it. Is there any file I should change?

Best,

nolanhergert commented 1 year ago

First, do you intend to use the persistent memory in persistent or volatile mode?

It sounds like you provisioned with volatile mode ("Memory Mode"), which happens to use all of the DRAM on the same socket as cache. Running "ipmctl show -memoryresources" would confirm this.

If you are ok with this, I would reprovision with 100% App Direct (persistent mode), which does not use any of the DRAM as cache. But is more like a drive / storage than just adding more generic volatile "RAM". To do this, the command is "ipmctl create -goal".

StevenPontsler commented 1 year ago

If the Optane memory is configured as volatile memory, then configuring it again as memory mode using the create goal command or menus may resolve the situation or give a message that indicates what the problem is.

How much dram is there in the system after the you removed some?

How are the dimms arranged? I mean like Socket 0, Channel 0, slot A is 128GB Optane, Slot B 4GB DDR RAM.... Socket 1 is same Socket 0.

StevenPontsler commented 1 year ago

@luckyq - Were you able to figure thigs out? If there is no longer a problem, please close this issue.