Enabling the Feature
Configuring the Basic Environment
- Before enabling the feature, run the following commands on the server to configure the basic environment.
1 2 3 4 5 6 7
systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux setenforce 0 systemctl stop irqbalance.service systemctl disable irqbalance.service swapoff -a
- Set firewalld to clear kernel modules when it exits.
1sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" /etc/firewalld/*.conf
- Restart the firewalld service.
1systemctl restart firewalld
- Stop the firewalld service.
1systemctl stop firewalld
Enabling the Domain-based Scheduling Feature
Enable domain-based scheduling.
1 | echo SOFT_DOMAIN > /sys/kernel/debug/sched_features |