Process cpu occupancy rate control method, terminal device and storage medium of linux system
A control method and occupancy rate technology, applied in the field of computer systems, can solve problems such as insufficient compatibility, complex architecture, and poor usability, and achieve the effect of improving CPU resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] refer to figure 1 As shown, the present invention provides a process CPU usage rate control method of a Linux system. Since resource scheduling is implemented in the system kernel, the common process CPU usage rate control method requires the cooperation of the kernel module to be implemented. For example, the Cgroup (Control Groups) mechanism under the Linux operating system manages and controls the behavior of processes using system resources in the form of groups. By grouping the processes, the user allocates and controls the resources of the group as a whole, including controlling the CPU usage rate of the processes. Cgroup is constructed by two parts, the kernel mode module and the user mode interface. The user obtains and sets various parameters of the kernel module through the user mode interface. The Cgroup structure is complex and requires the support of the kernel, so there is a problem of poor ease of use and insufficient compatibility in purely CPU-limited ...
Embodiment 2
[0064] The present invention also provides a process CPU occupancy rate control terminal device of a Linux system, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program The program realizes the steps in the above-mentioned method embodiment of Embodiment 1 of the present invention.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


