US 12,265,727 B2
Memory controller for controlling allocation ratio of buffer memory, memory system including the same, and method of operating memory controller
Jongin Lee, Suwon-si (KR); and Bokyoung Kim, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Nov. 9, 2022, as Appl. No. 17/984,097.
Claims priority of application No. 10-2021-0153376 (KR), filed on Nov. 9, 2021; and application No. 10-2022-0081505 (KR), filed on Jul. 1, 2022.
Prior Publication US 2023/0147882 A1, May 11, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0656 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0631 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method comprising:
receiving a command from a host;
determining an operation mode of a buffer allocation circuit in a memory controller as one of a first operation mode and a second operation mode;
when the buffer allocation circuit is in the first operation mode, setting an allocation ratio between a main buffer memory arranged in the memory controller and a sub-buffer memory arranged outside the memory controller to a predefined ratio; and
when the buffer allocation circuit is in the second operation mode, variably setting the allocation ratio based on whether a type of the command is a sequential write command,
wherein the variably setting of the allocation ratio comprises:
when the type of the command is the sequential write command, setting an allocation to the main buffer memory to be equal to an allocation to the sub-buffer memory; and
when the type of the command is remaining commands excluding the sequential write command, setting the allocation to the sub-buffer memory to be greater than the allocation to the main buffer memory.