Method and system for managing key-value solid-state drives (KV SSDs)

By creating multiple RAID groups in key-value solid state drives and selecting appropriate KV SSD and FTL cores, data management is performed based on load and available space, which solves the problems of uneven load and low bandwidth utilization in KV SSD and improves Uniformity of write and read speeds and overall operating efficiency.

CN112214159BActive Publication Date: 2024-10-08SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911032047.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-12
Filing Date
2019-10-28
Publication Date
2024-10-08
Estimated Expiration
2039-10-28

AI Technical Summary

Technical Problem

Uneven load and low bandwidth utilization due to variability in key lengths and value sizes in key-value solid-state drives (KV SSDs) lead to uneven read and write speeds, and it is difficult to effectively manage multiple KV SSDs with traditional methods, Leading to inefficient input/output operations.

Method used

By creating multiple Redundant Array of Independent Disks (RAID) groups and selecting the appropriate KV SSD and Flash Translation Layer (FTL) cores based on load, free space and board information to write and read data, using consistent hash functions and Board information is used for data segmentation and distribution to ensure that data is evenly distributed among multiple KV SSD and FTL cores.

Benefits of technology

It achieves load balancing and bandwidth utilization of KV SSD, improves the uniformity of writing and reading speeds, avoids overload and underutilization of KV SSD, and improves the overall input/output operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112214159B_ABST
    Figure CN112214159B_ABST
Patent Text Reader

Abstract

Methods and systems for managing key-value solid-state drives (KV SSDs). A method includes writing, by a host processor, at least one key-value pair of at least one write command to at least one KV SSD of a plurality of KV SSDs of at least one RAID group based on at least one of board information, available space, and load. In addition, the method includes reading, by the host processor, at least one value from the at least one KV SSD of the plurality of KV SSDs for at least one key of at least one read command using at least one of a consistent hash function and board information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to and all benefits accruing from Indian Patent Application No. 201941028111 filed in the Indian Intellectual Property Office on July 12, 2019, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of key-value solid state drives (KV SSDs). For example, at least some example embodiments relate to implementing quality of service (QoS) in KV SSDs. Background Art

[0004] A key-value solid-state drive (KV SSD) includes key-value storage logic to store the data of a file / directory in one or more key-value pairs. Because of the inclusion of key-value storage logic, the KV SSD can respond to direct data requests from a host application with minimal involvement of the host software. Each key-value pair can include the name of the file / directory and an identifier of a container associated with the file / directory as a value. In traditional methods, the host application randomly stores the key-value pairs in the KV SSD due to the variable key length and value size. The random storage of key-value pairs can result in uneven KV SSD load and low bandwidth utilization.

[0005] In addition, KV SSDs may include multiple Flash Translation Layers (FTLs) that can store data / key-value pairs received from a host application in memory pages. In conventional approaches, there may be a scenario where the number of key-value pairs stored in a particular FTL is huge compared to other FTLs. This can result in uneven read and write speeds. Summary of the invention

[0006] Example embodiments herein disclose methods and systems for efficiently managing key-value solid-state drives (KV SSDs) based on load balancing and space availability.

[0007] Some example embodiments herein disclose methods and systems for creating multiple Redundant Array of Independent Disks (RAID) groups for a KV SSD cluster, wherein a host processor is connected to at least one of the multiple RAID groups, and the at least one RAID group includes multiple KV SSDs.

[0008] Some example embodiments herein disclose methods and systems for writing at least one key-value pair of a write command to at least one KV SSD selected from a plurality of KV SSDs, wherein the at least one KV SSD is selected based on load, free space, and slab information.

[0009] Some example embodiments herein disclose methods and systems for writing at least one key-value pair of a write command to at least one selected KV SSD by splitting the size of at least one value of the at least one key-value pair of the write command.

[0010] Some example embodiments herein disclose methods and systems for reading at least one value of at least one key of a read command by broadcasting at least one key of the read command to at least one KV SSD selected from a plurality of KV SSDs.

[0011] Some example embodiments herein disclose methods and systems for writing at least one key-value pair received from a host processor to at least one Flash Translation Layer (FTL) core selected from a plurality of FTL cores of at least one KV SSD, wherein the at least one FTL core is selected based on load, available space, and board information.

[0012] Some example embodiments herein disclose methods and systems for writing at least one key-value pair received from a host processor to a selected at least one FTL core by segmenting the size of at least one value of the at least one key-value pair.

[0013] Some example embodiments herein disclose methods and systems for reading at least one value for at least one key received from a host processor by broadcasting at least one key to at least one FTL core selected from a plurality of FTL cores of at least one KV SSD.

[0014] Thus, example embodiments herein provide methods and systems for efficiently managing key-value solid-state drives (SSDs).

[0015] In some example embodiments, a system includes: a plurality of redundant array of independent disks (RAID) groups, each of the plurality of RAID groups including a plurality of key-value solid-state drives (KV SSDs); and a host processor coupled to at least one of the plurality of RAID groups, the host processor being configured to: write at least one key-value pair to at least one of the plurality of KV SSDs based on at least one of (i) board information, (ii) available space of at least one KV SSD, and (iii) a load of at least one KV SSD, the at least one key-value pair being associated with a write command to write data to the at least one KV SSD, and read data from the at least one KV SSD for at least one key of at least one read command based on at least one of a consistent hash function and the board information.

[0016] In some example embodiments, a method includes: writing, by a host processor, at least one key-value pair to at least one of a plurality of KV SSDs of at least one redundant array of independent disks (RAID) group based on at least one of (i) board information, (ii) available space of at least one KV SSD, and (iii) a load of at least one KV SSD, the at least one key-value pair being associated with a write command to write data to the at least one KV SSD; and reading, by the host processor, data from the at least one KV SSD for at least one key of at least one read command based on a consistent hash function and at least one of the board information.

[0017] These and other aspects of the example embodiments herein will be better appreciated and understood when considered in conjunction with the following description and accompanying drawings. However, it should be understood that the following description, while indicating example embodiments and many of their specific details, is given as an illustration and not as a limitation. Many changes and modifications may be made within the scope of the example embodiments herein without departing from their spirit, and the example embodiments herein include all such modifications. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The exemplary embodiments of the present invention are shown in the accompanying drawings, in which the same reference numerals represent corresponding parts in the various drawings. The exemplary embodiments of the present invention will be better understood by referring to the following description of the accompanying drawings, wherein:

[0019] Figure 1A and Figure 1B is an example diagram illustrating storage of key-value pairs in a key-value solid state drive with uneven load balancing and inefficient bandwidth utilization;

[0020] Figure 2A and Figure 2B A system for managing multiple KV SSDs according to example embodiments disclosed herein is shown;

[0021] Figure 3 is a block diagram illustrating various sub-modules of at least one application module of a host processor according to example embodiments disclosed herein;

[0022] Figure 4 is a block diagram illustrating various sub-modules of a Quality of Service (QoS) management module according to example embodiments disclosed herein;

[0023] Figure 5A and Figure 5B is a block diagram illustrating various modules of at least one KV SSD according to example embodiments disclosed herein;

[0024] Fig. 6A is a flow chart illustrating a method for efficiently managing multiple KV SSDs according to an example embodiment disclosed herein;

[0025] Figure 6B is a flow chart illustrating a method for managing multiple flash translation layer (FTL) cores of at least one KV SSD according to example embodiments disclosed herein;

[0026] Figure 7 is an example diagram illustrating a board table maintained on a host processor for multiple KV SSDs according to example embodiments disclosed herein;

[0027] Figure 8 is an example flow chart illustrating a method for performing a write operation to store a key-value pair in the selected at least one KV SSD according to an example embodiment disclosed herein;

[0028] Fig. 9 is an example flow chart illustrating a method for performing a read operation to read a value from a selected at least one KV SSD according to example embodiments disclosed herein;

[0029] Fig.10 is an example flow chart illustrating a method for performing a read operation to read a value from a selected at least one KV SSD based on a tag according to example embodiments disclosed herein;

[0030] Fig.11 is an example flow chart illustrating a method for performing a write operation to store a key-value pair in the selected at least one KV SSD according to an example embodiment disclosed herein; and

[0031] Fig.12 is an example diagram illustrating distribution of keys across multiple KVSSDs based on load balancing and available space according to example embodiments disclosed herein. DETAILED DESCRIPTION

[0032] The example embodiments of this article and their various features and advantageous details will be explained more fully with reference to the non-limiting example embodiments shown in the accompanying drawings and described in detail in the following description. Descriptions of known components and processing techniques are omitted so as not to unnecessarily obscure the example embodiments of this article. The description of this article is only to facilitate understanding of the way in which the example embodiments of this article can be practiced, and further to enable those skilled in the art to practice the example embodiments of this article. Therefore, this disclosure should not be interpreted as limiting the scope of the example embodiments of this article.

[0033] Figure 1A and Figure 1B The storage of key-value pairs in KV SSDs with uneven load balancing and inefficient bandwidth utilization is shown. A host application can be connected to multiple KV SSDs for writing / reading data to / from the multiple KV SSDs. In the example of this article, the host application can be connected to three KV SSDs. During the write operation, the host application can randomly store the key-value pairs of data in the three KV SSDs by following a sequential / continuous order. However, due to the random storage of key-value pairs, there may be a scenario in which more data is stored in KV SSD-1 and less data is stored in KV SSD-2 and KV SSD-3, as shown in FIG. Figure 1A In addition, since the key-value pairs are stored sequentially, the speed of write operations will be affected.

[0034] The host application can also store key-value pairs in three KV SSDs based on value size.

