The method and osd to realize the ceph cluster cache

A caching and clustering technology, applied in the computer field, to achieve the effect of IO performance improvement and good IO performance

Active Publication Date: 2022-02-22
UNITED INFORMATION TECH H K COMPANY
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the present invention provides a method and OSD for implementing CEPH cluster cache to solve the problem that CEPH cluster needs to improve IO performance and be compatible with EC

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
  • The method and osd to realize the ceph cluster cache
  • The method and osd to realize the ceph cluster cache
  • The method and osd to realize the ceph cluster cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0022] Such as image 3 Shown, the present invention provides a kind of OSD of CEPH cluster, and figure 1 The difference is that the OSD of the present invention includes a first cache corresponding to it.

[0023] For example, when the CEPH cluster has only one OSD, the OSD corresponds to a first cache.

[0024] When the CEPH cluster includes multiple OSDs, such as OSD-1, OSD-2...OSD-m, where m is a natural number greater than 2, then OSD-1 corresponds to the first cache-1, and OSD-2 corresponds to the first cache-2... OSD-m corresponds to the first cache-m.

[0025] The purpose of the first cache is to:

[0026] (1) When the CEPH cluster executes the write operation of the object of the target OSD, it first releases the object to the target ...

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 and OSD for realizing the cache of a CEPH cluster, wherein the OSD includes a first cache set corresponding to it; when the CEPH cluster executes the write operation of the object of the target OSD, the object is first transferred to the first cache of the target, and then the The target first cache writes the object to the target OSD; when the CEPH cluster executes the read operation of the object of the target OSD, it first reads the object in the target OSD into the target first cache, and then the target first cache feeds the object back to the storage pool . The CEPH based on the OSD of the present invention can not only support EC (Erasure Code) erasure coding, but also have better IO performance than the CEPH with layered cache.

Description

technical field [0001] The invention relates to the computer field, in particular to a method and an OSD for realizing a CEPH cluster cache. Background technique [0002] figure 1 It is a structural diagram of a traditional CEPH cluster, where DATA is the user data input to CEPH or the data fed back to users by CEPH. The second layer is the pool storage pool. In the pool, a user data is abstracted into a pg (placement group), a pg includes multiple storage pool objects obj. CEPH uses the CRUSH algorithm to map the storage pool objects obj to different OSDs. OSDs can be regarded as logical disks of hard disks. [0003] The traditional CEPH cluster has no caching function, which makes the IO performance of CEPH poor. figure 2 It is a schematic diagram of the hierarchical cache structure of the CEPH cluster. The hierarchical cache is proposed based on the SSD, which can provide better IO performance for the CEPH client. At the same time, the hierarchical cache is the most wi...

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): G06F3/06
Inventor 管太阳
Owner UNITED INFORMATION TECH H K COMPANY
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