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

A method, device, device and readable medium for automatically adjusting the number of threads

A technology of automatic adjustment and number of threads, applied in the computer field, can solve the problems of reducing user experience, affecting user experience, increasing I/0 request response delay, etc., to achieve the effect of satisfying storage performance and improving user experience.

Active Publication Date: 2021-11-19
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Users hope to have an efficient use environment, but too few processing threads will increase the response delay of I / 0 requests, and too many threads will occupy processing resources of other tasks, which will also affect user experience, especially in real-time transactions Thread allocation in class applications will affect the completion time of user requests and reduce user experience

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 method, device, device and readable medium for automatically adjusting the number of threads
  • A method, device, device and readable medium for automatically adjusting the number of threads
  • A method, device, device and readable medium for automatically adjusting the number of threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0083] According to the above steps, it is applied to the requirements of automatic adjustment of the number of threads for data flashing in storage products. The total number of threads is 10, δ=50, the proportional coefficient is 0.02, the initial number of threads is 1, and the number of processing tasks after the first thread runs stably is 500. / s, when the number of threads is 2, that is, the number of processing tasks after the second thread runs stably is 800 / s, when K=800-500=300, 300>50, the number of threads needs to be adjusted, and the threads to be adjusted are calculated according to the formula The number is 1+300*0.02=7, that is, adjust the number of threads to 7;

[0084] At this time, due to the insufficient number of brushes, the number of tasks to be processed by the seventh thread is 300 / s, and when the number of threads is 8, that is, the number of tasks processed by the eighth thread is 200 / s. At this time, K=200-300= -100, |-100|=100>50, so the number ...

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 present invention provides a method, device, device and readable medium for automatically adjusting the number of threads. The method includes: setting a thread adjustment fluctuation range, and obtaining the stable performance of the current last thread and an additional thread; Calculate the first rate of change of the thread processing speed based on the acquired performance; compare the absolute value of the first rate of change with the fluctuation range; in response to the absolute value of the first rate of change being less than the fluctuation range, exit the adjustment and keep the number of threads within The current number of threads. By using the solution of the present invention, the optimal number of threads can be found and then the processing speed of the task can be adjusted, which can meet the higher requirements of storage performance and improve the user experience.

Description

technical field [0001] This field relates to the computer field, and more specifically relates to a method, device, device and readable medium for automatically adjusting the number of threads. Background technique [0002] With the increasing scale of big data applications, the processing requirements of massive data put forward higher requirements on the storage performance of computer systems. Users hope to have an efficient use environment, but too few processing threads will increase the I / 0 request response delay, too many threads will occupy processing resources of other tasks, and will also affect user experience, especially in real-time transactions Thread allocation in class applications will affect the completion time of user requests and reduce user experience. Contents of the invention [0003] In view of this, the purpose of the embodiments of the present invention is to propose a method, device, device, and readable medium for automatically adjusting the nu...

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): G06F9/48G06Q40/04
CPCG06F9/4881G06Q40/04
Inventor 孙莹
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD