Method and system for balancing and optimizing primary placement group, and device and medium
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsRunyu Sun, Xiangrui Meng
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsRunyu Sun, Xiangrui Meng
Estimating the term…
Provided are a method and system for balancing and optimizing a primary placement group, and a device and a storage medium. The method includes: determining a theoretical average value; determining a weight corresponding to each object-based storage device based on an actual capacity occupied by the object-based storage device and the theoretical average value; determining the number of expected balanced primary placement groups based on the total number of current primary placement groups and the weight corresponding to the object-based storage device; obtaining a corresponding base value based on an address of each placement group and an address of the object-based storage device, and determining the placement group as a primary placement group in a case where the base value is less than a preset value; and repeating a previous operation until the number of the determined primary placement groups reaches the number of the expected balanced primary placement groups.
A method for balancing and optimizing a primary placement group, applied to a computer device, the computer device comprising at least one processor and a memory, the memory being used to store computer instructions that are executable on the processor, the computer instructions, when executed by the processor, implementing the method, the method comprising:
Dependencies are inferred from the claim text.