[0035] Figure 1B As shown, a larger number of keys may be stored in KV SSD-1, while a smaller number of keys may be stored in KV SSD-2 and KV SSD-3. As a result, KV SSD-1 may be overloaded, while KV SSD-2 and KV SSD-3 may be underutilized / unused. Therefore, storing data in multiple KV SSDs results in uneven loads on the KV SSDs in terms of input / output, number of keys, and data utilization.

[0036] During a read operation, multiple input / output (I / O) requests may fall into a single KVSSD (overloaded disk) for reading data, which results in uneven read speed.

[0037] In addition, the host application can use two levels of metadata to write / read to / from the KV SSD. The two levels of metadata include metadata used by the KV database to locate files and metadata in the file system, such as Figure 1A and Figure 1BTherefore, resources on the host application may be required to store the two levels of metadata.

[0038] Example embodiments herein disclose methods and systems for managing a key-value solid state drive (SSD) based on at least one of load, available space, and board information. Referring now to the drawings, and more particularly to Figures 2A to 12 , example embodiments are shown, wherein like reference numerals consistently represent corresponding features throughout the drawings.

[0039] Figure 2A and Figure 2B A system 200 for managing a plurality of key-value solid-state drives (KV SSDs) is shown according to example embodiments disclosed herein.

[0040] refer to Figure 2A and Figure 2B , the system 200 referred to herein may be a computing device supporting at least one of a KV SSD, a Non-Volatile Memory Express (NVMe) fabric, a key-value database, NVMe firmware, an enterprise storage array, etc. Examples of the system 200 may be, but are not limited to, a laptop computer, a workstation, a personal digital assistant, a smart phone, a tablet computer, a virtual computing device, a server, a storage server, a file server, a multiprocessor system, a microprocessor-based programmable consumer electronic product, a network computer, a minicomputer, a mainframe computer, a wearable computing device, an Internet of Things (IoT) device, a vehicle infotainment system, etc.

[0041] The system 200 includes a host processor 202, a host memory 204, and a pool / cluster (210a1-210an)-(210n1-210nm)) of KV SSDs. The system 200 may also include at least one of a plurality of homogeneous cores, a plurality of heterogeneous cores, a plurality of central processing units (CPUs) of different kinds, etc. for performing the intended functions of the host processor 202. The host processor 202 may be coupled to the host memory 204.

[0042] An example of the host memory 204 may be at least one of a flash memory, a read only memory (ROM), a random access memory (RAM), a static random access memory (SRAM), etc. In the example embodiment of this document, the host memory 204 may be used to store data associated with the host processor 202. In the example embodiment of this document, the host memory 204 may be used to store data associated with the KV SSD cluster. In addition, the host processor 202 may be connected to at least one of the user interface unit, the input / output interface port, or other components of the system 200 by connecting to a suitable bus.

[0043] The host processor 202 includes a plurality of application modules 208a-208n. The plurality of application modules 208a-208n may include host application / software / program instructions that operate the host processor 202.

[0044] The example embodiments of this article create multiple redundant array of independent disks (RAID) groups 210a-210n by grouping clusters of KV SSD / KV SSD disks. The example embodiments of this article may use terms such as "KV SSD", "KV SSD disk", etc. to refer to flash memory disks containing key-value storage logic. Each RAID group (210a-210n) may include multiple KVSSDs (210a1-210an)-210n1-210nn). Multiple RAID groups may be created based on criteria such as but not limited to cost, reliability, read / write latency, power consumption, data recovery speed, etc. In addition, due to the key-value storage logic, each KV SSD of the multiple RAID groups 210a-210n may store data of files / directories in the form of key-value pairs, and may respond to direct data requests from the host processor 202. In the embodiments of this article, the keys of each key-value pair may be different. In addition, the length of the key and the size of the value of each key-value pair may be different.

[0045] Each KV SSD includes a key-value application programming interface (Application Programming Interface, API) and a key-value device driver element (not shown). The key-value API operates together with the key-value device driver element, wherein the key-value device driver element does not require traditional block mapping to store / return data requests received from the host processor 202. In an example embodiment, each KV SSD of a plurality of RAID groups 210a-210n can be assigned a label based on the category of the data (key-value pair) stored in each KV SSD. Examples of labels assigned to each KV SSD can be, but are not limited to, video labels, document labels, image labels, audio labels, etc. In the example herein, KV SSD 210a1 can be assigned a video label and a document label because KV SSD 210a1 includes values ​​related to documents and videos (categories of data).

[0046] In addition, each of the multiple application modules 208a-208n of the host processor 202 can be connected to at least one RAID group (210a-210n). For example, the application module 208a can be connected to the RAID group 210a. Therefore, the application module 208a can write data to or read data from the multiple KV SSDs 210a1-210an constituting the RAID group 210a. And, the application module 208a can also be connected to one or more RAID groups (210a-210n) to interact with the multiple KV SSDs of the RAID group (210a-210n). Therefore, the capacity on the host processor 202 is increased by expanding the KV SSD (increasing the number of KV SSDs).

[0047] In an example embodiment, the host processor 202 may include a plurality of fabric stacks 212a-212n, wherein each fabric stack (212a-212n) may be associated with a corresponding application module (208a-208n). In addition, each fabric stack (212a-212n) may connect the associated application module (208a-208n) to a fabric 214 for further connection with a plurality of KV SSDs (210a1-210an)-(210n1-210nm)) of at least one RAID group (210a-210n). Examples of fabric stacks (212a-212n) may be, but are not limited to, NVMe (NVMe over Fabric, NVMF) stacks, etc. Examples of fabric 214 referred to herein may be at least one of Remote Direct Memory Access (RDMA), Ethernet, Fiber Channel (FC), etc.

[0048] Similarly, the plurality of KV SSDs ((210a1-210an)-(210n1-210nm)) of each RAID group (210a-210n) may be connected to a switch 216, which is further connected to a fabric 214 for connection with at least one application module (208a-208n). Figure 2A As shown, each application module (208a-208n) can be connected to multiple KV SSDs ((210a1-210an)-(210n1-210nm)) of at least one RAID group (210a-201n) through a structure 214. In another example embodiment, as Figure 2B As shown, each application module (208a-208n) can be directly connected to multiple KV SSDs ((210a1-210an)-(210n1-210nm)) of at least one RAID group (210a-210n).

[0049] At least one application module (208a-208n) of the host processor 202 may issue a memory access command or an input / output (I / O) command for writing data to or reading data from at least one KV SSD ((210a1-210an)-(210n1-210nm)) constituting a corresponding connected RAID group (210a-210n). The I / O command may include at least one of a write command and a read command. In addition, the write command may include (multiple) key-value pairs of data that need to be written to at least one KV SSD ((210a1-210an)-(210n1-210nm)). The read command may include (multiple) keys for which values ​​of data need to be read from at least one KVSSD ((210a1-210an)-(210n1-210nm)).

[0050] In an example embodiment, in order to write data to at least one KV SSD, at least one application module (208a-208n) transmits (multiple) key-value pairs (associated with the data) of the write command to at least one KV SSD selected from a plurality of KV SSDs ((210a1-210an)-(210n1-210nm)) constituting a corresponding connected RAID group (210a-210n). The at least one KV SSD may be selected based on factors such as load (the number of keys stored in each KV SSD), available space (the capacity of each KV SSD), bandwidth (the bandwidth available at the time of I / O), etc. The selected at least one KV SSD may be a KV SSD with a smaller number of keys, lower space utilization, and the highest bandwidth availability. Therefore, uneven load and low bandwidth utilization of the KV SSDs may be avoided.

[0051] In an example embodiment, in order to read data from at least one KV SSD, at least one application module (208a-208n) transmits (multiple) keys (associated with data) of a read command to at least one KV SSD selected from a plurality of KV SSDs ((210a1-210an)-(210n1-210nm)) constituting a corresponding connected RAID group (210a-210n). In addition, at least one application module (208a-208n) receives values ​​for the transmitted (multiple) keys from the selected at least one KV SSD. Therefore, multiple I / O commands may not be received by the same KV SSD, and uneven read operations can be avoided.

[0052] Figure 2A and Figure 2B An example design of system 200 is shown, but it should be understood that other example embodiments are not limited thereto. In other example embodiments, system 200 may include fewer or more elements. In addition, the labels or names of the elements are only for illustrative purposes and do not limit the scope of the example embodiments herein. One or more units may be combined together to perform the same or substantially similar functions in system 200.

[0053] Figure 3 is a block diagram illustrating various sub-modules of at least one application module (208a-208n) of the host processor 202 according to example embodiments disclosed herein.

[0054] refer to Figures 2A to 3, the example embodiments of the present invention are explained with consideration of the various modules of the application module 208a connected to the RAID group 210a, but it is obvious to a person skilled in the art that the application module 208a can be connected to at least one other RAID group (210b-210n), and at least one other application module (208b-208n) can include similar sub-modules and corresponding functions.

[0055] The host processor 202 may be implemented using a processing circuit such as hardware including logic circuits, a hardware / software combination such as a processor running software, or a combination thereof. For example, the processing circuit may include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a system-on-chip (SoC), a programmable logic unit, a microprocessor, or an application-specific integrated circuit (ASIC).

[0056] The processing circuitry of the host processor 202 may be configured as one or more discrete dedicated processing circuits to perform the functions of the application module (208a-208n) and its subcomponents, including, for example, a namespace mapping (NSM) module 302, a KV cache 304, a quality of service (QoS) management module 306, and a KV user space driver element 308.

[0057] The NSM module 302 may be configured to address multiple KV SSDs (210a1-210an) of the RAID group 210a using the NSM module 302. When the application module 208a wants to interact (perform read / write operations) with the multiple KV SSDs 210a1-210an of the connected RAID group 210a, the NSM module 302 may use the namespace mapper to provide information about identifiers associated with the multiple KV SSDs 210a1-210an and identifiers associated with the corresponding RAID group 210a. The NSM module 302 provides information about the identifier by mapping the namespace (containing one or more topics) being used by the application module 208a with the connected RAID group 210a.

