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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


