Migration of hot and cold data between high-performance storage and low-performance storage at block and sub-block granularities
First Claim
1. A method for a storage device to migrate hot and cold data between high-performance storage and low-performance storage at block and sub-block granularities, wherein the storage device comprises a first storage disk set and a second storage disk set, wherein the first storage disk set includes a plurality of storage disks with high performance, and wherein the second storage disk set includes a plurality of storage disks with low performance, the method comprising:
- monitoring an access frequency of a block stored in the second storage disk set, wherein the block includes multiple sub-blocks;
determining that the access frequency of the block has reached a first access threshold value;
moving the block to the first storage disk set after the access frequency of the block reaches above the first access threshold value;
obtaining an access frequency for each of the multiple sub-blocks after the block is moved to the first storage disk set, wherein the multiple sub-blocks are independently accessible, wherein each of the multiple sub-blocks has an access frequency that is independent from access frequencies of other sub-blocks and the access frequency of the block;
separating the block into the multiple sub-blocks when the access frequency of at least one of the multiple sub-blocks falls below a second access threshold value;
moving the at least one of the multiple sub-blocks to the second storage disk set; and
combining all of the multiple sub-blocks into the block after each of the multiple sub-blocks is moved to the second storage disk set when the access frequency of each of the multiple sub-blocks falls below the second access threshold value.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus for tiered storage processing of data, and a storage device. The method includes: splitting the migration unit into multiple migration subunits when a migration unit of low-tier disks is migrated to high-tier disks, and detecting a data access frequency of each migration subunit respectively; migrating the migration subunit to the low-tier disk when detecting that the data access frequency of the migration subunit is lower than a set threshold; and combining the multiple migration subunits into the migration unit when detecting that the multiple migration subunits are all migrated to the lower-tier disk. The present invention improves usage of storage media, and controls metadata storage resource consumption effectively.
-
Citations
8 Claims
-
1. A method for a storage device to migrate hot and cold data between high-performance storage and low-performance storage at block and sub-block granularities, wherein the storage device comprises a first storage disk set and a second storage disk set, wherein the first storage disk set includes a plurality of storage disks with high performance, and wherein the second storage disk set includes a plurality of storage disks with low performance, the method comprising:
-
monitoring an access frequency of a block stored in the second storage disk set, wherein the block includes multiple sub-blocks; determining that the access frequency of the block has reached a first access threshold value; moving the block to the first storage disk set after the access frequency of the block reaches above the first access threshold value; obtaining an access frequency for each of the multiple sub-blocks after the block is moved to the first storage disk set, wherein the multiple sub-blocks are independently accessible, wherein each of the multiple sub-blocks has an access frequency that is independent from access frequencies of other sub-blocks and the access frequency of the block; separating the block into the multiple sub-blocks when the access frequency of at least one of the multiple sub-blocks falls below a second access threshold value; moving the at least one of the multiple sub-blocks to the second storage disk set; and combining all of the multiple sub-blocks into the block after each of the multiple sub-blocks is moved to the second storage disk set when the access frequency of each of the multiple sub-blocks falls below the second access threshold value. - View Dependent Claims (2, 3, 4)
-
-
5. A storage device configured to migrate hot and cold data between high-performance storage and low-performance storage at block and sub-block granularities, comprising:
-
a processor; a first storage disk set comprising a plurality of storage disks with high performance; a second storage disk set comprising a plurality of storage disks with low performance; a communication interface coupled to the processor; and a communication bus coupled to the processor, the first storage disk set, and the second storage disk set, wherein the processor is configured to; communicate with the communication interface through the communication bus; obtain an access frequency of a block stored at the second storage disk set, wherein the block includes multiple sub-blocks; move the block to the first storage disk set when the access frequency of the block reaches the first access threshold value, obtain an access frequency of each of the multiple sub-blocks after the block is moved to the first storage disk set, wherein the multiple sub-blocks are independently accessible, wherein each of the multiple sub-blocks has an access frequency that is independent from access frequencies of other sub-blocks, and wherein the access frequency of each of the multiple sub-blocks is independent from the access frequency of the block; separate the block into the multiple sub-blocks when the access frequency of at least one of the multiple sub-blocks is less than a second access threshold value; move the at least one of the multiple sub-blocks to the second storage disk set; and combine each of the multiple sub-blocks into the block after each of the multiple sub-blocks is moved to the second storage disk set when the access frequency of each of the multiple sub-blocks fall below the second access threshold value. - View Dependent Claims (6, 7, 8)
-
Specification