[0058] The KV cache 304 may be configured to store information such as, but not limited to, information about the connected RAID group 210a and associated identifiers, multiple KV SSDs 210a-210n present in the RAID group 210a and their corresponding identifiers, application namespaces, data associated with the multiple KV SSDs 210a-210n (loads, available space, etc. on the multiple KV SSDs 210a1-210an), etc. In example embodiments herein, the host memory 208a may be used as the KV cache 304.

[0059] The KV user space driver element 308 may be implemented as a library to which the applications of the application module 208a can be linked together. In an example embodiment, the KV user space driver element 308 may be, but is not limited to, an NVMe device driver element, etc. The KV user space driver element 308 may be configured to send KV commands as vendor-specific commands using NVMe commands. In addition, the KV user space driver element 308 may enable the application module 208a of the host processor 202 to be directly connected to multiple KV SSDs (210a-210n) of at least one RAID group (210a) connected. Multiple KV SSDs (210a-210n) may comply with all NVMe-specific management commands. In addition, the KV user space driver element 308 uses vendor-specific commands to obtain information about multiple KV SSDs (210a-210n) during initialization time.

[0060] The QoS management module 306 may be configured to write / read data to / from at least one of the multiple KV SSDs 210a1-210n by efficiently managing the multiple KV SSDs 210a1-210an. When the application module 208a issues a write command for writing (multiple) key-value pairs of data to at least one KV SSD, the QoS management module 306 extracts information stored in at least one of the KV cache 304 and the memory 204. The extracted information may be at least one of information about the KV SSD cluster, information about the multiple KV SSDs 210a1-210an of the connected RAID group 210a (load information, available space information, bandwidth at a certain time, etc.), multiple board tables maintained for the multiple KV SSDs 210a1-210an (which may be stored in the KV cache), etc. The multiple board tables may include board information of (multiple) keys stored in the corresponding multiple KV SSDs 210a1-210an. The board information may include information such as, but not limited to, about multiple boards (board 0-board n), key(s) belonging to each board (key count), total size of each board, total key(s) stored in multiple boards (total key count), total size of key(s) belonging to multiple boards. Multiple boards (board 0-board n) may be at least one of a small board, a medium board, a large board, etc. Based on the extracted information, the QoS management module selects at least one KV SSD from the multiple KV SSDs 210a1-210an for writing key(s) of data. The QoS management module 306 sends the key-value pair of the write command to the KV user space driver element 308, which further forwards the key(s) of the selected at least one KV SSD for storing data.

[0061] Similarly, during a read operation, the QoS management module 306 broadcasts the key(s) of the read command to at least one KV SSD selected from the plurality of KV SSDs 210a1-210an through the KV user space driver element 308 for receiving the value of the data. The at least one KV SSD may be selected using at least one of a consistent hash function and board information. Thus, an enhanced QoS is generated by selecting at least one KV SSD to perform a write operation and a read operation.

[0062] Figure 3Examples of elements included in application modules (208a-208n) are shown, but it should be understood that other example embodiments are not limited thereto. In other example embodiments, application modules (208a-208n) may include fewer or greater numbers of units. In addition, the labels or names of the units are for illustrative purposes only and do not limit the scope of the example embodiments herein. One or more units may be combined together to perform the same or substantially similar functions in an application module (208a-208n).

[0063] Figure 4 is a block diagram illustrating various sub-modules of the QoS management module 306 according to example embodiments disclosed herein.

[0064] refer to Figure 2A-Figure 4 , the example embodiments of the present invention are explained considering the QoS management module 306 of the application module 208a connected to the RAID group 210a, but it is obvious to a person skilled in the art that the QoS management module of at least one other application module (208b-208n) may include similar sub-modules and corresponding functions.

[0065] As discussed above, the host processor 202 may be implemented using processing circuitry. The processing circuitry of the host processor 202 may be configured as one or more discrete dedicated processing circuits to perform the functions of the application modules (208a-208n) and their subcomponents, including the quality of service (QoS) management module 306. As such, the processing circuitry of the host processor 202 may be configured to perform the functions of the write hash function submodule 402, the separation submodule 404, the candidate selection submodule 406, the write submodule 408, the read hash function submodule 410, the broadcast submodule 412, and the receive submodule 414, which are included in the QoS management module 306.

[0066] The write hash function submodule 402, the separation submodule 404, the candidate selection submodule 406 and the write submodule 408 may be operated to perform a write operation according to a write command issued by the application module 208a to write data to at least one KVSSD. The issued write command may include (multiple) key-value pairs of data.

[0067] The write hash function submodule 402 may be configured to determine a configurable number of KV SSDs / KV SSD list from multiple KV SSDs 210a1-210an for the (multiple) keys of the (multiple) key-value pairs of the write command. The write hash function submodule 402 determines the configurable number of KV SSDs using a consistent hash function. The write hash function submodule 402 passes the (multiple) keys of the (multiple) key-value pairs to the consistent hash function. The consistent hash function determines the value / hash value of the partition key using a hash function. The hash function maps the received (multiple) keys (of variable size) to the items of the hash table (stored in at least one of the host memory 204 and the KV cache 304) to determine the hash value using at least one of a remainder method, a folding method, etc. The hash value may be an integer value indicating a numeric range of the (multiple) keys of the (multiple) key-value pairs. Based on the hash value, the consistent hash function returns a configurable numbered KV SSD for key(s) that can store key(s)-value pairs with the determined numeric range. The configurable numbered KV SSD returned from the consistent hash function can always be the same for key(s), and can be consistent between multiple KVSSDs for given key(s).

[0068] The separation module 404 may be configured to perform board classification on the (multiple) keys of the (multiple) key-value pairs of the write command to derive board information. The separation module 404 classifies / categorizes the (multiple) keys of the (multiple) key-value pairs into at least one board based on the size of the (multiple) associated values. The separation module 404 may obtain the size of the value from the (multiple) key-value pairs. At least one board may be identified from a plurality of boards (board 0 to board n). A plurality of boards may belong to at least one category, such as a small board, a medium board, a large board, etc. In addition, at least one board type of the (multiple) keys of the (multiple) key-value pairs indicates whether the (multiple) keys of the (multiple) key-value pairs belong to at least one of a small board, a medium board, and a large board. In the example herein, if the size of the value is less than 2MB, the separation module 404 classifies the key into the small board. If the size of the value varies between 2MB and 200MB, the separation module 404 classifies the key into the medium board. If the size of the value is greater than 200MB, the separation module 404 classifies the key into the large board. Therefore, the board information of the key(s) of the key-value pair(s) may be determined by performing board classification.

[0069] The candidate selection module 406 may be configured to select at least one KV SSD from the configurable numbered KV SSDs for writing (multiple) key-value pairs. The candidate selection module 406 extracts information about each configurable numbered KV SSD from at least one of the memory 204 and the KV cache 304. The extracted information may be at least one of the load of each configurable numbered KV SSD (the number of keys already inserted into the queue of each KV SSD), the available space (space utilization) on each configurable numbered KV SSD for storing key-value pairs, the bandwidth at a specific time, and the like. In addition, the candidate selection submodule 406 analyzes the extracted information about the board information of (multiple) keys to select at least one KV SSD with lower space utilization, the highest bandwidth availability, and a lower number of keys from the configurable numbered KV SSDs. The selected at least one KVSSD may be at least one candidate for storing (multiple) key-value pairs of data.

[0070] The write submodule 408 may be configured to write (multiple) key-value pairs to at least one selected KV SSD. In an example embodiment, after selecting at least one KV SSD for storing (multiple) key-value pairs, the write submodule 408 splits (multiple) values ​​of (multiple) key-value pairs into multiple values ​​with chunk size. In an example embodiment of this article, the chunk size may be defined based on the board information associated with the key. In the example of this article, the chunk size of the value of the key classified into the large board may be equal to 2MB. In another example embodiment, the write submodule 408 splits (multiple) values ​​of (multiple) key-value pairs into multiple values ​​of equal size. Consider an example scenario in which the size of the value of (multiple) key-value pairs is 11MB, and 6 KV SSDs may be selected as candidate KV SSDs. Then, the write submodule 408 splits the value by the same size of 2MB (11MB%2MB) for 5 KVSSDs, and stores 1MB in the 6th KV SSD. In addition, the write submodule 408 writes multiple values ​​of equal size into the selected at least one KV SSD. In addition, the write submodule 408 writes multiple values ​​of equal size by calling an insert function based on the current I / O classification on the selected at least one KV SSD. Therefore, multiple KV SSDs can be effectively utilized to store (multiple) key-value pairs, which further improves the speed of the write operation.

[0071] In another example embodiment, after selecting at least one KV SSD to write (multiple) key-value pairs, the write submodule 408 checks whether there are any updates to (multiple) keys of (multiple) key-value pairs by checking the board information. The update herein refers to a change in the size / length of (multiple) keys of (multiple) key-value pairs, the value of (multiple) keys of (multiple) key-value pairs, etc. In order to check for updates, the write submodule 408 checks whether (multiple) keys of (multiple) key-value pairs exist in at least one board table maintained for the selected at least one KV SSD. When it is determined that (multiple) keys of (multiple) key-value pairs exist in at least one board table, the write submodule 408 checks whether there are any updates to (multiple) keys of (multiple) key-value pairs based on the previous board classification. When determining the change in the board information of (multiple) keys of (multiple) key-value pairs, the write submodule 408 detects the update of (multiple) keys of (multiple) key-value pairs. When it is determined that no update is available for the key(s) of the key-value pair, the write submodule 408 writes the key-value pair(s) to the selected at least one KV SSD and updates at least one board table corresponding to the at least one KV SSD.

