bugzilla: https://bugzilla.openanolis.cn/show_bug.cgi?id=3934

Due to the following reasons, it is necessary to dynamically isolate the interface configuration through the kernel to ensure the isolation of critical applications and run more smoothly.

  1. In the critical application exclusive scenario, the critical application thread should exclusively occupy a logical core (1v1 binding), but when the load of the whole machine is high, other service processes without cpusets will preempt the CPU where the critical application thread resides, thus affecting the critical application performance (performance jitter occurs).
  2. Currently, it is not possible to configure cgroups in user mode through a whitelist to completely isolate the CPU used by critical application threads.
  3. CPU resources need to be dynamically adjusted.