Skip to main content

Enable or disable memory oversubscription on the compute block

This section covers the procedure required to enable or disable compute block memory oversubscription.

Note
If your hardware stack has multiple compute controllers, you must enable the memory oversubscription service on each compute node separately.
  1. To start the service:
    1. Run:
      sudo systemctl start tacp-memory-oversubscription.service
    2. To ensure that the service is up and running, run:
      sudo systemctl status tacp-memory-oversubscription.service
      •  tacp-memory-oversubscription.service - ThinkAgile CP Dynamic Memory Oversubscription Service
      Loaded: loaded (/usr/lib/systemd/system/tacp-memory-oversubscription.service; disabled;
      vendor preset: disabled)
      Active: active (running) since Tue 2918-12-04 EST; 1s ago
      Main PID: 47861 (tacp-mem)
      Tasks: 1
      CGroup: /system.slice/tacp-memory-oversubscription.service
      ⨽47861 /usr/bin/python /usr/bin/tacp-memory-scheduler -i 1 -r 300 -m 25 -f 10

    3. Enable the memory oversubscription service so that the service starts on reboot:
      sudo systemctl enable tacp-memory-oversubscription.service
  2. To stop the service:
    1. Run:
      sudo systemctl stop tacp-memory-oversubscription.service
    2. To ensure that the service is not running, run:
      sudo systemctl status tacp-memory-oversubscription.service
      • tacp-memory-oversubscription.service - ThinkAgile CP Dynamic Memory Oversubscription Service  
      Loaded: loaded (/usr/lib/systemd/system/tacp-memory-oversubscription.service; disabled;
      vendor preset: disabled)
      Active: inactive (dead)
    3. Disable the memory oversubscription service:
      sudo systemctl disable tacp-memory-oversubscription.service