[0072] When it is determined that there is an update, the write submodule 408 uses a delete function ("delete()") to remove the (multiple) keys of the (multiple) key-value pairs from at least one board table maintained for the selected at least one KV SSD. In addition, the write submodule 408 uses the "is_exist" function ("is_exists()") to broadcast the (multiple) keys of the (multiple) key-value pairs to the selected at least one KV SSD. When it is determined that the (multiple) keys of the (multiple) key-value pairs are not in the selected at least one KV SSD, the write submodule 408 confirms the update failure response because the (multiple) keys of the (multiple) key-value pairs have not been previously written to the selected at least one KV SSD. In addition, the write submodule 408 writes the (multiple) key-value pairs to the selected at least one KV SSD by splitting the size of the (multiple) values. In addition, the write submodule 408 enters the board information of the (multiple) keys of the (multiple) key-value pairs stored into the at least one board table of the selected at least one KV SSD.

[0073] When it is determined that the (multiple) keys of the (multiple) key-value pairs are in the selected at least one KV SSD, the write submodule 408 issues a delete function for the (multiple) keys to the selected at least one KV SSD to remove the existing (multiple) keys and corresponding board information. After removing the existing (multiple) keys from the selected KV SSD, the write submodule 408 writes the (multiple) key-value pairs to the selected at least one KV SSD by splitting the size of the (multiple) values. The write submodule 408 also updates the board information of the (multiple) keys in the board table maintained for the at least one KV SSD to which the (multiple) key-value pairs have been written accordingly.

[0074] Consider an example scenario where the application module 208a may be connected to a RAID group 210a that includes 20 KV SSDs. When the application module 208a issues a write command to write data to at least one KV SSD, the QoS management module 306 efficiently writes the data in the form of a key-value pair to a KV SSD selected based on at least one of load, available space, bandwidth, board information, etc. The write hash function submodule 402 (of the QoS management module 306) determines a configurable number of KV SSDs for storing key-value pairs from the 20 KVSSDs using a consistent hash function. The consistent hash function applies a hash function to the key of the key-value pair and calculates a hash value / number range for the key. In the example of this article, the number range calculated for the key can be 1, 3, 8, 10, 14, and other values ​​among the 20 KV SSDs, and KV SSD-3, KV SSD-5, KV SSD-6, KV SSD-8, and KV SSD-9 can respectively store key-value pairs falling within the ranges of 1-3, 1-5, 8, 10, and 14. Therefore, the consistent hash function can return KV SSD-3, KV SSD-5, KV SSD-6, KV SSD-8, and KV SSD-9 as configurable numbered KV SSDs for the keys of the key-value pairs.

[0075] After determining the KV SSD of the configurable number, the separation submodule 404 performs board classification and determines the board information (board type and size) associated with the key. In the example of this article, the key of the key-value pair can be classified into the small board / board 0. In addition, the candidate selection submodule 406 selects KV SSD-3, KV SSD-5 and KV SSD-6 from the KV SSD of the configurable number as candidates for storing key-value pairs. The candidate can be selected based on at least one of the space utilization, load, bandwidth, etc. determined among the KV SSD of the configurable number and the board information associated with the key of the key-value pair. Therefore, write operations can be performed by efficiently balancing the load and efficiently utilizing the bandwidth.

[0076] The write submodule 408 can write the key-value pair to KV SSD-3, KV SSD-5, and KV SSD-6 by splitting the size of the value of the key-value pair. In the example herein, the value of the key-value pair can have 3GB, and then the write submodule 408 splits the 3GB value into three 1GB values. The write submodule 408 writes the three 1GB values ​​to KV SSD-3, KV SSD-5, and KV SSD-6 in parallel, where each selected KV SSD can store 1GB values. Therefore, the write operation can be performed at an increased speed.

[0077] The read hash function submodule 410, the broadcast submodule 412, and the receiving submodule 414 of the QoS management module 306 can be operated to perform a read operation. The read hash function submodule 410 can be configured to determine a configurable numbered KV SSD for a key(s) of a read command issued for a value of data read from at least one KV SSD. The configurable numbered KV SSD can be determined using a consistent hash function. The consistent hash function applies a hash function to the key(s) of the read command and calculates a hash value for the key(s). Based on the calculated hash value, the consistent hash function returns a configurable numbered KV SSD from a plurality of KV SSDs for the key(s) of the read command.

[0078] The broadcast submodule 412 can be configured to broadcast the key(s) of the read command for obtaining the value of the data of the key(s). Before broadcasting the key(s) of the read command, the broadcast submodule 412 checks the availability of the board information of the key(s) of the read command in the board table maintained for the configurable numbered KV SSD. The board information herein acts as pseudo-metadata that provides information about at least one KV SSD storing the value(s) of the key(s) of the read command. If the board information is available for the key(s) of the read command in at least one board table of the board table maintained for the configurable numbered KV SSD, the broadcast submodule 412 selects the corresponding at least one KV SSD to read the value. The broadcast submodule 412 broadcasts the key(s) to the selected at least one KV SSD for obtaining the value(s) of the key(s) of the read command.

[0079] In an exemplary embodiment, if the board information does not exist in the board table of the configurable labeled KV SSD for the key(s) of the read command, the broadcast submodule 412 broadcasts the key(s) to the configurable labeled KV SSD for obtaining the values ​​of the key(s) of the read command.

[0080] In another example embodiment, if the board information does not exist in the board table of the configurable numbered KV SSD for the key(s) of the read command, the broadcast submodule 412 checks the tag associated with the configurable numbered KV SSD. The tag indicates the type of value stored in the configurable numbered KV SSD. Upon determining the association of the tag with the configurable numbered KV SSD, the broadcast submodule 412 filters the configurable numbered KV SSD based on the tag matching the category of the key(s) of the read command. The broadcast submodule 412 broadcasts the key(s) of the read command to the filtered KV SSDs of the configurable numbered KV SSD to obtain the value of the key(s) of the read command.

[0081] The receiving submodule 414 may be configured to receive the value of the data from the selected at least one KVSSD or the filtered KV SSD of the configurable number of KV SSDs for the key(s) of the read command. The receiving submodule 414 merges the values ​​received from the at least one KV SSD and updates the application module 208a and the board table maintained for the at least one KV SSD from which the value of the data has been received.

[0082] Consider an example scenario in which an application module 208a may be connected to a RAID group 210a that includes 20 KV SSDs. The application module 208a may issue a read command for reading a data value. The read command may include a key associated with the data. For the key of the read command, the read hash function submodule 410 determines the configurable numbered KV SSD using a consistent hash function. In the example herein, the consistent hash function returns KV SSD-3, KV SSD-5, KV SSD-6, KV SSD-8, and KVSSD-9 as the configurable numbered KV SSDs for the key of the read command. After determining the configurable numbered KV SSD, the broadcast submodule 412 checks the board table maintained for the configurable numbered KV SSD to obtain the board information for the key of the read command. When it is determined that the board information of the key of the read command is available in the board table maintained for KV SSD-3, KV SSD-5 and KV SSD-6, the broadcast submodule 412 broadcasts the key of the read command to KV SSD-3, KV SSD-5 and KV SSD-6. The receiving submodule 414 receives and merges the values ​​from KV SSD-3, KV SSD-5 and KV SSD-6 and updates the application module 208a.

[0083] When it is determined that the board information of the key of the read command is not available in the board table maintained for the configurable numbered KV SSD, the broadcast submodule 412 broadcasts the key of the read command to KV SSD-3, KV SSD-5, KV SSD-6, KV SSD-8, and KV SSD-9 (configurable numbered KVSSD). In response to the broadcasted key, the receiving submodule 414 receives the value of the data from at least one KV SSD in the configurable numbered KV SSD. In the example herein, the receiving submodule 414 receives and merges the values ​​from KV SSD-3, KVSSD-5, and KV SSD-6, and updates the application module 208a.

[0084] Figure 4 Examples of elements of QoS management module 306 are shown, but it should be understood that other example embodiments are not limited thereto. In other example embodiments, QoS management module 306 may include fewer or greater numbers of units. In addition, the labels or names of the units are for illustrative purposes only and do not limit the scope of the example embodiments herein. One or more elements may be combined together to perform the same or substantially similar functions in QoS management module 306.

[0085] Figure 5A and Figure 5B is a block diagram illustrating various modules of a KV SSD ((210a1-210an)-(210n1-210nm)) according to example embodiments disclosed herein.

[0086] refer to Figure 2A , Figure 2B , Figure 5A and Figure 5B , the exemplary embodiments of the present invention are explained with consideration of the KV SSD 210a1 of the RAID group 210a, but it is obvious to a person skilled in the art that at least one other KV SSD of at least one other RAID group (210a-210n) may include similar submodules and corresponding functions. The KV SSD 210a1 includes a plurality of flash translation layer (FTL) cores 502a-502n and a control module 504.

[0087] The FTL cores 502a-502n may be configured to store key-value pairs received from the application module 208a of the host processor 202 into the memory of the KV SSD 210a1. The memory of the KV SSD 210a1 includes a NAND flash die including planes, which further include blocks, which further include memory pages. The key-value pairs may be stored in the memory pages.

[0088] The control module 504 may be configured to efficiently manage the plurality of FTL cores when receiving an I / O command (write command / read command) from the application module 208 a of the host processor 202 .

