Adaptive process cpu resource limitation method, device, terminal and storage medium
A CPU resource, self-adaptive technology, applied in the computer field, can solve problems such as lowering service quality, large CPU overhead, affecting host service programs, etc., to achieve the effect of reducing transmission and CPU usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.
[0023] figure 1 It is a flow chart of an adaptive process CPU resource limitation method provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes:
[0024] S110, acquiring basic information of the system, and judging whether the system supports cgroups according to the basic information of the system;
[0025] Among them, the basic information of the system may include the version of the Linux system kernel (version 2.6.24 starts to support cgroups) and the mounting status of the CPU subsystem.
[0026] S120, when the system does not support cgroups, select the cpulimit mode to monitor the CPU usage;
[0027] S130. During the cpulimit monitoring process, if the CPU usage...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


