Skip to content

Commit 030bf4e

Browse files
committed
Add latency-performance profile variants for cgroup v1/v2 switching
Made-with: Cursor
1 parent 939d929 commit 030bf4e

File tree

1 file changed

+21
-3
lines changed
  • docs/cloudlinuxos/cloudlinux_os_kernel

1 file changed

+21
-3
lines changed

docs/cloudlinuxos/cloudlinux_os_kernel/README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,9 @@ The following package versions are required:
675675
| `kmod-lve` / `kmodlve-dkms` | 2.1-58+ | 2.1-58+ | 2.1-58+ | 2.1-58+ |
676676
| `tuned-profiles-cloudlinux` | 0.2-14+ | 0.2-15+ | 0.3-6+ | 0.2-10+ |
677677

678-
To switch between cgroup versions, apply the appropriate tuned profile and reboot the server.
678+
To switch between cgroup versions, apply the appropriate tuned profile and reboot the server. Choose the profile that matches your current profile family (`cloudlinux-default` or `cloudlinux-latency-performance`).
679679

680-
**Enable cgroup v2:**
680+
**Enable cgroup v2 (default profile):**
681681
<div class="notranslate">
682682

683683
```
@@ -686,7 +686,16 @@ reboot
686686
```
687687
</div>
688688

689-
**Revert to cgroup v1:**
689+
**Enable cgroup v2 (latency-performance profile):**
690+
<div class="notranslate">
691+
692+
```
693+
tuned-adm profile cloudlinux-latency-performance-cgv2
694+
reboot
695+
```
696+
</div>
697+
698+
**Revert to cgroup v1 (default profile):**
690699
<div class="notranslate">
691700

692701
```
@@ -695,6 +704,15 @@ reboot
695704
```
696705
</div>
697706

707+
**Revert to cgroup v1 (latency-performance profile):**
708+
<div class="notranslate">
709+
710+
```
711+
tuned-adm profile cloudlinux-latency-performance-cgv1
712+
reboot
713+
```
714+
</div>
715+
698716
To verify that the server has booted with cgroup v2 and that the LVE module is operating correctly, check the kernel log after reboot:
699717
<div class="notranslate">
700718

0 commit comments

Comments
 (0)