Performance of memory system background operations
Various examples are directed to devices and methods involving a host device and a memory system, the memory system comprising a memory controller and a plurality of memory locations. The memory system may send to the host device a first message describing background operations to be performed at the memory system. The memory system may receive from the host device a second message indicating permission to execute the background operations and may begin to execute at least one background operation.
1 . An electronic device, comprising:
a memory system comprising a memory controller and a plurality of memory locations, the memory controller being programmed to perform operations comprising:
communicating, to a host device, a first message describing at least one background operation to be performed at the memory system;
receiving, from the host device, a second message indicating permission to execute the at least one background operation described by the first message to the host device, the second message being responsive to the first message;
initiating execution of the at least one background operation;
while executing the at least one background operation, receiving an indication from the host device that the memory system is to stop execution of the at least one background operation; and
responsive to the indication that that the memory system is to stop execution of the at least one background operation, stopping execution of the at least one background operation.
2 . The electronic device of claim 1 , wherein the first message comprises volume data describing a volume of background operations to be performed at the memory system.
3 . The electronic device of claim 1 , wherein communicating the first message comprises writing background operations data to a memory location of the plurality of memory locations that is accessible to the host device.
4 . The electronic device of claim 1 , wherein the second message indicates a time period when the memory system is to execute the at least one background operation.
5 . The electronic device of claim 1 , the indication that the memory system is to stop execution of the at least one background operation comprising a stop background operation interrupt signal received from the host device.
6 . The electronic device of claim 1 , the indication that the memory system is to stop execution of the at least one background operation comprising an indication that a temperature of the memory system has exceeded a maximum temperature.
7 . The electronic device of claim 1 , the operations further comprising, reading time data from a descriptor memory location, the time data describing a time period when the memory system is to execute the at least one background operation, the descriptor memory location being a memory location of the plurality of memory locations that is accessible to the host device the indication that the memory system is to stop execution of the at least one background operation comprising an indication that the time period when the memory system is to execute the at least one background operation has expired prior to completing the at least one background operation.
8 . The electronic device of claim 1 , the operations further comprising, after completing the at least one background operation, writing background operations stopped data to a descriptor memory location, the background operations stopped data indicating that at least one background operation is complete, the descriptor memory location being a memory location of the plurality of memory locations that is accessible to the host device.
9 . A method for executing background operations at a memory system comprising a plurality of memory locations, the method comprising:
communicating, by the memory system and to a host device, a first message describing at least one background operation to be performed at the memory system;
receiving, by the memory system and from the host device, a second message indicating permission to execute the at least one background operation described by the first message to the host device, the second message being responsive to the first message;
initiating, by the memory system, execution of the at least one background operation;
while executing the at least one background operation, receiving, by the memory system, an indication from the host device that the memory system is to stop execution of the at least one background operation; and
responsive to the indication that the memory system is to stop execution of the at least one background operation, stopping, by the memory system, execution of the at least one background operation.
10 . The method of claim 9 , wherein the first message comprises volume data describing a volume of background operations to be performed at the memory system.
11 . The method of claim 9 , wherein communicating the first message comprises writing background operations data to a memory location of the plurality of memory locations that is accessible to the host device.
12 . The method of claim 9 , wherein the second message indicates a time period when the memory system is to execute the at least one background operation.
13 . The method of claim 9 , the indication that the memory system is to stop execution of the at least one background operation comprising a stop background operation interrupt signal received from the host device.
14 . The method of claim 9 , the indication that the memory system is to stop execution of the at least one background operation comprising an indication that a temperature of the memory system has exceeded a maximum temperature.
15 . The method of claim 9 , further comprising, reading, by the memory system, time data from a descriptor memory location, the time data describing a time period when the memory system is to execute the at least one background operation, the descriptor memory location being a memory location of the plurality of memory locations that is accessible to the host device the indication that the memory system is to stop execution of the at least one background operation comprising an indication that the time period when the memory system is to execute the at least one background operation has expired prior to completing the at least one background operation.
16 . The method of claim 9 , further comprising, after completing the at least one background operation, writing, by the memory system, background operations stopped data to a descriptor memory location, the background operations stopped data indicating that at least one background operation is complete, the descriptor memory location being a memory location of the plurality of memory locations that is accessible to the host device.
17 . A non-transitory computer-readable medium comprising instructions thereon that, when executed by at least one processor of a memory system, causes the at least one processor to perform operations comprising:
communicating, to a host device, a first message describing at least one background operation to be performed at the memory system, the memory system comprising a plurality of memory locations;
receiving, from the host device, a second message indicating permission to execute the at least one background operation described by the first message to the host device, the second message being responsive to the first message;
initiating execution of the at least one background operation;
while executing the at least one background operation, receiving accessing an indication from the host device that the memory system is to stop execution of the at least one background operation; and
responsive to the indication that the memory system is to stop execution of the at least one background operation, stopping execution of the at least one background operation.
18 . The non-transitory computer-readable medium of claim 17 , wherein the first message comprises volume data describing a volume of background operations to be performed at the memory system.
19 . The non-transitory computer-readable medium of claim 17 , wherein communicating the first message comprises writing background operations data to a memory location of the plurality of memory locations that is accessible to the host device.
20 . The non-transitory computer-readable medium of claim 17 , wherein the second message indicates a time period when the memory system is to execute the at least one background operation.