Dynamic write selection for shelf-life retention in non-volatile memories
Systems, apparatuses and methods may provide for technology that determines a power-off period associated with a non-volatile memory (NVM), sets a completion time of a write procedure corresponding to the NVM to a first value if the power-off period exceeds a threshold, and sets the completion time to a second value if the power-off period does not exceed the threshold, wherein the first value is greater than the second value.
1 . A memory controller comprising:
one or more substrates; and
logic coupled to the one or more substrates, wherein the logic is implemented at least partly in one or more of configurable or fixed-functionality hardware, the logic to:
determine a power-off period associated with a non-volatile memory (NVM);
set a completion time of a write procedure for the NVM to a first value if the power-off period exceeds a threshold; and
set the completion time to a second value if the power-off period does not exceed the threshold, wherein the first value is greater than the second value; and
wherein the second value for the completion time of the write procedure is to provide a normal time to charge unselected cells a standard value, and the first value for the completion time of the write procedure is to provide a longer time to charge unselected cells to a value higher than the standard value for a write after the power-off period exceeds the threshold.
2 . The memory controller of claim 1 , wherein the power-off period is determined based on one or more of a real time clock of the NVM or a retry rate of the NVM.
3 . The memory controller of claim 1 , wherein to set the completion time to the first value, the logic is to send an operation code to the NVM, and wherein the operation code is dedicated to the first value.
4 . The memory controller of claim 1 , wherein to set the completion time to the first value, the logic is to:
send an operation code to the NVM, wherein the operation code is common to the first value and the second value; and
modify one or more control settings and scheduler timings based on the first value.
5 . The memory controller of claim 1 , wherein the logic is to:
detect a completion of a background refresh cycle in the NVM; and
switch the completion time from the first value to the second value in response to the completion of the background refresh cycle.
6 . The memory controller of claim 5 , wherein the logic is to reduce a length of the background refresh cycle while the completion time is set to the first value.
7 . The memory controller of claim 1 , wherein the power-off period is determined in response to a power-on transition in the NVM, and wherein the NVM includes a phase change memory.
8 . At least one computer readable storage medium comprising a set of instructions, which when executed by a memory controller, cause the memory controller to:
determine a power-off period associated with a non-volatile memory (NVM);
set a completion time of a write procedure for the NVM to a first value if the power-off period exceeds a threshold; and
set the completion time to a second value if the power-off period does not exceed the threshold, wherein the first value is greater than the second value; and
wherein the second value for the completion time of the write procedure is to provide a normal time to charge unselected cells a standard value, and the first value for the completion time of the write procedure is to provide a longer time to charge unselected cells to a value higher than the standard value for a write after the power-off period exceeds the threshold.
9 . The at least one computer readable storage medium of claim 8 , wherein the power-off period is determined based on one or more of a real time clock of the NVM or a retry rate of the NVM.
10 . The at least one computer readable storage medium of claim 8 , wherein to set the completion time to the first value, the instructions, when executed, cause the memory controller to send an operation code to the NVM, and wherein the operation code is dedicated to the first value.
11 . The at least one computer readable storage medium of claim 8 , wherein to set the completion time to the first value, the instructions, when executed, cause the memory controller to:
send an operation code to the NVM, wherein the operation code is common to the first value and the second value; and
modify one or more control settings and scheduler timings based on the first value.
12 . The at least one computer readable storage medium of claim 8 , wherein the instructions, when executed, further cause the memory controller to:
detect a completion of a background refresh cycle in the NVM; and
switch the completion time from the first value to the second value in response to the completion of the background refresh cycle.
13 . The at least one computer readable storage medium of claim 12 , wherein the instructions, when executed, further cause the memory controller to reduce a length of the background refresh cycle while the completion time is set to the first value.
14 . The at least one computer readable storage medium of claim 8 , wherein the power-off period is determined in response to a power-on transition in the NVM, and wherein the NVM includes a phase change memory.
15 . A computing system comprising:
a non-volatile memory (NVM); and
a memory controller coupled to the NVM, wherein the memory controller includes logic implemented at least partly in one or more of configurable or fixed-functionality hardware, the logic to:
determine a power-off period associated with the NVM,
set a completion time of a write procedure for the NVM to a first value if the power-off period exceeds a threshold, and
set the completion time to a second value if the power-off period does not exceed the threshold, wherein the first value is greater than the second value, and
wherein the second value for the completion time of the write procedure is to provide a normal time to charge unselected cells a standard value, and the first value for the completion time of the write procedure is to provide a longer time to charge unselected cells to a value higher than the standard value for a write after the power-off period exceeds the threshold.
16 . The computing system of claim 15 , wherein the power-off period is determined based on one or more of a real time clock of the NVM or a retry rate of the NVM.
17 . The computing system of claim 15 , wherein the logic is to:
detect a completion of a background refresh cycle in the NVM, and
switch the completion time from the first value to the second value in response to the completion of the background refresh cycle.
18 . A method comprising:
determining a power-off period associated with a non-volatile memory (NVM);
setting a completion time of a write procedure for the NVM to a first value if the power-off period exceeds a threshold; and
setting the completion time to a second value if the power-off period does not exceed the threshold, wherein the first value is greater than the second value; and
wherein the second value for the completion time of the write procedure is to provide a normal time to charge unselected cells a standard value, and the first value for the completion time of the write procedure is to provide a longer time to charge unselected cells to a value higher than the standard value for a write after the power-off period exceeds the threshold.
19 . The method of claim 18 , wherein the power-off period is determined based on one or more of a real time clock of the NVM or a retry rate of the NVM.
20 . The method of claim 18 , further comprising:
detecting a completion of a background refresh cycle in the NVM; and
switching the completion time from the first value to the second value in response to the completion of the background refresh cycle.