# Adjust HMB to correct size?

**URL:** https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985
**Category:** Troubleshooting
**Created:** [19 November 2024 18:27 UTC](https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985 "2024-11-19T18:27:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Heisenberg](https://dietpi.com/forum/user_avatar/dietpi.com/heisenberg/32/3994_2.png) [@Heisenberg](https://dietpi.com/forum/u/Heisenberg)
#### Post date: [19 November 2024 18:27 UTC](https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985/1 "2024-11-19T18:27:09Z")

</div>

I have an nvme with 64MB HMB (SN570, Argon Neo 5, boot from SD) but I think the size is only 32MB if I understand correctly, how do I correct this?

sudo nvme get-feature /dev/nvme0n1p1 -H -f 0x0d  
get-feature:0x0d (Host Memory Buffer), Current value:0x00000001  
Enable Host Memory (EHM): Enabled  
Host Memory Descriptor List Entry Count (HMDLEC): 4  
Host Memory Descriptor List Address (HMDLAU): 0x11  
Host Memory Descriptor List Address (HMDLAL): 0x13d8000  
Host Memory Buffer Size (HSIZE): 32768

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [19 November 2024 19:14 UTC](https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985/2 "2024-11-19T19:14:30Z")

</div>

This may only be possible with a tool from the manufacturer to customise the firmware. Under Linux you can use the `nvme-CLI-Tool` to try to read or edit information from the NMVe. Normally the driver tells the operating system how much RAM is reserved for the HMB. A direct change is often not provided. At least from our side, we do not have any special drivers for NVMe. If there are, they probably come from Debian.

---

<div class="post-metadata">

### Author: ![Heisenberg](https://dietpi.com/forum/user_avatar/dietpi.com/heisenberg/32/3994_2.png) [@Heisenberg](https://dietpi.com/forum/u/Heisenberg)
#### Post date: [19 November 2024 19:28 UTC](https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985/3 "2024-11-19T19:28:08Z")

</div>

All right, thanks for the info.

When I looked for instructions for booting from SSD yesterday, I also read somewhere that some value in the bootloader config has to be set higher but I can’t find the instructions anymore.

Some value had to be set to 96 or 98 because otherwise there wouldn’t be enough left for the nvme, I should have saved the instructions offline.

I’ll take another close look at everything.

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [17 May 2025 07:29 UTC](https://dietpi.com/forum/t/adjust-hmb-to-correct-size/21985/4 "2025-05-17T07:29:06Z")

</div>

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
