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

CPU frequency adjusting method and apparatus

A technology of CPU frequency and frequency, which is applied in the field of adjusting CPU frequency, can solve the problems of high CPU power consumption and waste of power resources, and achieve the effect of reducing CPU frequency, increasing CPU frequency, and avoiding data congestion

Inactive Publication Date: 2017-03-22
NEUSOFT CORP
View PDF14 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present disclosure is to provide a method and device for adjusting CPU frequency, so as to solve the problem that the CPU of the network device receiving packets in polling mode always runs with high power consumption and wastes power resources

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
  • CPU frequency adjusting method and apparatus
  • CPU frequency adjusting method and apparatus
  • CPU frequency adjusting method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0033] In order to make it easier for those skilled in the art to understand the technical solution provided by the present disclosure, the implementation environment of the technical solution of the present disclosure is introduced below.

[0034] figure 1 is a schematic structural diagram of a network device 100 . As shown in Figure 1, the network device 100 includes a CPU 101, wherein the CPU 101 includes at least one CPU core, for example figure 1 CPU core 1011 , CPU core 1012 , CPU core 1013 , and CPU core 1014 are shown. The network device 100 also includes a network card 102, wherein the network card 102 includes a plurality of network card queues, ...

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 a CPU frequency adjusting method and apparatus, which is used for solving the problem of power resource waste due to the fact that a CPU of a network device receiving a package in a polling mode always runs with high power consumption. The method comprises the steps of reading data in network card queues corresponding to CPU cores in the polling mode according to package receiving threads of the CPU cores, wherein the CPU comprises at least one CPU core, each CPU core corresponds to at least one network card queue in a network card, and each network card queue in the network card corresponds to a CPU core; determining a load of each network card queue corresponding to the CPU core according to a quantity of data packages read from each network card queue by the CPU core; and adjusting the frequency of the CPU core according to the load of each network card queue corresponding to the CPU core.

Description

technical field [0001] The present disclosure relates to the field of computers, and in particular, to a method and device for adjusting CPU frequency. Background technique [0002] Traditional network devices receive data packets in an interrupted manner, that is, when a data packet arrives at the network card, the network card sends an interrupt signal to the CPU (Central Processing Unit, central processing unit), and the CPU begins to receive and process the data packet from the network card. When there is no data packet, the CPU does not perform calculations, the usage rate of the CPU is low, and the power consumption is also low. [0003] However, for the interrupt method, since an interrupt will be generated every time a data packet is received, the processor will quickly perform context switching and jump to the interrupt service program to process the receiving packet. In some cases, too many interrupts will increase the load on the system. Therefore, in recent yea...

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
IPC IPC(8): G06F1/32
CPCG06F1/3243
Inventor 李拓
Owner NEUSOFT CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More