[0089] The control module 504 of each of the KV SSDs ((210a1-210an)-(210n1-210nm)) can be implemented using a processing circuit such as hardware including a logic circuit, a hardware / software combination such as a processor running software, or a combination thereof. For example, the processing circuit may include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a system on a chip (SoC), a programmable logic unit, a microprocessor, or an application-specific integrated circuit (ASIC), etc.

[0090] like Figure 5B As shown, the processing circuit of each of the KV SSDs ((210a1-210an)-(210n1-210nm)) can be configured as one or more discrete dedicated processing circuits to perform the functions of the components of the control module 504, and the components of the control module 504 include an FTL write hash function submodule 504a, an FTL separation submodule 504b, an FTL candidate selection submodule 504c, an FTL write submodule 504d, an FTL read hash function submodule 504e, an FTL broadcast submodule 504f, and an FTL receiving submodule 504g.

[0091] The FTL write hash function submodule 504a, the FTL separation submodule 504b, the FTL candidate selection submodule 504c, and the FTL write submodule 504d may be operated to write key-value pairs received from the host processor 202 to at least one FTL core.

[0092] The FTL write hash function submodule 504a may be configured to determine a list of configurable numbered FTL cores / FTL cores from the multiple FTL cores 502a-502n for the (multiple) keys of the (multiple) key-value pairs received from the host processor 202. The FTL write hash function submodule 504a determines the configurable numbered FTL cores using a consistent hash function. The FTL write hash function submodule 504a passes the (multiple) keys of the (multiple) key-value pairs received from the host processor 202 to the consistent hash function. The consistent hash function uses a hash function to determine the value / hash value of the partition key of the received (multiple) keys. The hash function maps the received (multiple) keys (of variable size) to the items of the hash table (stored in at least one memory of the KV SSD 210a1) to determine the hash value using at least one of a remainder method, a folding method, etc. The hash value may be an integer value indicating a numeric range of the received (multiple) keys. Based on the hash value, the consistent hash function returns a configurable numbered FTL core for the key(s) that can store the determined key-value pair. The configurable numbered FTL core returned from the consistent hash function can always be the same for the key(s), and can be consistent between multiple FTL cores for a given key(s).

[0093] The FTL separation module 504b can be configured to perform board classification to check the board information of the (multiple) keys of the (multiple) key-value pairs received from the host processor 202. The FTL separation module 504b classifies / categorizes the received (multiple) keys into at least one board based on the size of the (multiple) associated values. The board type can be at least one of a small board, a medium board, and a large board. In the example of this article, if the size of the value is less than 2MB, the FTL separation module 504b separates the key into a small board. If the size of the value varies between 2MB and 200MB, the FTL separation module 504b separates the key into a medium board. If the size of the value is greater than 200MB, the FTL separation module 504b separates the key into a large board. Therefore, the board information of the (multiple) keys of the (multiple) key-value pairs received from the host processor 202 is determined. In addition, the FTL separation module 504b maintains a board table for each FTL core of a plurality of FTL cores 502a-502n to store the board information of the (multiple) keys. The board table may be stored in the memory of the KV SSD 210a1. The board table includes an array of board entries, which consist of an address field, a key count, and a board type field indicating the total size of the board type. Thus, the board information may serve as pseudo-metadata for future requested key(s).

[0094] The FTL candidate selection module 504c may be configured to select at least one FTL core from the configurable numbered FTL cores for writing (multiple) key-value pairs. The FTL candidate selection module 504c extracts information about each FTL core from the memory of the KV SSD 210a1. The extracted information may be at least one of the load of each configurable numbered FTL core (the number of keys already inserted), the available space (space utilization) for storing key-value pairs on each configurable numbered FTL core, the bandwidth at a specific time, etc. In addition, the FTL candidate selection module 504c analyzes the extracted information and the board information of (multiple) keys of (multiple) key-value pairs, and selects at least one FTL core from the configurable numbered FTL cores. The selected at least one FTL core may be at least one candidate for storing (multiple) key-value pairs of data received from the host processor 202.

[0095] FTL writes submodule 504d and can be configured to write (multiple) key-value pairs to selected at least one FTL core.After selecting at least one FTL core for storing (multiple) key-value pairs, FTL writes submodule 504d and divides (multiple) values ​​of (multiple) key-value pairs received from host processor 202 into multiple values ​​with equal size.In addition, FTL writes submodule 504d and uses insertion function to store multiple values ​​with equal size in selected at least one FTL core.Therefore, multiple FTL cores can be efficiently utilized to store (multiple) key-value pairs, which further improves the speed of write operation.

[0096] Consider an example scenario in which the host processor 202 sends a write command for (multiple) key-value pairs to the KV SSD 210a1, and the KV SSD 210a1 includes 10 FTL cores. When receiving (multiple) key-value pairs from the host processor 202, the control module 504 determines FTL core-2, FTL core-4, FTL core-5, and FTL core-6 as configurable numbered FTL cores for (multiple) keys of (multiple) key-value pairs received from the host processor 202. The control module 504 separates the received (multiple) keys into at least one board by exporting board information. The control module 504 also selects at least one FTL core from the configurable numbered FTL cores for storing the received (multiple) key-value pairs. At least one FTL core can be selected based on at least one of the space utilization, load, bandwidth, etc. determined among the configurable numbered FTL cores, and board information associated with the received (multiple) keys. In the example herein, FTL core-2 and FTL core-4 may be selected to store the received key-value pairs. The control module 504 also splits the value(s) of the key-value pairs into multiple equal blocks of configurable size for storage in FTL core-2 and FTL core-4. Since the size of the value may not be aligned with any particular memory size, the splitting may result in a block of a size different from the other blocks. Therefore, overloading of the FTL core may be avoided during storage of the key-value pairs.

[0097] The FTL read hash function submodule 504e, the FTL broadcast submodule 504f, and the FTL receive submodule 504g of the control unit 504 can be operated to read the value of the data from the selected FTL core when receiving the (multiple) keys of the data from the host processor 202. The FTL read hash function submodule 504e can be configured to determine the configurable numbered FTL core for the received (multiple) keys. The configurable numbered FTL core can be determined using a consistent hash function. The consistent hash function applies a hash function to the received (multiple) keys and calculates the hash value of the received (multiple) keys. Based on the calculated hash value, the consistent hash function returns the configurable numbered FTL core from the multiple FTL cores 502a-502n for the (multiple) keys received from the host processor 202.

[0098] The FTL broadcast submodule 504f can be configured to broadcast the received (multiple) keys to at least one FTL core for receiving associated values. Before broadcasting the received (multiple) keys, the FTL broadcast submodule 504f checks the board information associated with the received (multiple) keys in the board table maintained by the FTL core of the configurable label. Based on the availability of the board information of the received (multiple) keys in at least one board table, the FTL broadcast submodule 504f selects at least one associated FTL core for reading the value of the received (multiple) keys. The board information can serve as pseudo metadata providing information about at least one FTL core storing the value of the received (multiple) keys. The FTL broadcast submodule 504f broadcasts the received (multiple) keys to the selected at least one FTL core for obtaining the value of the (multiple) keys received from the host processor 202.

[0099] If the board information does not exist in the board table of the key(s) of the read command, the FTL broadcast submodule 504f broadcasts the key(s) to the configurable numbered FTL cores for obtaining the value(s) of the key(s).

[0100] The FTL receiving submodule 504f may be configured to receive values ​​of data from at least one of the FTL cores for the configurable number of key(s) received from the host processor 202. The FTL receiving submodule 504f consolidates the value(s) for transmission to the host processor 202.

[0101] Consider an example scenario in which the host processor 202 sends a read command including a key to the KV SSD 210a1 for reading the value of data, and the KV SSD 210a1 includes 10 FTL cores. When receiving (multiple) keys from the host processor 202, the control module 504 determines FTL core-2, FTL core-4, FTL core-5, and FTL core-6 as FTL cores with configurable labels for (multiple) keys of (multiple) key-value pairs received from the host processor 202. The control module 504 also uses the "is_exist" function to broadcast the received (multiple) keys to the determined FTL cores. In response to the broadcasted (multiple) keys, the control module 504 receives a value from at least one of the determined FTL cores. In the example herein, the control module 504 receives values ​​from FTL core-2 and FTL core-4, and merges the values ​​for sending to the host processor 202.

[0102] Figure 5A and Figure 5BExamples of elements of KV SSD 210a1 are shown, but it should be understood that other example embodiments are not limited thereto. In other example embodiments, KV SSD 210a1 may include fewer or greater numbers of units. In addition, the labels or names of the elements are for illustrative purposes only and do not limit the scope of the example embodiments herein. One or more elements may be combined together to perform the same or substantially similar functions in KV SSD 210a1.

[0103] Fig. 6A is a flow chart 600a illustrating a method for efficiently managing multiple KV SSDs according to example embodiments disclosed herein.

[0104] refer to Fig. 6A In operation 602, the method includes, by the host processor 202, writing (multiple) key-value pairs of a write command to at least one KV SSD of a plurality of KV SSDs 210a1-210an of at least one RAID group 210a based on board information and at least one of available space and load of at least one KVSSD. The (multiple) key-value pairs are associated with data that needs to be written to at least one KV SSD. The host processor 202 uses a consistent hash function to determine a configurable numbered KV SSD from the plurality of KV SSDs 210a1-210an for a key of the (multiple) key-value pairs. The host processor 202 derives board information for a key of the key-value pair by executing the board information. Thereafter, the host processor 202 selects at least one KV SSD from the configurable numbered KV SSDs based on at least one of the board information derived for at least one key of the key-value pair, the load of each KV SSD of the configurable numbered KV SSDs, and the available space on each KV SSD of the configurable numbered KV SSDs. The host processor 202 then writes the key-value pair(s) to the selected at least one KV SSD by dividing the value into multiple values ​​with a block size. In an example embodiment, the block size may be based on board information associated with the key. In another example embodiment, the block size may be an equal size of the value.

