Method and storage device for improving QOS waiting time
By setting the initial throughput in the storage device and dynamically adjusting it according to the monitored second throughput, the existing storage system's shortcomings in quality of service waiting time are solved, and more unified and efficient throughput management is achieved, and storage is improved performance of the device.
Patent Information
- Application Number
- CN202010703319.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-29
- Filing Date
- 2020-07-21
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-07-21
AI Technical Summary
Existing storage systems have shortcomings in quality of service (QoS) waiting time, especially when processing multiple write commands, the throughput adjustment is inflexible, resulting in inconsistent service quality and affecting the performance of storage devices.
By setting the initial throughput in the storage device and monitoring the second throughput associated with the internal storage operation within a predetermined time interval, the first throughput is dynamically adjusted to match the second throughput, and the response to the write command is achieved optimization.
It improves the uniformity and performance of the service quality of storage devices, realizes automatic write throttling through performance monitoring, ensures flexible adjustment of throughput, and improves the overall performance of storage devices.
Smart Images

Figure CN112306394B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the priority of Korean Patent Application No. 10-2019-0091549 filed on July 29, 2019, in the Korean Intellectual Property Office (KIPO), the entire contents of which are incorporated herein by reference. Technical Field
[0003] Exemplary embodiments of the inventive concept relate generally to semiconductor integrated circuits, and more particularly, to a method of operating a memory device to improve quality of service (QoS) latency, and a memory device performing the method. Background Art
[0004] A storage system includes a host device and a storage device. The storage device may be a storage system including a storage controller and a storage device, or may only include a storage device. In the storage system, the host device and the storage device are connected to each other via various interface standards, such as universal flash storage (UFS), serial advanced technology attachment (SATA), small computer system interface (SCSI), serial attached SCSI (SAS), embedded multimedia card (eMMC), etc.
[0005] Quality of service (QoS) is a description or measure of the overall performance of a service (such as a computer network or cloud computing service), especially the performance seen by network users. In order to quantitatively measure QoS, several related aspects of network services are usually considered, such as bit rate, throughput, transmission delay, availability, jitter, etc. Summary of the invention
[0006] According to an exemplary embodiment of the present invention, in a method of operating a storage device, a first throughput for sending a plurality of write command completion responses to an external host device is set to an initial value. The plurality of write command completion responses represent execution of a plurality of write commands received from the external host device. The plurality of write commands are executed. The plurality of write command completion responses are sent to the external host device based on the first throughput set to the initial value. A plurality of write data is internally stored based on the plurality of write commands. During a predetermined first time interval, a second throughput associated with an operation of internally storing the plurality of write data is monitored. The first throughput is changed based on the second throughput monitored during the predetermined first time interval.
[0007] According to an exemplary embodiment of the present invention, a storage device includes a command queue, a command processor, a storage controller, and a plurality of memory blocks. The command queue queues a plurality of write commands received from an external host device. The command processor sets a first throughput for sending a plurality of write command completion responses to an external host device to an initial value, executes a plurality of write commands, and sends a plurality of write command completion responses to the external host device based on the first throughput set to the initial value. The plurality of write command completion responses represent the execution of the plurality of write commands. The storage controller performs an operation of internally storing a plurality of write data based on the plurality of write commands, and monitors a second throughput associated with the operation of internally storing a plurality of write data during a predetermined first time interval. The plurality of memory blocks store the plurality of write data based on the control of the storage controller. The command processor changes the first throughput based on the second throughput monitored during the predetermined first time interval.
[0008] According to an exemplary embodiment of the inventive concept, in a method of operating a storage device including a command queue, a command processor, a storage controller, and a plurality of memory blocks, the command processor sets a first throughput for sending a plurality of write command completion responses to an external host device to a maximum value. The plurality of write command completion responses are associated with the plurality of write commands. The plurality of write commands received from the external host device are queued in the command queue. The command processor assigns the plurality of write commands to the plurality of memory blocks. The command processor generates a plurality of write command completion responses indicating completion of the operation of assigning the plurality of write commands. The command processor sends the plurality of write command completion responses to the external host device based on the first throughput set to the maximum value. The storage controller stores a plurality of write data in the plurality of memory blocks based on the plurality of write commands. The storage controller receives a plurality of write completion signals indicating completion of the operation of storing the plurality of write data. The storage controller monitors a second throughput for receiving the plurality of write completion signals during a predetermined first time interval. When the monitored second throughput is less than the maximum value, the command processor reduces the first throughput to a value equal to the second throughput. The plurality of write command completion responses are temporarily stored in the command processor and are sent to the external host device when a delay time has passed after completion of the operation of assigning the plurality of write commands. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other features of the inventive concept will be more clearly understood by describing in detail exemplary embodiments of the present invention with reference to the attached drawings.
[0010] Figure 1 is a flowchart illustrating a method of operating a memory device according to an exemplary embodiment of the inventive concept.
[0011] Figure 2 is a block diagram illustrating a memory device and a memory system including the memory device according to an exemplary embodiment of the inventive concept.
[0012] Figure 3 is a block diagram illustrating a memory controller included in a memory device according to an exemplary embodiment of the inventive concept.
[0013] Figure 4 is a block diagram illustrating a nonvolatile memory included in a memory device according to an exemplary embodiment of the inventive concept.
[0014] Figure 5 is a diagram for describing a method of operating a memory device according to an exemplary embodiment of the inventive concept.
[0015] Figure 6 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 Flowchart of an example of executing multiple write commands in .
[0016] Figure 7 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 Flowchart of an example of internally storing multiple write data in .
[0017] Figure 8 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of monitoring a second throughput during a predetermined first time interval in FIG.
[0018] Fig. 9 , Fig.10 and Fig.11 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of selectively changing a first throughput based on a second throughput.
[0019] Fig.12 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of monitoring a second throughput during a predetermined first time interval in FIG.
[0020] Fig.13A and Fig. 13B is used to describe an exemplary embodiment according to the inventive concept Fig.12 Graph of the operation.
[0021] Fig.14 is a flowchart illustrating a method of operating a memory device according to an exemplary embodiment of the inventive concept.
[0022] Fig.15 is a block diagram illustrating a memory device and a memory system including the memory device according to an exemplary embodiment of the inventive concept.
[0023] Fig.16 is a diagram showing an exemplary embodiment according to the inventive concept, Fig.14 A flow chart of an example of selectively varying a first throughput based on an operating temperature.
[0024] Fig.17 is a block diagram illustrating a memory device and a memory system including the memory device according to an exemplary embodiment of the inventive concept.
[0025] Fig.18 is a block diagram illustrating a storage server including a storage device according to an exemplary embodiment of the inventive concept. DETAILED DESCRIPTION
[0026] Exemplary embodiments of the inventive concept provide a method of operating a storage device capable of having improved or enhanced Quality of Service (QoS) latency.
[0027] Exemplary embodiments of the inventive concept also provide a storage device that performs a method capable of having an improved or enhanced QoS latency.
[0028] Exemplary embodiments of the inventive concept will be described more fully below with reference to the accompanying drawings. Throughout the application, like reference numerals may refer to like elements.
[0029] Figure 1 is a flowchart illustrating a method of operating a memory device according to an exemplary embodiment of the inventive concept.
[0030] refer to Figure 1 , a storage device according to an exemplary embodiment of the inventive concept includes a plurality of nonvolatile memories and a storage controller. The plurality of nonvolatile memories include a plurality of memory blocks storing data, and the storage controller controls operations of the plurality of nonvolatile memories. In addition, the storage device also includes a command queue for queuing commands and a command processor for executing commands. Figure 2 Configurations of storage devices and storage systems including the storage devices are described.
[0031] In a method of operating a storage device according to an exemplary embodiment of the inventive concept, a first throughput for sending a plurality of write command completion responses to an external host device is set to an initial value or a default value (operation S100). The plurality of write command completion responses represent execution of a plurality of write commands received from the external host device. For example, as reference Figure 6 As described, the multiple write command completion response may indicate completion of the operation of assigning multiple write commands to multiple memory blocks.
[0032] In an exemplary embodiment of the inventive concept, the initial value may correspond to the maximum throughput of the storage device. At the initial operation time, the monitoring operation of operation S400 described below may not be performed, and the result or information of the monitoring operation may not exist. Since there is no significant problem in the operation of the storage device even if the first throughput is set to the maximum value at the initial operation time, the first throughput may be set to correspond to the maximum throughput. In other words, the first throughput may be initially set to the maximum value among the settable values.
[0033] Execute multiple write commands (operation S200). Figure 6 As described above, the execution of the plurality of write commands may represent an operation of allocating the plurality of write commands to the plurality of memory blocks (eg, a resource allocation operation).
[0034] Based on the first throughput set to the initial value, a plurality of write command completion responses are sent to the external host device (operation S250). Figure 6As described, when a delay time elapses after an operation of allocating a plurality of write commands is completed, a plurality of write command completion responses may be transmitted to the external host device.
[0035] Multiple write data are stored internally based on multiple write commands (operation S300). Figure 7 As described above, the operation of internally storing a plurality of write data may refer to an operation of actually storing the plurality of write data in a plurality of memory blocks.
[0036] A second throughput associated with an operation of internally storing a plurality of write data is monitored during a predetermined first time interval (operation S400 ).
[0037] In an exemplary embodiment of the present inventive concept, as will be referred to Figure 8 As described above, after the plurality of write data are stored in the plurality of memory blocks, the second throughput may be monitored by monitoring the reception of a plurality of write completion signals indicating completion of the operation of storing the plurality of write data. Figure 2 As described, the storage device may further include a buffer memory, and the plurality of write data may be temporarily stored in the buffer memory and then stored in the plurality of memory blocks. Fig.12 As described, the second throughput may be monitored by monitoring the current use of the buffer memory. In an exemplary embodiment of the inventive concept, the second throughput may be monitored by monitoring at least one of various parameters representing the performance of an operation of internally storing a plurality of write data.
[0038] Based on the second throughput monitored during the predetermined first time interval, the first throughput is selectively changed (operation S500). Fig. 9 As described above, when the second throughput changes, the first throughput may be immediately changed based on the changed second throughput.
[0039] although Figure 1 It is shown that the process is terminated after the operation S500 is performed, but the present inventive concept is not limited thereto. For example, the operation S200 may be performed again based on the first throughput changed or maintained as a result of performing the operation S500, and then the operations S300, S400, and S500 may be performed again. In other words, the operations S200, S300, S400, and S500 may be repeatedly performed (e.g., regularly performed at predetermined intervals) after the storage device is powered on.
[0040] In a method of operating a storage device according to an exemplary embodiment of the present inventive concept, the storage device may monitor (e.g., self-monitor) a second throughput associated with an operation of storing a plurality of write data internally in the storage device itself, and may control or adjust a first throughput for sending a plurality of write command completion responses to an external host device based on a monitoring result. The write command completion process from the external host device may be controlled based on performance monitoring performed internally on the storage device itself. Therefore, the storage device may have a relatively uniform and improved write quality of service (QoS) latency.
[0041] Figure 2 is a block diagram illustrating a memory device and a memory system including the memory device according to an exemplary embodiment of the inventive concept.
[0042] refer to Figure 2 , the storage system 100 includes a host device 200 and a storage device 300 .
[0043] The host device 200 controls the overall operation of the storage system 100. The host device 200 may include a host processor and a host memory. The host processor may control the operation of the host device 200. For example, the host processor may run an operating system (OS). The host memory may store instructions and / or data executed and / or processed by the host processor. For example, the operating system executed by the host processor may include a file system for file management and a device driver for controlling peripheral devices including the storage device 300 at the operating system level.
[0044] The storage device 300 is accessed by the host device 200. The storage device 300 includes a command queue 310, a command processor 320, a storage controller 330, a plurality of nonvolatile memories (NVMs) 340a, 340b, and 340c, and a buffer memory 350.
[0045] The command queue 310 queues a plurality of commands received from the host device 200. Therefore, the storage device 300 can perform asynchronous input and output operations in which the storage device 300 performs operations based on previously received commands while receiving new commands, thereby increasing the operation speed of the storage device 300. The storage device 300 may be referred to as a queuing device, and hereinafter, the exemplary embodiments to be described may be applied to a storage device supporting a command queue function, such as a queuing device.
[0046] In an exemplary embodiment of the inventive concept, the command queue 310 may include a circular buffer or a ring buffer. As described above, the storage device 300 may communicate with the host device 200 using a command queue-based interface (hereinafter referred to as a command queue-based interface). The operation of the command queue-based interface may be performed based on a queue pair including a submission queue for inputting a requested command and a completion queue for recording a processing result of the requested command. The command queue 310 including a circular buffer or a ring buffer may store a pointer indicating the tail of the submission queue and a pointer indicating the head of the completion queue.
[0047] The command processor 320 executes a plurality of commands queued in the command queue 310. For example, the command processor 320 may generate a resource allocation request for allocating a plurality of commands, and may generate a plurality of command completion responses as a result of executing the plurality of commands (eg, a result of a resource allocation operation).
[0048] The command processor 320 may determine the order in which the plurality of commands are executed. For example, the command processor 320 may perform an out-of-order scheduling operation so that the plurality of commands may be executed in an order determined by the command processor 320 rather than in an order in which the plurality of commands are queued in the command queue 310.
[0049] The command processor 320 may include an auto completion controller (ACC) unit 322. The ACC unit 322 may execute a reference Figure 1 The described operations of setting and changing the first throughput, the operations of temporarily storing a plurality of command completion responses generated as a result of executing a plurality of commands, and the like are performed.
[0050] The memory controller 330 may control operations of the memory device 300 and / or operations of the plurality of nonvolatile memories 340 a , 340 b , and 340 c based on commands and data received from the host device 200 .
[0051] The storage controller 330 may include a device throughput monitoring (DTM) unit 332. The DTM unit 332 may perform a reference Figure 1 The operation of monitoring the second throughput is described.
[0052] In an exemplary embodiment of the present invention, at least a portion of the command queue 310, the command processor 320, the ACC unit 322, and the DTM unit 332 may be implemented as hardware. For example, at least a portion of the above elements may be included in a computer-based electronic system. In an exemplary embodiment of the present invention, at least a portion of the command queue 310, the command processor 320, the ACC unit 322, and the DTM unit 332 may be implemented as an instruction code or a program routine (e.g., a software program). For example, the instruction code or the program routine may be executed by a computer-based electronic system and may be stored in any storage device located inside or outside the computer-based electronic system.
[0053] The plurality of nonvolatile memories 340a, 340b, and 340c may store a plurality of data. For example, the plurality of nonvolatile memories 340a, 340b, and 340c may store metadata, various user data, and the like.
[0054] In an exemplary embodiment of the inventive concept, each of the plurality of nonvolatile memories 340a, 340b, and 340c may include a NAND flash memory. In an exemplary embodiment of the inventive concept, each of the plurality of nonvolatile memories 340a, 340b, and 340c may include an electrically erasable programmable read-only memory (EEPROM), a phase change random access memory (PRAM), a resistance random access memory (RRAM), a nano floating gate memory (NFGM), a polymer random access memory (PoRAM), a magnetic random access memory (MRAM), a ferroelectric random access memory (FRAM), and the like.
[0055] The buffer memory 350 may store instructions and / or data executed and / or processed by the memory controller 330, and may temporarily store data stored in or to be stored in the plurality of non-volatile memories 340a, 340b, and 340c. For example, the buffer memory 350 may include at least one of various volatile memories, such as a dynamic random access memory (DRAM), etc.
[0056] The command processor 320 and the storage controller 330 execute the reference Figure 1 The method described herein. For example, the ACC unit 322 included in the command processor 320 sets the first throughput to an initial value (e.g., a maximum value). The command processor 320 executes a plurality of write commands and sends a plurality of write command completion responses to the host device 200 based on the first throughput. The storage controller 330 internally stores a plurality of write data based on the plurality of write commands. The DTM unit 332 included in the storage controller 330 monitors the second throughput during a predetermined first time interval. The ACC unit 322 included in the command processor 320 selectively changes the first throughput based on the second throughput. In other words, the command processor 320 and the storage controller 330 can effectively control the write command completion process based on the performance monitoring performed internally by themselves. In addition, the command processor 320 and the storage controller 330 can perform the reference Fig.14 Describe the method.
[0057] In an exemplary embodiment of the present inventive concept, the storage device 300 may be a solid state drive (SSD). In an exemplary embodiment of the present inventive concept, the storage device 300 may be a universal flash storage (UFS), a multimedia card (MMC), an embedded multimedia card (eMMC), a secure digital (SD) card, a micro SD card, a memory stick, a chip card, a universal serial bus (USB) card, a smart card, a compact flash (CF) card, etc.
[0058] In an exemplary embodiment of the inventive concept, the storage device 300 may be connected to the host device 200 via a block accessible interface, which may include, for example, UFS, eMMC, Serial Advanced Technology Attachment (SATA) bus, nonvolatile memory express (NVMe) bus, serial attached small computer system interface (SCSI) (SAS) bus, etc. The storage device 300 may provide a block accessible interface to the host device 200 using a block accessible address space corresponding to the access size of the plurality of nonvolatile memories 340a, 340b, and 340c, for allowing access to data stored in the plurality of nonvolatile memories 340a, 340b, and 340c in units of memory blocks.
[0059] In an exemplary embodiment of the inventive concept, the storage system 100 may be any mobile system, such as a mobile phone, a smart phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital camera, a portable game console, a music player, a camcorder, a video player, a navigation device, a wearable device, an Internet of Things (IoT) device, an Internet of Everything (IoE) device, an e-book reader, a virtual reality (VR) device, an augmented reality (AR) device, a robotic device, an unmanned aircraft, etc. In an exemplary embodiment of the inventive concept, the storage system 100 may be any computing system, such as a personal computer (PC), a server computer, a data center, a workstation, a digital television, a set-top box, a navigation system, etc.
[0060] Figure 3 is a block diagram illustrating a memory controller included in a memory device according to an exemplary embodiment of the inventive concept.
[0061] refer to Figure 3 The memory controller 400 may include at least one processor 410 , a memory 420 , a DTM unit 430 , a host interface 440 , an error correction code (ECC) block 450 for error correction, and a memory interface 460 .
[0062] Processor 410 may respond to a request from a host device (eg, Figure 2 The processor 410 may control the operation of the storage controller 400 by using a command received from the host device 200 in the present invention. In an exemplary embodiment of the inventive concept, the processor 410 may control the operation of the storage controller 400 by using a command for operating a storage device (eg, Figure 2 The firmware of the storage device 300) in the storage device is used to control the various components.
[0063] The memory 420 may store instructions and data executed and processed by the processor 410. For example, the memory 420 may be implemented with a volatile memory device having a relatively small capacity and a high speed, such as a static random access memory (SRAM), a cache memory, and the like.
[0064] The DTM unit 430 monitoring the second throughput associated with the operation of internally storing the plurality of write data may be substantially the same as Figure 2 The same as the DTM unit 332 in.
[0065] The ECC block 450 for error correction may perform coding modulation using Bose-Chaudhuri-Hocquenghem (BCH) code, low density parity check (LDPC) code, turbo code, Reed-Solomon code, convolutional code, recursive systematic code (RSC), trellis-coded modulation (TCM), block coded modulation (BCM), etc., or may perform ECC encoding and ECC decoding using the above codes or other error correction codes.
[0066] The host interface 440 may provide a physical connection between the host device 200 and the storage device 300. The host interface 440 may provide an interface corresponding to a host bus format for communication between the host device 200 and the storage device 300. In an exemplary embodiment of the inventive concept, the bus format of the host device 200 may be a small computer system interface (SCSI) or a serial attached SCSI (SAS) interface. In an exemplary embodiment of the inventive concept, the bus format of the host device 200 may be a USB, a peripheral component interconnect (PCI) express (PCI express, PCIe), an advanced technology attachment (ATA), a parallel ATA (PATA), a serial ATA (SATA), a non-volatile memory (NVM) express (NVMe), and the like.
[0067] The memory interface 460 can communicate with a non-volatile memory (eg, Figure 2The memory interface 460 may be connected to the nonvolatile memories 340a, 340b, and 340c via one channel. The memory interface 460 may be connected to the nonvolatile memories 340a, 340b, and 340c via two or more channels.
[0068] Figure 4 is a block diagram illustrating a nonvolatile memory included in a memory device according to an exemplary embodiment of the inventive concept.
[0069] refer to Figure 4 , the nonvolatile memory 500 includes a memory cell array 510 , a row decoder 520 , a page buffer circuit 530 , a data input / output (I / O) circuit 540 , a voltage generator 550 , and a control circuit 560 .
[0070] The memory cell array 510 is connected to the row decoder 520 via a plurality of string selection lines SSL, a plurality of word lines WL, and a plurality of ground selection lines GSL. The memory cell array 510 is also connected to the page buffer circuit 530 via a plurality of bit lines BL. The memory cell array 510 may include a plurality of memory cells (e.g., a plurality of nonvolatile memory cells) connected to a plurality of word lines WL and a plurality of bit lines BL. The memory cell array 510 may be divided into a plurality of memory blocks BLK1, BLK2, ... BLKz, each including a memory cell. In addition, each of the plurality of memory blocks BLK1, BLK2, ... BLKz may be divided into a plurality of pages.
[0071] In an exemplary embodiment of the present inventive concept, a plurality of memory cells may be arranged in a two-dimensional (2D) array structure or a three-dimensional (3D) vertical array structure. The three-dimensional vertical array structure may include a vertical cell string oriented vertically such that at least one memory cell is located above another memory cell. The at least one memory cell may include a charge trapping layer. The following patent documents: U.S. Patent Nos. 7,679,133, 8,553,466, 8,654,587, and 8,559,235 and U.S. Patent Publication No. 2011 / 0233648 describe suitable configurations of memory cell arrays including a three-dimensional vertical array structure, wherein the three-dimensional memory array is configured as a plurality of levels, and word lines and / or bit lines are shared between levels, and these patent documents are hereby incorporated by reference in their entirety.
[0072] The control circuit 560 receives the signal from the outside (e.g. Figure 2 The host device 200 and / or the storage controller 330 in the non-volatile memory 500 receives the command CMD and the address ADDR, and controls the erase, program and read operations of the non-volatile memory 500 based on the command CMD and the address ADDR. The erase operation may include performing a series of erase cycles, and the program operation may include performing a series of program cycles. Each program cycle may include a program operation and a program verification operation. Each erase cycle may include an erase operation and an erase verification operation. The read operation may include a normal read operation and a data recovery read operation.
[0073] For example, the control circuit 560 may generate a control signal CON for controlling the voltage generator 550, and may generate a control signal PBC for controlling the page buffer circuit 530 based on the command CMD. The control circuit 560 may also generate a row address R_ADDR and a column address C_ADDR based on the address ADDR. The control circuit 560 may provide the row address R_ADDR to the row decoder 520, and may provide the column address C_ADDR to the data I / O circuit 540.
[0074] The row decoder 520 may be connected to the memory cell array 510 via a plurality of string selection lines SSL, a plurality of word lines WL, and a plurality of ground selection lines GSL.
[0075] For example, in a data erase / write / read operation, the row decoder 520 may determine at least one of the plurality of word lines WL as a selected word line based on the row address R_ADDR, and determine the rest or remaining portions of the plurality of word lines WL other than the selected word line as unselected word lines.
[0076] In addition, in data erase / write / read operations, the row decoder 520 can determine at least one of the multiple string selection lines SSL as a selected string selection line based on the row address R_ADDR, and can determine the rest or remaining parts of the multiple string selection lines SSL other than the selected string selection line as unselected string selection lines.
[0077] In addition, in data erase / write / read operations, the row decoder 520 can determine at least one of the multiple ground selection lines GSL as a selected ground selection line based on the row address R_ADDR, and can determine the rest or remaining parts of the multiple ground selection lines GSL except the selected ground selection line as unselected ground selection lines.
[0078] The voltage generator 550 may generate a voltage VS for operation of the nonvolatile memory 500 based on the power PWR and the control signal CON. The voltage VS may be applied to a plurality of string selection lines SSL, a plurality of word lines WL, and a plurality of ground selection lines GSL via the row decoder 520. In addition, the voltage generator 550 may generate an erase voltage VERS required for a data erase operation based on the power PWR and the control signal CON. The erase voltage VERS may be applied to the memory cell array 510 directly or via the bit line BL.
[0079] For example, during an erase operation, the voltage generator 550 may apply an erase voltage VERS to a common source line and / or a bit line BL of a memory block (e.g., a selected memory block), and may apply an erase permission voltage (e.g., a ground voltage) to all word lines or a portion of word lines of the memory block via the row decoder 520. In addition, during an erase verification operation, the voltage generator 550 may apply an erase verification voltage to all word lines of the memory block simultaneously or sequentially one by one.
[0080] For example, during a program operation, the voltage generator 550 may apply a program voltage to a selected word line, and may apply a program pass voltage to unselected word lines via the row decoder 520. In addition, during a program verification operation, the voltage generator 550 may apply a program verification voltage to a selected word line, and may apply a verification pass voltage to unselected word lines via the row decoder 520.
[0081] In addition, during a normal read operation, the voltage generator 550 may apply a read voltage to a selected word line, and may apply a read pass voltage to unselected word lines via the row decoder 520. During a data recovery read operation, the voltage generator 550 may apply a read voltage to word lines adjacent to a selected word line, and may apply a recovery read voltage to a selected word line via the row decoder 520.
[0082] The page buffer circuit 530 may be connected to the memory cell array 510 via a plurality of bit lines BL. The page buffer circuit 530 may include a plurality of page buffers. In an exemplary embodiment of the inventive concept, each page buffer may be connected to one bit line. In an exemplary embodiment of the inventive concept, each page buffer may be connected to two or more bit lines.
[0083] The page buffer circuit 530 may store data DAT to be programmed into the memory cell array 510 or may read data DAT sensed from the memory cell array 510. In other words, the page buffer circuit 530 may operate as a write driver or a sense amplifier according to an operation mode of the nonvolatile memory 500.
[0084] The data I / O circuit 540 may be connected to the page buffer circuit 530 via the data line D1. Based on the column address C_ADDR, the data I / O circuit 540 may provide data DAT from the outside of the nonvolatile memory 500 to the memory cell array 510 via the page buffer circuit 530, or may provide data DAT from the memory cell array 510 to the outside of the nonvolatile memory 500.
[0085] Figure 5 is a diagram for describing a method of operating a memory device according to an exemplary embodiment of the inventive concept. Figure 6 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 Flowchart of an example of executing multiple write commands in .
[0086] refer to Figure 1 , Figure 5 and Figure 6 , when a plurality of write commands are executed (operation S200), a plurality of write commands WCMD received from the host device 200 may be queued in the command queue 310 (operation S210).
[0087] The command processor 320 may determine the order in which to execute the plurality of write commands WCMD and may generate a resource allocation request WREQ. As described above, the plurality of write commands WCMD may be executed according to the order determined by the command processor 320 rather than the order in which the plurality of write commands WCMD are queued in the command queue 310.
[0088] Based on the resource allocation request WREQ, a plurality of write commands WCMD may be allocated to a plurality of memory blocks included in the nonvolatile memory 340 (operation S220). For example, the resource allocation operation may be performed via the memory controller 330. In operation S220, only an operation of allocating a plurality of write commands WCMD may be performed, and an operation of actually storing a plurality of write data WDAT in a plurality of memory blocks may be performed later.
[0089] The command processor 320 may generate a plurality of write command completion responses WRES indicating that the operation of allocating the plurality of write commands WCMD is completed (operation S230). The plurality of write command completion responses WRES may be temporarily stored in the ACC unit 322 immediately after the operation of allocating the plurality of write commands WCMD is completed instead of being transmitted to the host device 200, and may be transmitted to the host device 200 when a delay time has passed after the operation of allocating the plurality of write commands WCMD is completed. For example, the delay time may be determined based on the first throughput in the initial operation time, and then may be determined (e.g., changed or maintained) based on the result of the operation of monitoring the second throughput.
[0090] Figure 7 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 Flowchart of an example of internally storing multiple write data in . Figure 8 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of monitoring a second throughput during a predetermined first time interval in FIG.
[0091] refer to Figure 1 , Figure 5 and Figure 7 When storing a plurality of write data internally (operation S300), the storage controller 330 may store the plurality of write data WDAT in a plurality of memory blocks (operation S310). For example, the plurality of write data WDAT corresponding to the plurality of write commands WCMD may be temporarily stored in Figure 2 The data may be stored in the buffer memory 350 in the nonvolatile memory 340 and in a plurality of memory blocks included in the nonvolatile memory 340 via the memory controller 330 .
[0092] The nonvolatile memory 340 may generate a plurality of write completion signals WDN indicating that the operation of storing the plurality of write data WDAT is completed (operation S320). The plurality of write completion signals WDN may indicate the order in which the operation of storing the plurality of write data WDAT is completed, and may be sent to the memory controller 330 and the DTM unit 332 immediately after the operation of storing the plurality of write data WDAT is completed.
[0093] Reference Figure 1 , Figure 5 and Figure 8 When monitoring the second throughput during the predetermined first time interval (operation S400), the DTM unit 332 included in the storage controller 330 may monitor the second throughput by monitoring the reception of a plurality of write completion signals WDN (operation S410). The DTM unit 332 may transmit a result MTR of the operation of monitoring the second throughput to the ACC unit 322 included in the command processor 320.
[0094] In an exemplary embodiment of the inventive concept, the DTM unit 332 may determine that the second throughput increases as the number of the plurality of write completion signals WDN received during the predetermined first time interval increases (e.g., the greater the number of write completion signals WDN received during the predetermined first time interval, the greater the second throughput). In addition, the DTM unit 332 may determine that the second throughput decreases as the number of the plurality of write completion signals WDN received during the predetermined first time interval decreases (e.g., the smaller the number of write completion signals WDN received during the predetermined first time interval, the smaller the second throughput).
[0095] Fig. 9 , Fig.10 and Fig.11 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of selectively changing a first throughput based on a second throughput.
[0096] Reference Figure 1 , Figure 5 and Fig. 9 When the first throughput is selectively changed based on the second throughput monitored during the predetermined first time interval (operation S500), the ACC unit 322 included in the command processor 320 may check whether the second throughput is changed based on the result MTR of the operation of monitoring the second throughput (operation S510). For example, it may be checked whether the second throughput is substantially equal to or different from the initial value of the first throughput.
[0097] When the second throughput changes (operation S510: yes), the ACC unit 322 may immediately change the first throughput (operation S520). For example, the first throughput may be changed to have the same value as the changed second throughput. In other words, the ACC unit 322 may feed back the monitored second throughput to immediately and directly control and / or adjust the first throughput to match the second throughput.
[0098] When the second throughput is not changed (operation S510 : No), the ACC unit 322 may maintain the first throughput (operation S530 ).
[0099] Thereafter, the ACC unit 322 may transmit a plurality of write command completion responses WRES to the host device 200 based on the changed or maintained first throughput.
[0100] The operation of controlling the first throughput to match the second throughput may be an operation of matching a first time associated with a write command WCMD and a write command completion response WRES with a second time associated with write data WDAT and a write completion signal WDN. The first time may represent a time interval from a time point when the storage device 300 receives each of a plurality of write commands WCMD from the host device 200 to a time point when the storage device 300 sends each of a plurality of write command completion responses WRES to the host device 200, and may be referred to as an average command completion processing time. The second time may represent a time interval from a time point when the storage controller 330 stores each of a plurality of write data WDAT in a plurality of memory blocks to a time point when the storage controller 330 receives each of a plurality of write completion signals WDN, and may be referred to as an average data storage time.
[0101] Therefore, the multiple write command completion response WRES may not be sent to the host device 200 immediately after the operation of allocating the multiple write commands WCMD is completed, but may be sent to the host device 200 after the delay time has passed after the operation of allocating the multiple write commands WCMD is completed. The delay time may be determined based on the result of the operation of monitoring the second throughput.
[0102] Reference Fig.10 When the first throughput is selectively changed (operation S500), the ACC unit 322 may check whether the second throughput is reduced based on the result MTR of the operation of monitoring the second throughput (operation S512). Figure 1 When the first throughput is initially set to a maximum value corresponding to the maximum throughput in operation S100, it may be checked whether the second throughput is lower than the maximum throughput.
[0103] When it is determined that the second throughput is reduced (operation S512: Yes), the ACC unit 322 may immediately reduce the first throughput to a value equal to the second throughput (operation S522). When it is determined that the second throughput is not reduced (operation S512: No), the ACC unit 322 may maintain the first throughput (operation S530).
[0104] As described above, by initially setting the first throughput to the maximum throughput and immediately reducing the first throughput according to the result of monitoring the second throughput, automatic write throttling based on performance monitoring can be effectively implemented.
[0105] Reference Fig.11 , when the first throughput is selectively changed (operation S500), Fig.10 After the second throughput decreases and the first throughput decreases in operations S512 and S522, the ACC unit 322 may check whether the second throughput increases based on the result MTR of the operation of monitoring the second throughput (operation S514). In other words, the ACC unit 322 may check whether the second throughput increases and whether the second throughput decreases.
[0106] When it is determined that the second throughput increases (operation S514: Yes), the ACC unit 322 may immediately increase the first throughput to have a value equal to the second throughput (operation S524). When it is determined that the second throughput does not increase (operation S514: No), the ACC unit 322 may maintain the first throughput (operation S530).
[0107] Fig.12 is a diagram showing an exemplary embodiment according to the inventive concept, Figure 1 A flowchart of an example of monitoring a second throughput during a predetermined first time interval in FIG. Fig.13A and Fig. 13Bis used to describe an exemplary embodiment according to the inventive concept Fig.12 Graph of the operation.
[0108] Reference Figure 1 , Figure 5 , Fig.12 , Fig.13A and Fig. 13B , when the second throughput is monitored during the predetermined first time interval (operation S400), a plurality of write data WDAT may be temporarily stored in the buffer memory 350 and then may be Figure 1 In this example, the DTM unit 332 included in the memory controller 330 may monitor the second throughput by monitoring the current use of the buffer memory 350 (operation S420).
[0109] In an exemplary embodiment of the inventive concept, the DTM unit 332 may determine that the second throughput increases as the current usage of the buffer memory 350 (or the amount of the currently used buffer memory 350) decreases during the predetermined first time interval (e.g., the smaller the current usage of the buffer memory 350 during the predetermined first time interval, the greater the second throughput). Fig.13A As shown, when a plurality of write data WDAT are provided to the buffer memory 350 during a predetermined first time interval, but when only some write data WDAT1 are still stored in the buffer memory 350 so that the current use of the buffer memory 350 is relatively small, the DTM unit 332 can determine that the remaining write data except the write data WDAT1 among the plurality of write data WDAT provided to the buffer memory 350 during the predetermined first time interval are stored in the plurality of memory blocks. Therefore, it can be determined that the second throughput associated with the operation of internally storing the plurality of write data WDAT is relatively large.
[0110] In an exemplary embodiment of the inventive concept, the DTM unit 332 may determine that the second throughput decreases as the current usage of the buffer memory 350 increases during the predetermined first time interval (e.g., the greater the current usage of the buffer memory 350 during the predetermined first time interval, the smaller the second throughput). Fig. 13BAs shown, when a plurality of write data WDAT are provided to the buffer memory 350 during a predetermined first time interval, and when most of the write data WDAT1, WDAT2, WDAT3, WDAT4, WDAT5, WDAT6, WDAT7, WDAT8, and WDAT9 are still stored in the buffer memory 350, so that the current use of the buffer memory 350 is relatively large, the DTM unit 332 can determine that only some of the write data WDAT except the write data WDAT1-WDAT9 among the plurality of write data WDAT provided to the buffer memory 350 during the predetermined first time interval are stored in the plurality of memory blocks. Therefore, it can be determined that the second throughput associated with the operation of internally storing the plurality of write data WDAT is relatively small.
[0111] although Figure 8 and Fig.12 An example of monitoring the second throughput by monitoring the reception of the plurality of write completion signals WDN or by monitoring the current use of the buffer memory 350 is shown, but the inventive concept is not limited thereto. For example, the second throughput may be monitored by monitoring at least one of various parameters representing the performance of the operation of internally storing the plurality of write data WDAT.
[0112] Fig.14 is a flowchart illustrating a method of operating a storage device according to an exemplary embodiment of the inventive concept. Figure 1 Description of the element described.
[0113] refer to Fig.14 , in a method of operating a storage device according to an exemplary embodiment of the inventive concept, Fig.14 The operations S100, S200, S300, S400 and S500 in the embodiment can be respectively Figure 1 The operations S100, S200, S300, S400 and S500 in FIG. 1 are substantially the same.
[0114] The operating temperature of the storage device may be monitored (operation S600), and the first throughput may be selectively changed based on the monitored operating temperature (operation S700). Fig.14 In the example of FIG. 1 , the first throughput may be varied based on the operating temperature and the second throughput.
[0115] although Fig.14 An example is shown in which operations S600 and S700 are performed after operations S400 and S500 are performed, but the inventive concept is not limited thereto, and operations S400 and S500 and operations S600 and S700 may be substantially simultaneously and / or alternately performed.
[0116] Fig.15is a block diagram illustrating a storage device and a storage system including the storage device according to an exemplary embodiment of the inventive concept. Figure 2 Description of the element described.
[0117] refer to Fig.15 , the storage system 100a includes a host device 200 and a storage device 300a.
[0118] Apart from Fig.15 The storage device 300a in the embodiment further includes a temperature sensor 360. Fig.15 The storage system 100a can be used with Figure 2 The storage system 100 is basically the same.
[0119] The temperature sensor 360 may monitor the operating temperature of the storage device 300a, and may provide the monitoring result to the command processor 320 and the ACC unit 322 included therein. For example, the temperature sensor 360 may be formed separately from the command queue 310, the command processor 320, the storage controller 330, the plurality of non-volatile memories 340a, 340b, and 340c, and the buffer memory 350, and may be mounted on a printed circuit board (PCB). As another example, the temperature sensor 360 may be included in at least one of the command queue 310, the command processor 320, the storage controller 330, the plurality of non-volatile memories 340a, 340b, and 340c, and the buffer memory 350, and may be an on-chip sensor (or an on-die sensor) including an on-chip metal resistor.
[0120] Fig.16 is a diagram showing an exemplary embodiment according to the inventive concept, Fig.14 A flow chart of an example of selectively varying a first throughput based on an operating temperature.
[0121] Reference Fig.14 , Fig.15 and Fig.16 When the first throughput is selectively changed based on the monitored operating temperature (operation S700), the ACC unit 322 included in the command processor 320 may determine whether the operating temperature changes based on the temperature sensor 360 (operation S710), and may change the first throughput when the operating temperature changes.
[0122] For example, when the operating temperature increases (operation S710: Yes), the ACC unit 322 may reduce the first throughput (operation S720). When the operating temperature does not increase (operation S710: No), the ACC unit 322 may maintain the first throughput (operation S730).
[0123] As described above, by immediately reducing the first throughput according to the result of monitoring the operating temperature, automatic write throttling can be effectively implemented. In particular, the operation of reducing the first throughput based on the temperature can be referred to as dynamic thermal throttling (DTT).
[0124] exist Fig.16 After the operating temperature increases and the first throughput decreases in operations S710 and S720, the ACC unit 322 may check whether the operating temperature decreases based on the temperature sensor 360, and may increase the first throughput when the operating temperature decreases. In other words, it may check whether the operating temperature decreases and whether the operating temperature increases.
[0125] Although examples of implementing automatic write throttling by monitoring the second throughput or by monitoring the operating temperature have been described, the inventive concept is not limited thereto, and automatic write throttling may be implemented by monitoring at least one of various operating parameters associated with performance of the storage device.
[0126] Fig.17 is a block diagram illustrating a storage device and a storage system including the storage device according to an exemplary embodiment of the inventive concept. Figure 2 Description of the element described.
[0127] refer to Fig.17 , the storage system 100b includes a host device 200 and a storage device 300b.
[0128] In addition to the command queue 310 and the command processor 320 in the storage device 300b, Fig.17 In addition to the storage controller 330b, Fig.17 The storage system 100b can be used with Figure 2 The storage system 100 is basically the same.
[0129] In an exemplary embodiment of the inventive concept, the storage controller 330b may include only one of the command queue 310 and the command processor 320, and / or the storage device 300b may further include a temperature sensor 360, such as Fig.15 shown.
[0130] Although an example of processing a write command has been described, the inventive concept is not limited thereto. For example, an exemplary embodiment of the inventive concept may be extended so that a first throughput for sending a command completion response representing task execution based on any command may be set to an initial value, a command and / or a task may be executed, a command completion response may be sent to a host device based on the first throughput set to the initial value, a memory access operation based on the command and / or the task may be performed, a second throughput associated with the memory access operation may be monitored during a first predetermined time interval, and the first throughput may be changed based on the second throughput monitored during the predetermined first time interval.
[0131] As will be appreciated by those skilled in the art, the present invention may be embodied as a system, method, computer program product, and / or a computer program product embodied in one or more computer-readable media having a computer-readable program code embodied therein. The computer-readable program code may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be any tangible medium capable of containing or storing a program used by or in conjunction with an instruction execution system, device, or apparatus. For example, a computer-readable medium may be a non-transitory computer-readable medium.
[0132] Fig.18 is a block diagram illustrating a storage server including a storage device according to an exemplary embodiment of the inventive concept.
[0133] refer to Fig.18 The storage server 1100 may include a server 1110 , a plurality of storage devices 1000 storing data for operating the server 1110 , and a redundant array of independent drives (RAID) controller 1150 for controlling the plurality of storage devices 1000 .
[0134] RAID technology is mainly used in data servers, where important data can be replicated in more than one location on multiple storage devices. RAID controller 1150 can enable one of multiple RAID levels according to RAID information, and can interface data between server 1110 and multiple storage devices 1000.
[0135] Each of the plurality of storage devices 1000 may include a command queue (CMDQ) 1010, a command handler (CMDH) 1020, a storage controller (SCON) 1030, a plurality of nonvolatile memories 1040, and a buffer memory (BUF) 1050. Each of the plurality of storage devices 1000 may correspond to the storage device 300 according to an exemplary embodiment of the inventive concept, and may be described in detail with reference to the above. Figures 1 to 17 The server 1110 may correspond to the host device 200 and may control a plurality of storage devices 1000 .
[0136] The present invention can be applied to various electronic devices and / or systems, including storage devices and storage systems. For example, the present invention can be applied to systems such as mobile phones, smart phones, tablet computers, laptop computers, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, portable game consoles, music players, portable cameras, video players, navigation devices, wearable devices, Internet of Things (IoT) devices, Internet of Everything (IoE) devices, e-book readers, virtual reality (VR) devices, augmented reality (AR) devices, robotic devices, etc.
[0137] As described above, in a method of operating a storage device according to an exemplary embodiment of the present invention, the storage device can monitor (e.g., self-monitor) a second throughput associated with an operation of storing a plurality of write data internally, and can control or adjust a first throughput for sending a plurality of write command completion responses to an external host device based on a monitoring result. The write command completion process from the external host device can be controlled based on performance monitoring performed internally by the storage device itself. Therefore, the storage device can have a relatively uniform and improved write quality of service (QoS) waiting time.
[0138] For example, automatic write throttling based on performance monitoring may be effectively implemented by initially setting the first throughput to a maximum throughput and immediately reducing the first throughput according to a result of monitoring the second throughput.
[0139] While the inventive concept has been shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the inventive concept as set forth in the following claims.
Claims
1. A method for operating a storage device, the method include: setting a first throughput for sending a plurality of write command completion responses to an external host device to an initial value, wherein the plurality of write command completion responses represent execution of a plurality of write commands received from the external host device; executing the plurality of write commands; sending the plurality of write command completion responses to the external host device based on the first throughput set to the initial value, wherein the initial value corresponds to a maximum throughput of the storage device; internally storing a plurality of write data based on the plurality of write commands; monitoring a second throughput associated with internally storing the plurality of write data during a predetermined first time interval; and The first throughput is changed based on the second throughput monitored during the predetermined first time interval, wherein changing the first throughput includes: when it is determined that the second throughput is reduced from the maximum throughput as a result of monitoring the second throughput, reducing the first throughput, wherein the first throughput is reduced to a value equal to the value of the second throughput.
2. The method of claim 1 , wherein the second throughput is monitored during the predetermined first time interval include: After the plurality of write data are stored in a plurality of memory blocks included in the storage device, reception of a plurality of write completion signals indicating completion of an operation of storing the plurality of write data is monitored. 3 . The method of claim 2 , wherein determining the second throughput increases with an increase in the number of the plurality of write completion signals received during the predetermined first time interval.
4. The method of claim 1 , wherein the second throughput is monitored during the predetermined first time interval include: When the plurality of write data are temporarily stored in a buffer memory included in the storage device and then stored in a plurality of memory blocks included in the storage device, current use of the buffer memory is monitored.
5. The method according to claim 4, in, It is determined that the second throughput increases as the current usage of the buffer memory decreases during the predetermined first time interval.
6. The method according to claim 1, further comprising: include: monitoring an operating temperature of the storage device; and The first throughput is varied based on the monitored operating temperature.
7. The method according to claim 6, in, The first throughput decreases as the operating temperature increases. 8 . The method according to claim 1 , wherein the execution of the plurality of write commands represents an operation of allocating the plurality of write commands to a plurality of memory blocks included in the storage device.
9. The method of claim 1 , wherein executing the plurality of write commands include: queuing the plurality of write commands in a command queue included in the storage device; allocating the plurality of write commands to a plurality of memory blocks included in the storage device based on a resource allocation request; and The plurality of write command completion responses are generated indicating completion of the operation of allocating the plurality of write commands.
10. The method according to claim 9, in: After the operation of allocating the plurality of write commands is completed, the plurality of write command completion responses are temporarily stored in the storage device instead of being sent to the external host device, and When a delay time elapses after the operation of allocating the plurality of write commands is completed, the plurality of write command completion responses are transmitted to the external host device. The method according to claim 10 , wherein the delay time is determined based on a result of monitoring the second throughput. 12 . The method according to claim 1 , wherein internally storing the plurality of write data means an operation of storing the plurality of write data in a plurality of memory blocks included in the storage device.
13. The method according to claim 1, wherein the plurality of write data are stored internally include: storing the plurality of write data in a plurality of memory blocks included in the storage device; and A plurality of write completion signals are generated indicating completion of an operation of storing the plurality of write data.
14. The method according to claim 13, in, After the operation of storing the plurality of write data is completed, the plurality of write completion signals are transmitted to a memory controller included in the memory device.
15. A storage device, include: a command queue configured to queue a plurality of write commands received from an external host device; a command processor configured to: set a first throughput for sending a plurality of write command completion responses to the external host device as an initial value, execute the plurality of write commands, wherein the initial value corresponds to a maximum throughput of the storage device, and send the plurality of write command completion responses to the external host device based on the first throughput set to the initial value, wherein the plurality of write command completion responses represent execution of the plurality of write commands; a storage controller configured to: perform an operation of internally storing a plurality of write data based on the plurality of write commands, and monitor a second throughput associated with the operation of internally storing the plurality of write data during a predetermined first time interval; and a plurality of memory blocks configured to store the plurality of write data based on control of the memory controller, wherein the command processor is configured to change the first throughput based on the second throughput monitored during the predetermined first time interval, wherein changing the first throughput comprises: when it is determined as a result of monitoring the second throughput that the second throughput is reduced from the maximum throughput, reducing the first throughput, wherein the first throughput is reduced to have a value equal to the value of the second throughput.
16. The storage device of claim 15, wherein at least one of the command queue and the command processor is included in the storage controller.
17. The storage device according to claim 15, in, The storage device is a solid state drive (SSD).
18. A method of operating a storage device comprising a command queue, a command processor, a storage controller and a plurality of memory blocks, the method include: setting, by the command processor, a first throughput for sending a plurality of write command completion responses to an external host device to a maximum value, wherein the plurality of write command completion responses are associated with a plurality of write commands; queuing the plurality of write commands received from the external host device in the command queue; assigning, by the command processor, the plurality of write commands to the plurality of memory blocks; generating, by the command processor, the plurality of write command completion responses indicating completion of an operation to allocate the plurality of write commands; sending, by the command processor, the plurality of write command completion responses to the external host device based on the first throughput set to the maximum value; storing, by the storage controller, the plurality of write data in the plurality of memory blocks based on the plurality of write commands; receiving, by the storage controller, a plurality of write completion signals indicating completion of an operation of storing the plurality of write data; monitoring, by the storage controller, a second throughput for receiving the plurality of write completion signals during a predetermined first time interval; and when the monitored second throughput is less than the maximum value, reducing, by the command processor, the first throughput to a value having a value equal to the second throughput, The plurality of write command completion responses are temporarily stored in the command processor and are transmitted to the external host device when a delay time elapses after an operation of allocating the plurality of write commands is completed.
