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

Method and device adjusting network equipment resource allocation

A technology for network equipment and resource allocation, applied in the field of communications, can solve problems such as CPU resource occupation, and achieve the effect of improving utilization

Active Publication Date: 2015-07-01
郑学晶
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for adjusting resource configuration of network equipment, so as to solve the CPU resource occupation problem between the message receiving thread and the service processing thread, and reduce the waste of CPU 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
  • Method and device adjusting network equipment resource allocation
  • Method and device adjusting network equipment resource allocation
  • Method and device adjusting network equipment resource allocation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] figure 1 The flow chart of Embodiment 1 of the method for adjusting network device resource allocation according to the present invention, as shown in figure 1 As shown, the method of this embodiment may include:

[0052] S101, when the network device operating system is initialized, the operating system kernel of the network device sets ...

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

An embodiment of the invention provides a method and a device adjusting network equipment resource allocation. The method comprises the following steps: at initialization time for an operating system, the operating system nucleus of network equipment sets working condition of M message receiving threads as dormant state, and sets working condition of N message receiving threads as non-dormant state; during a detection period, the operating system nucleus counts sum of idle count value of message receiving threads in non-dormant state, and the idle count value is the times that the message receiving threads in non-dormant state did not receive the data package during a detection period. Finally, the operating system nucleus adjusts the working condition of message receiving threads according to the sum of idle count value. According to the method and the device adjusting network equipment resource allocation, the number of method for network equipment resource allocation can be adjusted according to the flow, the released CPU resource can be used for business process threads and the use ratio of the CPU resource is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of communication technologies, and in particular, to a method and device for adjusting network device resource configuration. Background technique [0002] The processing of messages by network devices is generally divided into message receiving threads, business processing threads and message sending threads. The sending thread sends out. Among them, the message receiving thread is the entrance of the entire device traffic, which has high requirements for real-time performance, and usually runs as a separate thread, while the business processing thread may be time-consuming to process messages, and different services run on different business processing threads. thread. Since the message receiving thread and the service processing thread share CPU resources, the allocation of resources between the message receiving thread and the service processing thread has a great impact on the processi...

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): H04L12/24
Inventor 黎莉张宏斌
Owner 郑学晶