Enabling Cluster Scheduling Tuning on a Physical Machine
You need to enable cluster scheduling tuning before using it. The following describes how to enable this feature on a physical machine.
On a physical machine, this operation is simple because the OS can directly read the DT information.
Make sure you have the root permission. Then just run the following command to enable cluster scheduling tuning:
The /proc/sys/kernel/sched_cluster node exists only in openEuler 22.03 LTS SP2 or later.
- Temporarily enable cluster scheduling tuning.
echo 1 > /proc/sys/kernel/sched_cluster
- Permanently enable cluster scheduling tuning.
- Open sysctl.conf.
1vi /etc/sysctl.conf - Press i to enter the insert mode and add kernel.sched_cluster=1.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the following command to make the preceding settings take effect.
1sysctl -p
- Open sysctl.conf.
Parent topic: Enabling Cluster Scheduling Tuning