Automatic adjusting method and device for thread number aiming to realizing optimization of resource utilization

A technology that automatically adjusts the number of devices and threads, applied in the field of computer engineering, can solve problems such as increasing the workload and complexity of software developers, and achieve the effects of improving resource utilization, resource utilization balance, and saving workload

Active Publication Date: 2014-05-21
STATE GRID CORP OF CHINA +1
View PDF8 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The adjustment of the number of threads is a dynamic and complex work, which greatly increases the workload of software developers

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
  • Automatic adjusting method and device for thread number aiming to realizing optimization of resource utilization
  • Automatic adjusting method and device for thread number aiming to realizing optimization of resource utilization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present invention is described in detail below in conjunction with accompanying drawing:

[0056] Such as figure 1 As shown, a device for automatically adjusting the number of threads for optimal resource utilization, including a resource monitoring module, a training module, a thread number determination module and a thread management module;

[0057] The resource monitoring module is used to monitor the utilization status of various computing resources of the server;

[0058] The training module is used to quantify the amount of resources used by adding a new thread for each type of task;

[0059] The number of threads determination module is used to determine the number of threads for each type of task and issue thread adjustment instructions;

[0060] The thread management module is used to dynamically manage threads according to the instructions of the thread quantity determination module, and is responsible for the creation, recycling and destruction of thre...

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 discloses an automatic adjusting method and device for the thread number aiming to realizing the optimization of resource utilization. The automatic adjusting device comprises a resource monitoring module, a training module, a thread number determining module and a thread managing module, wherein the resource monitoring module is used for monitoring the use condition of each computing resource in a server; the training module is used for quantizing the resources used by one newly-increased thread for each type of task; the thread number determining module is used for determining the thread number of each type of task and giving a thread number adjustment instruction; the thread managing module is used for determining an instructive dynamic management thread of the module according to the thread number and is used for creating, recovering and destroying a thread. According to the automatic adjusting method and device disclosed by the invention, the adjustment on the thread number can be automatically finished by using methods of monitoring resources, managing the thread and the like, without manual intervention completely, so that the workload of optimizing performance by software developers is reduced, the thread number can be adjusted dynamically, accurately and quickly and the resource utilization of the server reaches or approaches to optimization.

Description

technical field [0001] The invention belongs to the technical field of computer engineering, and in particular relates to a method and device for automatically adjusting the number of threads for optimal resource utilization. Background technique [0002] For a server that executes multiple tasks concurrently, making full use of its various resources can reduce the purchase and maintenance costs of the server. The determination of the number of threads is a key factor in resource utilization efficiency. If the number of threads is too low, resources cannot be fully utilized. If the number of threads is too high, excessive resources will be consumed in unnecessary task operations due to resource contention and thread switching. In the case of multiple types of tasks sharing the server, in order to optimize resource utilization, it is necessary to determine and adjust the number of threads for each type of task. The adjustment of the number of threads is a dynamic and complex...

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 Applications(China)
IPC IPC(8): G06F9/50
Inventor 马艳郭志红杜修明杨祎李程启邹立达
Owner STATE GRID CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products