Ceph storage osd read equalization method and ceph storage osd read equalization system
A balancing method and storage module technology, applied in instruments, electrical digital data processing, input/output to record carriers, etc., can solve the problems of slowing down client response and increasing the load of primary copy, so as to improve reading efficiency and reduce Response time, the effect of reducing resource reading pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] In the prior art, such as figure 1 As shown, it can be seen that for each storage unit, the read and write requests are processed by the master copy osd0, and the slave copy osd1 and slave copy osd2 only process the write request synchronization; if the read requests are frequent during this period, the master copy will be greatly increased. The load increases the response time of the request, and the request cannot be dequeued quickly, causing the queue request to reach the threshold and reject the request, which affects the user experience.
[0034] According to the shortcoming of prior art, the present invention improves, as figure 2 As shown, the present invention puts the request of reading and writing into the read-write request queue. When a read data request is found, the object objectA to be read is analyzed, and then the entire read-write request queue is checked to see if there is any writing to the object objectA. Request, if not, the request to read objec...
Embodiment 2
[0051] This embodiment provides a ceph storage osd read balance system on the basis of implementation 1, which can implement the ceph storage osd read balance method.
[0052] Such as Figure 4 As shown, a ceph storage osd read balancing system includes a client, a ceph storage module, and several storage units, and the storage unit includes a read-write request queue module, a master copy storage module, a first slave copy storage module, and a second slave Copy storage module; for example, the storage unit includes storage unit A, storage unit B, storage unit C...storage unit N;
[0053] The client is used to send the data written by the user to the ceph storage module;
[0054] The ceph storage module is used to divide the data written by the user into several data blocks, and send each data block to the read and write request queue module of the corresponding storage unit;
[0055] The read-write request queue module is used to write data blocks into the primary copy sto...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


