Unlock instant, AI-driven research and patent intelligence for your innovation.

A statistical method and device for cpu occupancy rate

A statistical method and occupancy rate technology, applied in the computer field, can solve problems such as the performance reduction of multi-core processors, achieve the effect of improving overall stability and efficiency, and increasing operating speed

Active Publication Date: 2019-09-17
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0031] The embodiment of the present invention provides a method and device for counting the CPU usage rate, which is used to solve the problem in the prior art that the performance of multi-core processors is reduced due to the inability to count the CPU usage rate of processes.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A statistical method and device for cpu occupancy rate
  • A statistical method and device for cpu occupancy rate
  • A statistical method and device for cpu occupancy rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In the embodiment of the present invention, a real-time calculation process CPU occupancy rate based on the linux operating system is provided, so that the user can dynamically adjust the CPU load balance of the process according to the CPU occupancy rate of the process, thereby improving the working performance of the multi-core processor.

[0081] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0082] In practical applications, a process is also called a soft core, and there is a corresponding relationship between a soft program and a hard core. This is because: a process is composed of multiple threads. In order to achieve performance balance between hard cores, multiple threads in a process will be assigned to different hard cores for processing to improve processing performance. Therefore, Each process corresponds to at least two hard cores, and the system records the correspondence b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to computer technologies, in particular to a statistical method and device for a CPU occupancy rate. The statistical method and device for the CPU occupancy rate are used for solving the problem existing in the prior art that the performance of a multi-core processor is reduced because the CPU occupancy rate in a process can not be counted. According to the method, the CPU occupancy rate is counted without taking a hard core as a unit any more, but on the basis of a corresponding relationship between the process and the hard core and according to the CPU occupancy rate of the hard core, the CPU occupancy rate of the soft core in the process is inferred; in this way, the ID of the hard core bonded with the process can be dynamically adjusted by accurately evaluating the CPU load condition caused by the process, and therefore processor sources are reasonably utilized, the running speed of the processor is effectively increased, and the overall stability and efficiency of equipment are improved.

Description

technical field [0001] The invention relates to computer technology, in particular to a statistical method and device for CPU occupancy rate. Background technique [0002] Multi-core processor technology is an advanced technology in CPU design. It refers to the integration of at least two complete computing engines (also known as cores, hard cores) in one processor chip to enhance computing performance. Computers distribute workloads among multiple CPU hard cores and rely on high-speed on-chip interconnects and high-bandwidth pipelines to memory and input-output (I / O). Improve system performance. Multi-core processors, which offer performance and productivity advantages over current single-core processors, will eventually become a widespread computing paradigm. [0003] In an operating system using a multi-core processor, in order to achieve performance balance among multiple CPU hard cores, it is necessary to know the CPU usage of each CPU hard core in real time. Take t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34
Inventor 王秀芬陈剑
Owner DATANG MOBILE COMM EQUIP CO LTD