[0105] In operation 604, the method includes reading, by the host processor 202, a value of data from at least one KV SSD of the plurality of KV SSDs 210a1-210an using a consistent hash function and at least one of the board information for a key of a read command. The host processor 202 determines a configurable numbered KV SSD from the plurality of KV SSDs 210a1-210an for the key of the read command using a consistent hash function. The host processor 202 checks the availability of the board information of the key(s) of the read command in a board table maintained for the configurable numbered KV SSD. If the board information is available for the key(s) of the read command in at least one of the board tables maintained for the configurable numbered KV SSD, the host processor 202 selects the corresponding at least one KV SSD for reading the value. The host processor 202 broadcasts the key(s) to the selected at least one KV SSD for obtaining the value(s) of the key(s) of the read command. If the board information does not exist in the board table of the configurable numbered KV SSD for the key(s) of the read command, the host processor 202 broadcasts the key(s) to the configurable numbered KV SSD using the is_exist function to obtain the value of the key(s) of the read command. The host processor 202 reads a value from at least one of the configurable numbered KV SSDs, including the value of the data of the key of the read command.

[0106] The various actions, acts, blocks, steps, etc. in the method and flowchart 600a may be performed in the order presented, in a different order, or simultaneously. In addition, in some example embodiments, some of the actions, acts, blocks, steps, etc. may be omitted, added, modified, skipped, etc. without departing from the scope of the example embodiments.

[0107] Figure 6B 600b is a flowchart illustrating a method of managing multiple flash translation layer (FTL) cores of a KV SSD according to example embodiments disclosed herein.

[0108] refer to Figure 6BIn operation 606, the method includes writing, by the control module 504 of the selected at least one KV SSD, the key-value pairs received from the host processor 202 to at least one FTL core of the plurality of FTL cores 502a-502n based on at least one of the board information, the available space, and the load. The control module 504 uses a consistent hash function to determine the configurable numbered FTL core from the plurality of FTL cores 502a-502n for the key of the at least one key-value pair received from the host processor 202. The control module 504 derives the board information of the key of the received key-value pair by performing board classification. Thereafter, the control module 504 selects at least one FTL core from the configurable numbered FTL cores based on at least one of the board information derived for the key of the received key-value pair, the load of each of the configurable numbered FTL cores, and the available space on each of the configurable numbered FTL cores. Then, the control module 504 writes the received key-value pair to the selected at least one FTL core by dividing the value into multiple values ​​with a block size. In an embodiment, the block size can be defined based on the board information associated with the key. In another embodiment, the block size can be an equal size of the value.

[0109] In operation 608, the method includes reading, by the control module 504, a value of data from at least one FTL core of the plurality of FTL cores 502a-502n for at least one key received from the host processor 202 using at least one of a consistent hash function and board information. The control module 504 uses a consistent hash function to determine a configurable numbered FTL core from the plurality of FTL cores 502a-502n for the key received from the host processor 202. The control module 504 checks the board information associated with the received key(s) in the board table maintained for the configurable numbered FTL core. Based on the availability of the board information of the received key(s) in the at least one board table, the control module 504 selects the associated at least one FTL core for reading the value of the received key(s). The control module 504 broadcasts the received key(s) to the selected at least one FTL core for obtaining the value of the key(s) received from the host processor 202. If the board information does not exist in the board table of the key(s) of the read command, the control module 504 broadcasts the key(s) to the configurable numbered FTL cores using the is_exist function for obtaining the value(s) of the key(s). Then, the control module 504 reads at least one value from at least one of the configurable numbered FTL cores, including the value of the data of the key received from the host processor 202. The control module 504 merges the values ​​of the data for transmission to the host processor 202.

[0110] The various actions, actions, blocks, steps, etc. in the method and flowchart 600b can be performed in the order presented, in a different order, or simultaneously. In addition, in some example embodiments, some of the actions, actions, blocks, steps, etc. can be omitted, added, modified, skipped, etc. without departing from the scope of the example embodiments.

[0111] Figure 7 is an example diagram illustrating a board table maintained on a host processor 202 for a plurality of KV SSDs 210a1 - 210an according to example embodiments disclosed herein.

[0112] refer to Figure 7 The plurality of board tables include board information of keys of key-value pairs stored in the plurality of KV SSDs 210a1-210an. The board information stored for a key may be at least one of a board type (board 0-board n), a key count and a total size of keys belonging to each board, a total key count and a total key size of all board types, and the like.

[0113] Figure 8 is an example flow chart illustrating a method for performing a write operation to store a key-value pair in the selected at least one KV SSD according to an embodiment disclosed herein.

[0114] refer to Figure 8 In operation 801 , the host processor 202 issues a write command I / O (K, V) including a key-value pair for writing data to at least one selected KV SSD among the connected plurality of KV SSDs 210 a 1 - 210 an .

[0115] In operation 802 , the host processor 202 uses a consistent hashing function to determine a configurable numbered KV SSD ( d1 , d2 , . . . dy ) from among the plurality of KV SSDs 210 a 1 - 210 an for storing key-value pairs.

[0116] In operation 803, host processor 202 performs board classification to classify the keys of the issued key-value pairs into at least one board type.

[0117] In operation 804, host processor 202 checks whether the key of the issued key-value pair belongs to a large board.

[0118] When it is determined that the key of the issued key-value pair belongs to a large board, in operation 805, the host processor 202 selects at least one KV SSD from the configurable numbered KV SSDs for storing the key-value pair. The at least one KV SSD can be selected based on criteria such as, but not limited to, the load and available space of the configurable numbered KV SSDs, the board type of the classified key, etc. In operation 806, the host processor 202 writes the key-value pair to the selected at least one KV SSD. In operation 807, the host processor 202 updates the board information of the key of the stored key-value pair in the board table maintained for the at least one KV SSD storing the key-value pair.

[0119] When it is determined that the key of the key-value pair does not belong to a large board, the host processor 202 selects at least one KV SSD from the configurable numbered KV SSDs for storing the key-value pair in operation 808. The at least one KV SSD may be selected based on criteria such as, but not limited to, load and available space of the configurable numbered KV SSDs, board type of the classified key, and the like.

[0120] In operation 809, the host processor 202 checks whether there are any updates available for the key of the key-value pair. The update may be checked by checking the board information associated with the key of the key-value pair based on the previous board classification.

[0121] When it is determined that the update is not available, the host processor 202 writes the issued key-value pair to the selected at least one KV SSD in operation 810. In operation 811, the host processor 202 updates the board information of the key of the stored key-value pair in the board table maintained for at least one KV SSD storing the key-value pair.

[0122] When it is determined that an update is available, in operation 812, the host processor 202 issues a delete instruction to the selected at least one KV SSD for deleting the key that has been previously written to the selected at least one KV SSD. In addition, the host processor 202 removes the board information of the deleted / removed key from the board table maintained for the selected at least one KV SSD. In operation 813, the host processor 202 writes the issued key-value pair to the selected at least one KV SSD. In operation 814, the host processor 202 updates the board information of the key of the stored key-value pair in at least one board table maintained for at least one KV SSD storing the key-value pair. Therefore, writing the key-value pair to at least one selected KV SSD avoids overloading the KV SSD.

[0123] Fig. 9 is an example flow chart illustrating a method for performing a read operation to read a value from a selected KV SSD according to example embodiments disclosed herein.

[0124] refer to Fig. 9 , in operation 901 , the host processor 202 issues a read command I / O (K, V) to extract the value of a key.

[0125] In operation 902, the host processor 202 checks the KV cache for a value associated with the issued key.

[0126] Upon determining that a value is available in the KV cache for the issued key, in operation 903 , the host processor 202 extracts the value from the KV cache.

[0127] Upon determining that the value is not available in the KV cache, in operation 904 the host processor 202 uses a consistent hashing function to determine a configurable numbered KV SSD for the issued key.

[0128] In operation 905, the host processor checks the availability of the board information of the issued key in the board table maintained for the configurable numbered KV SSD.

[0129] When it is determined that the board information of the issued key is not available in the board table maintained for the configurable numbered KV SSDs, the host processor 202 broadcasts the issued key (K) to the configurable numbered KV SSDs in operation 906. The host processor 202 receives a value from at least one of the configurable numbered KV SSDs for the issued key. In operation 907, the host processor 202 updates the board information of the issued key in the board table maintained for at least one KV SSD from which the value for the issued key is received.

[0130] Upon determining that the board information of the issued key is available in at least one board table maintained for at least one KV SSD, the host processor 202 selects at least one KV SSD from the configurable numbered KV SSDs in operation 908. The host processor 202 selects the at least one KV SSD as at least one candidate for obtaining the value of the issued key. In operation 909, the host processor 202 broadcasts the issued key (K) to the selected at least one KV SSD for receiving the value of the issued key. Therefore, by broadcasting the key to the selected at least one KV SSD, a faster search / read operation can be performed.

[0131] Fig.10 is an example flow chart illustrating a method for performing a read operation to read a value from a selected KV SSD based on a tag according to example embodiments disclosed herein.

[0132] refer to Fig.10 , in operation 1001 , the host processor 202 issues a read command including a key for reading a value / data from at least one selected KV SSD.

[0133] In operation 1002, the host processor 202 checks the value of the issued key(s) in the KV cache.

[0134] Upon determining that a value is available in the KV cache for the issued key, host processor 202 may extract the value from the KV cache in operation 1003 .

