US 12,248,701 B2
Memory system and method of controlling transmission of packets
So Haramura, Kanagawa (JP)
Assigned to Kioxia Corporation, Tokyo (JP)
Filed by Kioxia Corporation, Tokyo (JP)
Filed on Nov. 3, 2022, as Appl. No. 17/980,059.
Claims priority of application No. 2022-072506 (JP), filed on Apr. 26, 2022.
Prior Publication US 2023/0342075 A1, Oct. 26, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0656 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A memory system capable of connecting to a host, the memory system comprising:
a buffer capable of storing packets that are to be transmitted to the host;
a nonvolatile memory; and
a controller configured to:
generate a plurality of packets each of which is related to access to the nonvolatile memory;
classify the plurality of packets into packets of a first type and packets of a second type;
store the packets of the first type and the packets of the second type mixed in the buffer; and
transmit one or more packets from the buffer to the host in the order in which the one or more packets have been stored in the buffer, wherein
the controller is further configured to:
manage a first upper limit number and a second upper limit number that is smaller than the first upper limit number;
in a case where a first packet of the first type is to be generated,
when the number of first remaining packets that indicates a total of the number of packets of the first type stored in the buffer and the number of packets of the second type stored in the buffer is smaller than the first upper limit number, generate the first packet and store the generated first packet in the buffer, and
when the number of first remaining packets is larger than or equal to the first upper limit number, determine not to generate the first packet or not to store the generated first packet in the buffer; and
in a case where a second packet of the second type is to be generated,
when the number of first remaining packets is smaller than the first upper limit number and the number of second remaining packets that indicates the number of packets of only the second type stored in the buffer is smaller than the second upper limit number, generate the second packet and store the generated second packet in the buffer, and
when the number of first remaining packets is smaller than the first upper limit number but the number of second remaining packets is larger than or equal to the second upper limit number, determine not to generate the second packet or not to store the generated second packet in the buffer.