Method and apparatus for facilitating wear leveling of solid state disk
First Claim
Patent Images
1. A method for facilitating wear leveling for a solid state disk (SSD), comprising:
- obtaining a performance parameter of a SSD device of a plurality of SSD devices in a SSD cache, the SSD device including one or more SSD disks, wherein the performance parameter is enabled to comprise temperature of the SSD device;
determining a weight for the SSD device based on the performance parameter of the SSD device; and
setting reserved space for the SSD device according to the weight for the SSD device, the reserved space being inaccessible in the SSD device;
wherein setting the reserved space for the SSD device according to the weight for the SSD device comprises at least one of the following;
setting the reserved space greater than a threshold space in response to the weight being above a predetermined threshold, andsetting the reserved space less than the threshold space in response to the weight being below the predetermined threshold; and
whereinif the reserved space is set to be greater than the threshold space, a writing frequency of the SSD device is set to be less than a threshold frequency, andif the reserved space is set to be less than the threshold space, the writing frequency of the SSD device is set to be greater than the threshold frequency.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure relate to a method and apparatus for facilitating wear leveling of a solid state disk (SSD). The method comprises obtaining a performance parameter of a SSD device of a plurality of SSD devices in the SSD cache, and the SSD device includes one or more SSD disks. The method further comprises determining a weight for the SSD device based on the performance parameter of the SSD device. The method also comprises setting reserved space for the SSD device according to the weight for the SSD device, and the reserved space is inaccessible in the SSD device.
-
Citations
18 Claims
-
1. A method for facilitating wear leveling for a solid state disk (SSD), comprising:
-
obtaining a performance parameter of a SSD device of a plurality of SSD devices in a SSD cache, the SSD device including one or more SSD disks, wherein the performance parameter is enabled to comprise temperature of the SSD device; determining a weight for the SSD device based on the performance parameter of the SSD device; and setting reserved space for the SSD device according to the weight for the SSD device, the reserved space being inaccessible in the SSD device; wherein setting the reserved space for the SSD device according to the weight for the SSD device comprises at least one of the following; setting the reserved space greater than a threshold space in response to the weight being above a predetermined threshold, and setting the reserved space less than the threshold space in response to the weight being below the predetermined threshold; and wherein if the reserved space is set to be greater than the threshold space, a writing frequency of the SSD device is set to be less than a threshold frequency, and if the reserved space is set to be less than the threshold space, the writing frequency of the SSD device is set to be greater than the threshold frequency. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for facilitating wear leveling for a solid state disk (SSD), comprising:
-
an obtaining unit configured to obtain a performance parameter of a SSD device of a plurality of SSD devices in a SSD cache, the SSD device including one or more SSD disks, wherein the performance parameter is enabled to comprise temperature of the SSD device; a determining unit configured to determine a weight for the SSD device based on the performance parameter of the SSD device; and a setting unit configured to set reserved space for the SSD device according to the weight for the SSD device, the reserved space being inaccessible in the SSD device; wherein the setting unit is configured to perform at least one of the following; setting the reserved space greater than a threshold space in response to the weight being above a predetermined threshold, and setting the reserved space less than the threshold space in response to the weight being below the predetermined threshold, and wherein if the reserved space is set to be greater than the threshold space, a writing frequency of the SSD device is set to be less than a threshold frequency, and if the reserved space is set to be less than the threshold space, the writing frequency of the SSD device is set to be greater than the threshold frequency. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus for facilitating wear leveling of a solid state disk SSD, comprising:
-
a memory; and a processor configured to; obtain a performance parameter of a SSD device of a plurality of SSD devices in a SSD cache, the SSD device including one or more SSD disks, wherein the performance parameter is enabled to comprise temperature of the SSD device; determine a weight for the SSD device based on the performance parameter of the SSD device; and set reserved space for the SSD device according to the weight for the SSD device, the reserved space being inaccessible in the SSD device; wherein the processor, when setting the reserved space for the SSD device according to the weight for the SSD device, is constructed and arranged to perform at least one of the following; set the reserved space greater than a threshold space in response to the weight being above a predetermined threshold, and set the reserved space less than the threshold space in response to the weight being below the predetermined threshold; and wherein if the reserved space is set to be greater than the threshold space, a writing frequency of the SSD device is set to be less than a threshold frequency, and if the reserved space is set to be less than the threshold space, the writing frequency of the SSD device is set to be greater than the threshold frequency.
-
Specification