A method, device, equipment, and readable storage medium for determining the master of a storage pool PG

A determination method and technology for determining devices, which are applied to instruments, input/output to record carriers, computing, etc., can solve problems such as low efficiency of reading and writing data in cache medium space, uneven distribution, and uneven overall capacity of distributed file systems. , to achieve the effect of improving storage balance

Active Publication Date: 2020-07-03
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in a general system, multiple storage pools are created, and all OSDs and corresponding weights are shared between multiple storage pools. The weight adjusted according to the traditional method is only applicable to a single storage pool, and the overall distribution of the main OSDs among the storage pools is still uneven. , leading to the unbalanced overall capacity of the distributed file system, and the low efficiency of reading and writing data in the cache media space

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 method, device, equipment, and readable storage medium for determining the master of a storage pool PG
  • A method, device, equipment, and readable storage medium for determining the master of a storage pool PG
  • A method, device, equipment, and readable storage medium for determining the master of a storage pool PG

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The core of the present invention is to provide a method for determining the PG master of a storage pool, which can realize the balanced distribution of PG masters in the OSD and improve the space utilization rate of the distributed file system; another core of the present invention is to provide a storage pool The pool PG master identifies devices, equipment, and a readable storage medium.

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts ...

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 storage pool PG master determination method. The method comprises: counting PG master distribution conditions of OSDs in a storage pool; judging whether the PG main distribution reaches a preset uniform distribution standard or not according to the PG main distribution statistical data; if the PG main distribution does not reach the preset uniform distribution standard, obtaining pre-configured PG main weight data corresponding to the current storage pool; performing weight adjustment on the PG master weight data according to a uniform distribution standard; and determining a PG master according to the remodulation PG master weight data. According to the method, a corresponding OSD is allocated to each storage pool to serve as a main weight value of a PG; targetedadjustment of different PG main distribution conditions between different storage pools is achieved, it is guaranteed that each storage pool can determine the PG main in the most balanced mode underthe condition of different PG main distribution, and the storage balance of the overall distributed storage system is improved. The invention further discloses a storage pool PG master determination device and equipment and a readable storage medium which have the above beneficial effects.

Description

technical field [0001] The present invention relates to the technical field of distributed data storage, in particular to a storage pool PG master determination method, device, equipment and a readable storage medium. Background technique [0002] In order to facilitate the management of data distribution, the system will first create a storage pool, and then the storage pool will be divided into multiple PGs (Placement Group, placement group, a virtual logical unit of data distribution), and each PG contains Several hard drives. For example, the 4+2 erasure rule needs to save 6 pieces of data, and 6 hard disks are needed to save the data, then each PG contains 6 hard disks, and each hard disk is used as the OSD (Object Storage Device, Object Storage Device) of the PG. [0003] At the same time, there is a main OSD in each PG. The front-end writing business first sends the data to the main OSD, and then performs erasure correction and fragmentation calculations and sends it...

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
CPCG06F3/0608G06F3/0644G06F3/0665G06F3/067
Inventor 王曙光
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD
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