A storage system IO thread optimization method and device thereof

A technology of storage system and optimization method, which is applied in the direction of multi-channel program device, program control design, instrument, etc., can solve the problems of low utilization rate of storage system resources, overload of storage system resources, unreasonable thread allocation, etc., and improve service quality , avoiding resource overload and ensuring the rationality of allocation

Active Publication Date: 2019-01-22
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the current storage system, the number of SCSI IO processing threads and cache processing threads are controlled and adjusted by different modules, and the two are independent of each other. In this case, only the number of SCSI IO processing threads and cache processing threads can be adjusted separately , but cannot take into account the needs of the two kinds of threads to balance the allocation, it is easy to lead to unreasonable thread allocation, low resource utilization of the storage system, and prone to overload of storage system resources, poor service quality

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 storage system IO thread optimization method and device thereof
  • A storage system IO thread optimization method and device thereof
  • A storage system IO thread optimization method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042]The invention provides a storage system IO thread optimization method, the IO thread includes a SCSI IO processing thread and a cache processing thread, and the total number of IO threads is fixed; see figure 1 as shown, figure 1 It is a flowchart of a process of a storage system IO thread optimization method provided by the present invention. The method includes:

[0043] Step s101: detecting the cache utilization rate of the storage system in real time; the cache utilization rate is the cache ratio occupied by the data in the cache that is not synchronized to the storage medium;

[0044] Step s102: judging the cache utilization rate according to the first preset strategy, and obtaining the judging result;

[0045] Step s103: Adjust the allocated numbers of the two types of threads in the IO thread according to the judgment result and the preset adjustment strategy.

[0046] The present invention provides a storage system IO thread optimization method, judging the st...

Embodiment 2

[0048] Based on the first embodiment, the present invention also provides another storage system IO thread optimization method, see figure 2 as shown, figure 2 It is a flow chart of another storage system IO thread optimization method provided by the present invention.

[0049] The method includes:

[0050] Step s201: detecting the cache utilization rate of the storage system in real time;

[0051] Step s202: judging the cache utilization rate according to the first preset strategy, and obtaining the judging result;

[0052] Step s203: Adjust the allocated numbers of the two types of threads in the IO thread according to the judgment result and the preset adjustment strategy.

[0053] Specifically, the size of the cache utilization rate is judged according to the first preset strategy, and the judgment result is obtained; the process of adjusting the allocation numbers of the two threads in the IO thread according to the judgment result and the preset adjustment strategy ...

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 a method for optimizing IO threads of a storage system. The IO threads comprise SCSI IO processing threads and cache processing threads, and the amount of the IO threads is fixed. The method comprises the following steps of: detecting a cache utilization rate of the storage system in real time; judging the size of the cache utilization rate according to a first preset strategy so as to obtain a judging result, wherein the cache utilization rate is a cache proportion of data, which is not synchronized into a storage medium, in the cache; and adjusting distribution amount of the two threads according to the judging result and a preset adjustment strategy. According to the method disclosed by the invention, both the requirements of the two threads are considered to carry out balanced distribution, so that the distribution rationality of the threads is ensured as much as possible and the resource utilization rate and service quality of the storage system can be improved. The invention furthermore discloses a device for optimizing the IO threads of the storage system, and the device also has the above advantages.

Description

technical field [0001] The invention relates to the technical field of storage performance optimization, in particular to a storage system IO thread optimization method and a device thereof. Background technique [0002] With the development of the IT industry, the development of computers towards large capacity and high speed makes the computer industry have higher and higher requirements for computer equipment and storage equipment, and the capacity, speed, sustainability, and high availability of storage equipment are all important Make higher and higher demands. While continuously increasing the requirements for hard indicators such as capacity and speed, the requirements for the service quality of the storage system are also attracting more and more attention. [0003] The storage system mainly includes two kinds of threads: SCSI IO processing thread and cache processing thread. The role of SCSI IO processing thread is to convert client instructions and data received b...

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/50
CPCG06F9/5038
Inventor 殷雷
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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