A storage unit performance optimization method, device, storage device and storage medium
A storage unit and optimization method technology, which is applied to instruments, electrical digital data processing, input/output to record carriers, etc., can solve the problem of excessively shortened service life of storage units, uneven pressure distribution, and overall performance impact of distributed file systems. and other problems, to achieve the effect of performance optimization, pressure average, and prevention of rapid shortening of service life
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] See figure 1 , figure 1 A flow chart of a storage unit performance optimization method provided in an embodiment of the present application, which includes the following steps:
[0055] S101: Record the time-consuming information of each operation performed by each storage unit, and calculate the average time-consuming according to the number of operations occurring in each cycle;
[0056] The operations performed by the storage unit are divided into read operations and write operations according to different types. The execution time of each read operation or write operation is often related to the working status of the corresponding storage unit, that is, a storage unit in good working condition is compared with Carrying a storage unit in poor working condition, there will be a significant difference in the execution time of the operation between the two. The pros and cons of the working status are usually affected by various factors, such as whether it is under a l...
Embodiment 2
[0077] See image 3 , image 3 It is a flow chart of a method for determining the relative number of master copies in the storage unit performance optimization method provided in the embodiment of this application. On the basis of Embodiment 1, this step aims to further determine the relative number of master copies according to the number of reads Different from the contribution of this book to further optimize the relative number of master copies determined, including the following steps:
[0078] S301: Divide the execution times into read times and write times according to the operation types;
[0079] S302: Assigning different weights to the number of reads and the number of writes respectively;
[0080] Assuming that the weight assigned to the number of reads is the first weight and the weight assigned to the number of writes is the second weight, the first weight should be greater than the second weight, because the read-write mechanism of the existing master-slave cop...
Embodiment 3
[0085] see below Figure 4 , Figure 4 A structural block diagram of a storage unit performance optimization device provided in an embodiment of the present application, the device may include:
[0086] The average time-consuming calculation unit 100 is used to record the time-consuming information of each operation performed by each storage unit, and calculate the average time-consuming according to the number of operations occurring in each cycle;
[0087] The execution times determination unit 200 is configured to record the type information of each operation performed on the master copy stored in each storage unit, and determine the execution times of each operation according to the type information occurring in each cycle;
[0088] The master affinity determining unit 300 is configured to determine the master affinity of each storage unit in a corresponding cycle according to the average time-consuming and execution times corresponding to each cycle;
[0089]The primary...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