[0135] Upon determining that the value is not available in the KV cache, in operation 1004 , the host processor 204 determines a configurable number of KV SSDs from the plurality of KV SSDs ( 210 a 1 - 210 an ) for the issued key(s) using a consistent hashing function.

[0136] In operation 1005, the host processor 204 checks the board information of the issued key in the board table maintained for the configurable numbered KV SSD.

[0137] When determining the availability of the board information for the issued key, in operation 1006, the host processor 202 identifies at least one KV SSD that includes the value of the issued key. The availability of the board information for the issued key in at least one board table maintained for at least one KV SSD indicates that at least one KV SSD includes the value of the issued key. In operation 1007, the host processor 202 broadcasts the issued key to the identified at least one KV SSD to obtain the value. Therefore, broadcasting the issued key to the selected at least one KV SSD results in a faster search. In operation 1008, the host processor 1008 merges the value received from the at least one KV SSD for the issued key.

[0138] When it is determined that the board information of the issued key is not available in the board table maintained for the configurable numbered KV SSD, in operation 1009, the host processor 202 filters the configurable numbered KV SSD based on the corresponding tag matching the category of the key. In operation 1010, the host processor 202 broadcasts the issued key to at least one of the filtered KV SSDs of the configurable numbered KV SSDs. In operation 1011, in response to the broadcasted issued key, the host processor 202 receives the value of the issued key from at least one of the filtered KV SSDs and merges the value of the issued key. In operation 1012, the host processor 202 updates the board information of the issued key in at least one board table maintained for at least one of the filtered KV SSDs.

[0139] Consider an example scenario where the host processor 202 is connected to 14 KV SSDs and each of the 14 KV SSDs is marked based on the value stored in the 14 KV SSDs. Fig.10As shown, video tags can be associated with KV SSD-1, KV SSD-2, KV SSD-7, KV SSD-8, KV SSD-9, KV SSD-10, KV SSD-13, and KV SSD-14 because video-related values ​​are stored in these KV SSDs. File tags can be assigned to KV SSD-3, KV SSD-4, KV SSD-7, KV SSD-8, KV SSD-11, KV SSD-12, KV SSD-13, and KV SSD-14. Image tags can be assigned to KV SSD-5, KV SSD-6, KV SSD-9, KV SSD-10, KV SSD-11, KV SSD-12, KV SSD-13, and KV SSD-14. In addition, the host processor 202 issues a read command including a key to read a value from at least one of the 14 KV SSDs. In the example herein, host processor 202 wants to read video-related values.

[0140] In order to read these values, the host processor 202 determines the configurable numbered KV SSD from 14 KV SSDs using a consistent hash function. In the example herein, KV SSD-1, KV SSD-2, KV SSD-11, and KV SSD-12 can be determined as the configurable numbered KV SSD for the key issued. In addition, when it is determined that the board information is unavailable for the key issued, the host processor 202 filters the configurable numbered KV SSD based on the tag. Because the host processor wants to read the value related to the video, at least one KV SSD assigned with the video tag can be selected. In the example herein, KV SSD-1 and KV SSD-2 can be selected from the configurable numbered KV SSD for reading the value. Then, the host processor 202 broadcasts the issued key to KV SSD-1 and KV SSD-2 for receiving the value of the issued key. Therefore, reading the value from the selected KV SSD improves the speed of the read operation.

[0141] Fig.11 is an example flow chart illustrating a method for performing a write operation to store a key-value pair in the selected at least one KV SSD according to example embodiments disclosed herein.

[0142] refer to Fig.11 , in operation 1101 , the host processor 202 issues a write command including a key-value pair and a tag (IO(K, V, T)).

[0143] When it is determined that the tag is empty, in operation 1102, the host processor 202 uses a consistent hashing function to determine a configurable numbered KV SSD from a plurality of KVSSDs (e.g., 8 KV SSDs) for storing key-value pairs. In the example herein, KVSSD1, KV SSD2, and KV SSD3 may be determined as configurable numbered KV SSDs. In operation 1103, the host processor 202 analyzes load information, space availability, bandwidth utilization, etc. associated with the configurable numbered KV SSDs to select at least one candidate KV SSD for storing key-value pairs. In the example herein, the host processor 202 selects KV SSD2 as a candidate KV SSD because KV SSD2 has the lowest number of keys (load), the lowest space utilization, and the highest bandwidth availability. In operation 1104, the host processor 202 stores the key-value pairs in KV SSD2.

[0144] When it is determined that the tag associated with the issued key-value pair is an image tag, in operation 1105, the host processor 202 performs tag classification to determine the configurable numbered KV SSD including image data from the 8 KV SSDs. In the example herein, the host processor 202 determines that KV SSD4 and KV SSD8 are configurable numbered KV SSDs because KV SSD4 and KV SSD8 include image data. In operation 1106, the host processor 202 obtains information about disk allocation (load, available space, and bandwidth information) from the board table of KV SSD4 and KV SSD8. Based on the information about disk allocation, the host processor 202 selects a candidate KV SSD for storing key-value pairs. In the example herein, the host processor 202 selects KV SSD8 as a candidate KV SSD. In operation 1108, the host processor 202 stores the key-value pair in KV SSD8 and updates the information about disk allocation in the board table maintained for KV SSD8.

[0145] Fig.12 is an example diagram illustrating key distribution across multiple KVSSDs based on load balancing and available space according to example embodiments disclosed herein.

[0146] refer to Fig.12 , the example embodiments herein enable the host processor 202 to write (a plurality of) key-value pairs to the selected at least one KV SSD based on at least one of load, available space, bandwidth, etc. Thus, as Fig.12 As shown, the number of keys and memory space can be efficiently managed among multiple KV SSDs.

[0147] The example embodiments disclosed herein may be implemented by at least one software program running on at least one hardware device and performing network management functions to control the elements. Figure 2A , Figure 2B , Figure 5A and Figure 5B The elements shown in the figure may be at least one of a hardware device or a combination of a hardware device and a software module.

[0148] The example embodiments disclosed herein describe methods and systems for efficiently managing key-value solid-state drives (KV SSDs). Therefore, it should be understood that the scope of protection is extended to such programs, and in addition to computer-readable devices having messages therein, such computer-readable storage devices contain program code devices, which are used to implement one or more steps of the method when the program is run on a server or mobile device or any suitable programmable device. The example embodiments can be implemented by a software program written in another programming language such as Very high speed integrated circuit Hardware Description Language (VHDL), or implemented together with the software program, or implemented by one or more VHDL or several software modules executed on at least one hardware device. The hardware device can be any type of portable device that can be programmed. The device can also include a device that can be, for example, a hardware device (such as, for example, an ASIC), or a combination of hardware and software devices (for example, an ASIC and an FPGA), or at least one microprocessor and at least one memory having a software module located therein. The example embodiments described herein can be implemented partially in hardware and partially in software. Alternatively, the example embodiments can be implemented on different hardware devices, for example, using multiple processors.

[0149] The foregoing description of specific example embodiments will so fully reveal the general nature of the example embodiments herein that others may, by applying current knowledge, readily modify such example embodiments and / or adapt such example embodiments to various applications without departing from these example embodiments, and therefore, such adaptations and modifications should and are intended to be understood within the meaning and scope of equivalents of the disclosed example embodiments. It should be understood that the words or terms used herein are for descriptive purposes and not for limiting purposes. Therefore, although the example embodiments herein have been described in terms of example embodiments, those skilled in the art will recognize that the example embodiments herein may be practiced with modifications within the spirit and scope of the example embodiments described herein.

Claims

1. A system for managing a key-value solid state drive (KV SSD), include: a plurality of redundant array of independent disks RAID groups, each of the plurality of RAID groups comprising a plurality of key-value solid state drives KVSSD; as well as a host processor coupled to at least one of the plurality of RAID groups, the host processor being configured to: deriving board information associated with at least one key by performing board classification based on a size of at least one key of at least one key-value pair, writing the at least one key-value pair to the at least one KV SSD based on at least one of (i) the board information associated with the at least one key, (ii) available space of at least one KV SSD of the plurality of KV SSDs, and (iii) a load of the at least one KV SSD, the at least one key-value pair being associated with a write command to write data to the at least one KV SSD, and Data is read from the at least one KV SSD for at least one key of at least one read command based on at least one of a consistent hash function and the board information associated with the at least one key.

2. The system according to claim 1, in, The host processor is configured to: Using the consistent hash function, for the at least one key, determining a configurable numbered KV SSD from the plurality of KV SSDs, deriving the board information associated with the at least one key by separating the at least one key into at least one of a small board, a medium board, and a large board to perform board classification, selecting the at least one KV SSD from the configurable numbered KV SSDs based on at least one of (i) the derived board information associated with the at least one key, (ii) available space of the configurable numbered KV SSDs, and (iii) a load of the configurable numbered KV SSDs, and Writing the at least one key-value pair to the selected at least one KV SSD in the following manner: splitting at least one value of the at least one key-value pair into a plurality of values ​​having a chunk size based on board information associated with the at least one key, and The plurality of block-sized values ​​of the at least one key-value pair are written in parallel to the selected at least one KV SSD.

3. The system according to claim 2, in, The host processor is further configured to insert board information associated with the at least one key into at least one board table maintained for the selected at least one KV SSD.

