Rate This Document
Findability
Accuracy
Completeness
Readability

Enabling MPAM

To enable MPAM, you need to modify the kernel startup parameter and mount the resctrl file system.

  1. Modify the kernel startup parameter.
    1. Open the grub.cfg file.
      vi /boot/efi/EFI/openEuler/grub.cfg
    2. Press i to enter the insert mode and add arm64.mpam to the kernel startup parameter.

    3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
  2. Restart the physical machine and check whether the /sys/fs/resctrl directory is available.
    1
    2
    reboot
    ll /sys/fs/resctrl
    

  3. Mount the resctrl file system.
    1
    mount -t resctrl resctrl /sys/fs/resctrl/
    
  4. Check whether the mounting is successful. If the resctrl directory contains the content shown in the following figure, the mounting is successful.
    1
    ll /sys/fs/resctrl