User Tools

Site Tools


manuals:vps:cgroups

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manuals:vps:cgroups [2023/03/17 15:47] – created Aithermanuals:vps:cgroups [2025/09/08 16:16] (current) – systemd 258 aither
Line 7: Line 7:
  
 There are two cgroup versions: v1 and v2. Because VPS are containers, the cgroup version There are two cgroup versions: v1 and v2. Because VPS are containers, the cgroup version
-depends on the host and cannot be changed inside VPS. We're currently using cgroup v1+depends on the host and cannot be changed inside VPS. 
-This version is slowly being deprecated and in 2024we can expect its support +cgroups v1 is slowly being deprecated and since systemd v258it is no longer supported 
-[[https://github.com/systemd/systemd/releases/tag/v252|to be removed from systemd]].+-- all VPS have mounted cgroups v2, but you cannot configure individual subsystems 
 +on nodes with v1.
  
 ===== cgroups v2 ===== ===== cgroups v2 =====
-We plan to start the transition to cgroups v2 in 2023. The situation is complicated by the +The situation is complicated by the fact that older distributions do not support cgroups v2 
-fact that older distributions do not support cgroups v2 and one node can use only one +and one node can use only one cgroup version. We have nodes with v1 for older VPS and nodes 
-cgroup version. We will have to have nodes with v1 for older VPS and nodes with v2 for +with v2 for new VPS and distributions that support it. You can see what cgroup version invididual 
-new VPS and distributions that support it. Our goal is to move as many VPS as possible+nodes are using on vpsAdmin landing page. Our end goal is to move as many VPS as possible
 to cgroup v2, since it also comes with performance benefits e.g. in the memory subsystem. to cgroup v2, since it also comes with performance benefits e.g. in the memory subsystem.
  
Line 21: Line 22:
 The following distributions support cgroups v2: The following distributions support cgroups v2:
  
-  * Alpine Linux with up-to-date init script+  * Alpine Linux 
 +  * Arch Linux
   * CentOS / Alma Linux / Rocky Linux >= 8   * CentOS / Alma Linux / Rocky Linux >= 8
   * Debian >= 9   * Debian >= 9
-  * Devuan with up-to-date init script+  * Devuan
   * Fedora >= 31 (possibly older)   * Fedora >= 31 (possibly older)
   * NixOS >= 19.03 (possibly older)   * NixOS >= 19.03 (possibly older)
   * openSUSE Leap >= 15.1 (possibly older)   * openSUSE Leap >= 15.1 (possibly older)
   * Ubuntu >= 18.04   * Ubuntu >= 18.04
-  * Void Linux with up-to-date init script+  * Void Linux
  
 ===== Configuring cgroup version ===== ===== Configuring cgroup version =====
Line 39: Line 41:
 If your VPS requires a specific cgroup version and it's not possible to change it, you can If your VPS requires a specific cgroup version and it's not possible to change it, you can
 reflect this in vpsAdmin settings. If you'd like to move to a node with a different cgroup reflect this in vpsAdmin settings. If you'd like to move to a node with a different cgroup
-version, please contact our support (we do not have nodes with v2 yet).+version, please contact our support.
manuals/vps/cgroups.1679068054.txt.gz · Last modified: 2023/03/17 15:47 by Aither