4. The system according to claim 2, in, The host processor is further configured to write the at least one key-value pair to the selected at least one KV SSD by: determining whether the at least one key of the at least one key-value pair exists in at least one board table maintained for the selected at least one KV SSD, In response to at least one key of the at least one key-value pair being present in the at least one board table, checking whether an update is available for at least one key of the at least one key-value pair based on whether board information associated with the at least one key has changed, In response to updating at least one key-value of the at least one key-value pair being unavailable, writing the at least one key-value pair to the selected at least one KV SSD, and In response to updating at least one key of the at least one key-value pair being available, performing at least one action, the at least one action comprising: checking whether at least one key of the at least one key-value pair exists in the selected at least one KV SSD by broadcasting the at least one key to the selected at least one KV SSD; If at least one key of the at least one key-value pair exists in the selected at least one KV SSD, an update operation is performed by: issuing a delete command to the selected at least one KV SSD to remove the at least one key existing in the selected at least one KV SSD; removing board information associated with at least one key from at least one board table maintained for the selected at least one KV SSD, the at least one key being associated with the delete instruction; writing the at least one key-value pair to the selected at least one KV SSD; updating at least one board table maintained for the selected at least one KV SSD by inserting board information associated with at least one key of the at least one key-value pair written; and If at least one key of the at least one key-value pair does not exist in the selected at least one KV SSD, an update failure response is confirmed.

5. The system according to claim 1, in, The host processor is configured to read data from the at least one KV SSD by: Based on a consistent hash function, for at least one key of at least one read command, determining a configurable numbered KV SSD from the plurality of KV SSDs, broadcasting at least one key of the at least one read command to the configurable numbered KV SSD, and At least one value of the data is read from at least one of the configurably labeled KV SSDs.

6. The system according to claim 1, in, The host processor is configured to read data from the at least one KV SSD by: Based on a consistent hash function, for at least one key of the at least one read command, determining a configurable numbered KV SSD from the plurality of KV SSDs, determining whether board information associated with the at least one key is available in a board table maintained for the configurable numbered KV SSD for at least one key of the at least one read command, In response to board information associated with the at least one key being available for the at least one key, selecting the at least one KV SSD from the configurable numbered KV SSDs, broadcasting at least one key of the at least one read command to the selected at least one KV SSD; as well as At least one value of the data is read from the selected at least one KV SSD.

7. The system according to claim 6, in, The host processor is further configured to: selecting at least one KV SSD by filtering the configurable number of KV SSDs based on at least one tag, and At least one value of the data is read by broadcasting at least one key of the at least one read command to the selected at least one KV SSD.

8. The system according to claim 1, in, Each of the plurality of KV SSDs comprises: Multiple Flash Translation Layer (FTL) cores; and a controller coupled to the plurality of FTL cores, the controller being configured to: writing at least one key-value pair received from the host processor to at least one FTL core of the plurality of FTL cores based on at least one of board information associated with the at least one key, available space of the at least one KV SSD, and a load of the at least one KV SSD, and At least one value of the data is read from at least one FTL core of the plurality of FTL cores for the at least one key received from the host processor based on at least one of a consistent hash function and board information associated with the at least one key.

9. The system according to claim 8, in, The controller is also configured to: determining a configurable numbered FTL core from the plurality of FTL cores for the at least one key-value pair received from the host processor based on a consistent hash function, selecting at least one FTL core from the configurable numbered FTL cores as the selected at least one FTL core based on at least one of the board information associated with the at least one key, a load of each of the configurable numbered FTL cores, and available space on each of the configurable numbered FTL cores; and The at least one key-value pair is written to the at least one FTL core by: splitting the at least one key-value pair into a plurality of values ​​having a chunk size, the chunk size being based on board information associated with the at least one key; as well as The plurality of values ​​having the block size are written in parallel to the selected at least one FTL core.

10. The system according to claim 8, in, The controller is also configured to: determining a configurable numbered FTL core from the plurality of FTL cores for the at least one key received from the host processor based on a consistent hash function, broadcasting the at least one key to the configurable numbered FTL core; reading the at least one value from the configurable numbered FTL core; and The at least one value of the data is merged for transmission to the host processor.

11. A method for managing a key-value solid state drive (KV SSD), the method include: deriving, by the host processor, board information associated with at least one key of at least one key-value pair by performing board classification based on a size of the at least one key; Writing, by the host processor, the at least one key-value pair to the at least one KV SSD based on at least one of (i) the board information associated with the at least one key, (ii) available space of at least one KV SSD among a plurality of KV SSDs of at least one Redundant Array of Independent Disks (RAID) group, and (iii) a load of the at least one KV SSD, the at least one key-value pair being associated with a write command to write data to the at least one KV SSD associated with the at least one key; as well as The data is read from the at least one KV SSD by the host processor for at least one key of at least one read command based on at least one of a consistent hash function and the board information associated with the at least one key.

12. The method according to claim 11, in, Writing the at least one key-value pair to the at least one KV SSD comprises: Determine, for the at least one key, a configurable numbered KVSSD from the plurality of KV SSDs using a consistent hashing function; deriving board information associated with the at least one key by separating the at least one key into at least one of a small board, a medium board, and a large board to perform board classification; selecting the at least one KV SSD from the configurable numbered KV SSDs based on at least one of (i) the derived board information associated with the at least one key, (ii) available space of the configurable numbered KV SSDs, and (iii) a load of the configurable numbered KV SSDs; and The at least one key-value pair is written to the selected at least one KV SSD by the following operations: splitting at least one value of the at least one key-value pair into a plurality of values ​​having a chunk size based on board information associated with the at least one key, and The plurality of block-sized values ​​of the at least one key-value pair are written in parallel to the selected at least one KV SSD.

13. The method according to claim 12, further comprising: include: Inserting, by the host processor, board information associated with the at least one key into at least one board table maintained for the selected at least one KV SSD.

14. The method according to claim 11, further comprising: include: The host processor writes the at least one key-value pair to the at least one KVSSD by: determining whether at least one key of the at least one key-value pair exists in at least one board table maintained for the selected at least one KV SSD, In response to at least one key of the at least one key-value pair being present in the at least one board table, checking whether an update is available for at least one key of the at least one key-value pair based on whether board information associated with the at least one key has changed, In response to updating the at least one key of the at least one key-value pair being unavailable, writing the at least one key-value pair to the selected at least one KV SSD, and In response to updating the at least one key available for the at least one key-value pair, performing at least one action, the at least one action comprising: checking whether the at least one key of the at least one key-value pair exists in the selected at least one KV SSD by broadcasting the at least one key to the selected at least one KV SSD; If the at least one key of the at least one key-value pair exists in the selected at least one KV SSD, an update operation is performed by: issuing a delete command to the selected at least one KV SSD to remove the at least one key existing in the selected at least one KV SSD; removing board information associated with at least one key from at least one board table maintained for the selected at least one KV SSD, the at least one key being associated with the delete instruction; writing the at least one key-value pair to the selected at least one KV SSD; updating at least one board table maintained for the selected at least one KV SSD by inserting board information for at least one key of at least one key-value pair written to the selected at least one KV SSD; and If at least one key of the at least one key-value pair does not exist in the selected at least one KV SSD, an update failure response is confirmed.

15. The method according to claim 11, in, Reading data from the at least one KV SSD comprises: Based on a consistent hash function, for at least one key of the at least one read command, determining a configurable numbered KV SSD from the plurality of KV SSDs; broadcasting the at least one key of the at least one read command to the configurable numbered KV SSD; and At least one value of the data is read from the at least one of the configurable numbered KV SSDs.

16. The method according to claim 11, in, Reading data from the at least one KV SSD comprises: Determining, by the host processor, a configurable numbered KV SSD from the plurality of KV SSDs for the at least one key of the at least one read command based on a consistent hash function; determining, by the host processor, whether board information associated with the at least one key is available in a board table maintained for the configurable numbered KV SSD for the at least one key of the at least one read command; selecting, by the host processor, the at least one KV SSD from the configurably numbered KV SSDs in response to board information associated with the at least one key being available for the at least one key; broadcasting, by the host processor, the at least one key of the at least one read command to the selected at least one KV SSD; and At least one value of the data is read from the selected at least one KV SSD.

17. The method of claim 11, wherein reading data from the at least one KV SSD include: Determining, by the host processor, a configurable numbered KV SSD from the plurality of KV SSDs for the at least one key of the at least one read command based on a consistent hash function; selecting, by the host processor, the at least one KV SSD by filtering the configurably numbered KV SSDs based on at least one tag; as well as At least one value of the data is read by the host processor by broadcasting at least one key of the at least one read command to the selected at least one KV SSD.

18. The method according to claim 11, further comprising: include: writing, by the controller of the selected at least one KV SSD, the at least one key-value pair received from the host processor to at least one FTL core of the plurality of FTL cores based on at least one of the board information associated with the at least one key, available space of the at least one KV SSD, and a load of the at least one KV SSD, and At least one value of the data is read, by the controller, from at least one FTL core of the plurality of FTL cores for at least one key received from the host processor based on at least one of a consistent hash function and the board information associated with the at least one key.

19. The method according to claim 18, in, Writing the at least one key-value pair to the at least one FTL core comprises: Determining a configurable numbered FTL core from the plurality of FTL cores for the at least one key-value pair received from the host processor based on a consistent hash function; selecting the at least one FTL core from the configurable numbered FTL cores as the selected at least one FTL core based on at least one of the board information associated with the at least one key, a load of each of the configurable numbered FTL cores, and available space on each of the configurable numbered FTL cores; and The at least one key-value pair received from the host processor is written to the selected at least one FTL core by: splitting at least one key-value pair into a plurality of values ​​having a chunk size, the chunk size being defined based on board information associated with the at least one key; and The plurality of values ​​having the block size are written in parallel to the selected at least one FTL core.

20. The method according to claim 18, in, Reading at least one value from the at least one FTL core comprises: determining a configurable numbered FTL core from the plurality of FTL cores for the at least one key received from the host processor based on a consistent hash function; broadcasting the at least one key to the configurable numbered FTL core; Reading at least one value from the configurable numbered FTL core; and The at least one value of the data is merged for transmission to the host processor.