165 words
1 minute
Aoostar WTR Max Increase VM GPU VRAM

Issue#

AMD 8845HS internal GPU can use RAM as VRAM, but the linux kernel by default will only allocate 50% of total RAM due to safety concern.

This is too conservative and a waste of RAM just sitting there.

We would like to find a balance between system stability and utilization of the RAM.

Before We Start#

pve vm view

Calculate maximum RAM you want to used as VRAM

Typically we keep 8GB RAM as system RAM to keep it stable, you can adjust based on your needs.

So in this case

64GB8GB=56GB64GB - 8GB = 56GB

Execution#

Calculate setting value#

([size in GB]10241024)/4.096([size~in~GB] * 1024 * 1024) / 4.096

Update grub#

  1. open grub in editor
Terminal window
sudo nano /etc/default/grub
  1. update GRUB_CMDLINE_LINUX_DEFAULT
Terminal window
GRUB_CMDLINE_LINUX_DEFAULT="amdttm.pages_limit=<setting_value> amdttm.page_pool_size=<setting_value>"
  1. update grub
Terminal window
sudo update-grub
  1. reboot machine
Terminal window
sudo reboot now
  1. validate VRAM
Terminal window
sudo dmesg | grep -E "amdgpu: .*VRAM|amdgpu: .*GTT"

You should see something like this (my dmesg log has be cleared out, use journalctl instead) validation

Final#

Now you have

2GB+58GB=60GB 2GB + 58GB = 60GB

of usable VRAM

you can use it to run large LLM model, or run multiple LLM model, etc

Reference#

Aoostar WTR Max Increase VM GPU VRAM
https://workfor.live/posts/wtrmax-increase-gpu-vram/
Author
Thomas Lau
Published at
2026-01-23
License
CC BY-NC-SA 4.0