Memory data migration method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsJin XIE, Gang LIU
Life of this patent
Estimating the term…
Abstract
A memory data migration method, apparatus, and system are provided. During memory migration, data is classified into two parts based on a hot and cold degree of the data. Hot data is directly migrated, and cold data is written into a shared storage device shared by memories. When needing to be used in a destination-end memory, the cold data may be read from the shared storage device. This reduces an amount of data that needs to be migrated to the destination-end memory, thereby improving memory migration efficiency.
Claims20
A data migration method applied to a computing system, the computing system comprising a first memory and a second memory, and the method comprises:
- dividing to-be-migrated data into first to-be-migrated data and second to-be-migrated data, wherein the to-be-migrated data is located in the first memory;
- migrating the first to-be-migrated data to the second memory;
- and
- writing the second to-be-migrated data into the storage device, wherein the storage device is a shared storage device of the first memory and the second memory.
A data migration apparatus, comprising:
- a first memory;
- and
- a processor coupled to the first memory and configured to execute instructions to:
- divide to-be-migrated data into first to-be-migrated data and second to-be-migrated data, wherein the to-be-migrated data is located in the first memory;
- migrate the first to-be-migrated data to a second memory, and
- write the second to-be-migrated data into the storage device, wherein the storage device is a shared storage device of the first memory and the second memory.
A computing system, comprising a migration apparatus, a first memory, a second memory, and a storage device, wherein
- the migration apparatus is configured to:
- divide to-be-migrated data into first to-be-migrated data and second to-be-migrated data, wherein the to-be-migrated data is located in the first memory,
- migrate the first to-be-migrated data to the second memory, and write the second to-be-migrated data into the storage device;
- the storage device is configured to receive the second to-be-migrated data, wherein the storage device is a shared storage device of the first memory and the second memory.
Dependencies are inferred from the claim text.