RAID controller, operation method of RAID controller and storage device

By using multiple channel interfaces and RAID buffer units in the RAID controller to set the transmission path of split data and manage parity data, the problem of insufficient performance of the existing RAID controller is solved and more efficient data processing and storage.

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

Patent Information

Application Number
CN202410199093.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2024-02-22
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The performance of existing RAID controllers is insufficient, which affects the overall performance of storage devices, and it is difficult to effectively manage multiple transmission paths and parity data for split data, resulting in high complexity and power consumption of storage devices.

Method used

A cheap redundant array of disks (RAID) controller is designed, which uses multiple channel interfaces and RAID buffer units to set up multiple transmission paths for split data through allocators and arbiters, and manages their corresponding parity. Data, realizes the segmentation and storage of data strips, and reduces structural complexity and power consumption.

Benefits of technology

Improves the performance and reliability of RAID controllers, reduces device complexity and power consumption, and enhances data processing speed and storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550455A
    Figure CN118550455A
Patent Text Reader

Abstract

The invention provides a RAID controller, an operation method of the RAID controller, and a storage device. The RAID controller includes a plurality of channel interfaces configured to receive a data bar, distinguish in which data stripe the data bar is included by using an RAID identifier from each of a plurality of channels, segment the data bar into a plurality of pieces of segmented data, and store the segmented data, and assigning a partition identifier to each of the plurality of pieces of partition data; an allocator configured to set transmission paths of the plurality of split data based on the split identifier; and a plurality of RAID buffer units configured to receive the divided data through the distributor and manage parity data corresponding to the divided data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The inventive concept relates to a redundant array of inexpensive disks (RAID) controller capable of receiving data through multiple channels. Background Art

[0002] Various technologies have been proposed to improve the stability of data stored in a storage device. For example, a storage device may support RAID, and data stability may be ensured in various ways according to the RAID level. For example, a storage device may include a plurality of unit areas, and data and parity data stored in the unit areas may be used to recover data that has failed, i.e., data that has caused an error.

[0003] Such RAID operation can be performed by a RAID controller included in the storage device. In this case, since the performance of the RAID controller also affects the performance of the storage device, various developments are being conducted to improve the performance of the RAID controller. Summary of the invention

[0004] The inventive concept provides an inexpensive redundant array of independent disks (RAID) controller with improved performance.

[0005] According to some aspects of the present invention, a redundant array of inexpensive disks (RAID) controller is provided, comprising: a plurality of channel interfaces, the plurality of channel interfaces being configured to receive data strips, wherein which data stripe the data strips are included in is distinguished by using a RAID identifier from each of a plurality of channels, split the data strips into a plurality of split data and store the plurality of split data, and assign a split identifier to each of the plurality of split data; a distributor, the distributor setting a transmission path for each of the plurality of split data based on the split identifier; and a plurality of RAID buffer units, the plurality of RAID buffer units receiving the plurality of split data through the distributor and managing parity data corresponding to the plurality of split data.

[0006] According to some aspects of the present invention, there is provided an operating method of a redundant array of inexpensive disks (RAID) controller, the RAID controller comprising a plurality of channel interfaces, a distributor and a plurality of RAID buffer units, the operating method comprising: receiving a data strip through any one of the plurality of channel interfaces, wherein whether the data strip is included in the data strip is distinguished by using a RAID identifier; dividing the data strip into a plurality of split data by the channel interface that has received the data strip; assigning a split identifier to each of the plurality of split data by the channel interface that has received the data strip; setting a transmission path of each of the plurality of split data to one of the plurality of RAID buffer units by the distributor; transmitting each of the plurality of split data to one of the plurality of RAID buffer units by the distributor; and calculating and storing parity data corresponding to the plurality of split data by each of the RAID buffer units.

[0007] According to some aspects of the present invention, a storage device is provided, the storage device comprising: a processor, the processor outputting a data strip through a plurality of channels, wherein whether the data strip is included in the data strip is distinguished by using a redundant array of inexpensive disks (RAID) identifier; a RAID controller, the RAID controller dividing the data strip into a plurality of split data and generating a plurality of parity data corresponding to the plurality of split data; a volatile memory, the volatile memory temporarily storing the plurality of parity data generated by the RAID controller; and a non-volatile memory, the non-volatile memory being configured to store the plurality of parity data stored in the volatile memory, wherein the RAID controller comprises a plurality of channel interfaces, the plurality of channel interfaces being configured to divide and store the data strip into a plurality of split data and assigning a split identifier to each of the plurality of split data; a distributor, the distributor setting a transmission path for each of the plurality of split data based on the split identifier; and a plurality of RAID buffer units, the plurality of RAID buffer units receiving the plurality of split data through the distributor and managing the parity data corresponding to the plurality of split data. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Example embodiments of the inventive concept will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0009] Figure 1 is a block diagram illustrating a storage device according to some example embodiments;

[0010] Figure 2is a block diagram illustrating a RAID controller according to some example embodiments;

[0011] Figure 3 is a circuit diagram illustrating a cache device according to some example embodiments;

[0012] Figure 4 is a timing diagram illustrating a parity check operation process of a cache device according to some example embodiments;

[0013] Figure 5 is a diagram illustrating a process in which a storage device processes one data stripe according to some example embodiments;

[0014] Figure 6 is a diagram illustrating a process in which a storage device processes a plurality of data stripes according to some example embodiments;

[0015] Figure 7 is a diagram illustrating a process in which a storage device allocates a stripe identifier based on a RAID identifier to process a plurality of data stripes according to some example embodiments;

[0016] Figure 8 is a diagram illustrating a process in which a storage device processes two data stripes using some RAID buffer units according to some example embodiments;

[0017] Fig. 9 is a flow chart illustrating a method of operation of a RAID controller according to some example embodiments;

[0018] Fig.10 is a flowchart illustrating a method of setting a transmission time point of split data by an arbitrator of a RAID controller according to some example embodiments;

[0019] Fig.11 is a flow chart illustrating a method of calculating parity data by a cache device of a RAID controller according to some example embodiments; and

[0020] Fig.12 is a block diagram illustrating a RAID controller according to some example embodiments. DETAILED DESCRIPTION

[0021] Hereinafter, example embodiments of the inventive concept will be described in detail with reference to the accompanying drawings.

[0022] Figure 1 is a block diagram illustrating a storage device according to some example embodiments.

[0023] refer to Figure 1, a storage device 10 according to some example embodiments may include a processor 100 , a plurality of channels 150 , a redundant array of inexpensive disks (RAID) controller 200 , a network on chip (NOC) 300 , a volatile memory (VM) 400 , and a nonvolatile memory (NVM) 500 .

[0024] The processor 100 may control overall operations of the storage device 10 , and in some example embodiments, the processor 100 may be a central processing unit (CPU).

[0025] The processor 100 may store a data stripe in the nonvolatile memory 500. In this case, the processor 100 may store the data stripe in the nonvolatile memory 500 through a nonvolatile memory controller controlling the nonvolatile memory 500.

[0026] The data stripe may be a bundle of a plurality of data stripes. A data stripe may be a unit in which data is stored in the nonvolatile memory 500, and may include data of a predetermined (or alternatively, determined or expected) capacity (e.g., 4KB). In this case, the data stripe may be stored in a page at the same position in a plurality of flash memory chips included in the nonvolatile memory 500.

[0027] The processor 100 may assign a RAID identifier to each data stripe. The RAID identifier may be an identifier for distinguishing in which data stripe a data stripe is included, and the same RAID identifier may be assigned to a plurality of data stripes bound by the same data stripe. In this case, the data stripes assigned the same RAID identifier by the processor 100 may be written to pages at the same position in a plurality of flash memory chips included in the nonvolatile memory 500.

[0028] The processor 100 may output the data stripe to the RAID controller 200 through the plurality of channels 150. In this case, the processor 100 may output the data stripe through any channel of the plurality of channels 150.

[0029] The processor 100 may output all of the plurality of data stripes tied with the same data stripe to the RAID controller 200. Here, the processor 100 may output the plurality of data stripes tied with the same data stripe to the RAID controller 200 through different channels among the plurality of channels 150.

[0030] The plurality of channels 150 may be used as a communication path between the processor 100 and the RAID controller 200. In some example embodiments, the plurality of channels 150 may input data stripes output by the processor 100 to the RAID controller 200.

[0031] The RAID controller 200 may receive data stripes distinguished by using RAID identifiers from the processor 100 through the plurality of channels 150. The RAID controller 200 may split the data stripes into a plurality of pieces of split data. The RAID controller 200 may generate a plurality of pieces of parity data corresponding to the plurality of pieces of split data.

[0032] Will refer to it later Figure 2 A more detailed configuration and operation of the RAID controller 200 is described in more detail.

[0033] The NOC 300 may be connected between the RAID controller 200, the volatile memory 400, and the nonvolatile memory 500. The NOC 300 may be used as a data transmission path between the RAID controller 200, the volatile memory 400, and the nonvolatile memory 500. In some example embodiments, the NOC 300 may transfer parity data output from the RAID controller 200 to the volatile memory 400, and parity data output from the volatile memory 400 may be transferred to the RAID controller 200 or the nonvolatile memory 500.

[0034] The volatile memory 400 may temporarily store a plurality of parity data generated by the RAID controller 200. The volatile memory 400 may temporarily store a plurality of parity data input through the NOC 300. The volatile memory 400 may output the plurality of temporarily stored parity data to the nonvolatile memory 500 through the NOC 300.

[0035] The volatile memory 400 may be any one of a static random access memory (SRAM), a dynamic random access memory (DRAM), and the like.

[0036] The nonvolatile memory 500 may store a plurality of pieces of parity data stored in the volatile memory 400. The nonvolatile memory 500 may store a plurality of pieces of parity data input through the NOC 300.

[0037] The non-volatile memory 500 may include a plurality of flash memory chips (e.g., NAND memory chips) that store data as non-volatile. In this case, the space within the plurality of flash memory chips may be divided into pages. In this case, the non-volatile memory 500 may store the plurality of parity data on a page at the same position as a page in which the plurality of data strips are stored in the plurality of flash memory chips based on the generation of each of the plurality of parity data.

[0038] In more detail, each of the multiple flash memory chips included in the nonvolatile memory 500 may include multiple storage blocks. In addition, the storage blocks in the same position in each of the multiple flash memory chips may be included in the same storage block group. In this case, the data stripes on the pages at the same position in the storage blocks included in the same storage block group may be grouped into the same data stripe. The parity data generated by the multiple data stripes included in the same data stripe may be stored on the page at the same position as the position of the page storing the multiple data stripes in the storage blocks included in the same storage block group.

[0039] As another example, any memory block among the plurality of memory blocks included in the flash memory chip included in the nonvolatile memory 500 may form a large zone. In this case, data stripes stored on pages at the same position in each of the plurality of memory blocks constituting the large zone may be bound to the same data stripe. Parity data generated by the plurality of data stripes included in the same data stripe may be stored on pages at the same position as the pages storing the plurality of data stripes in the memory blocks included in the same large zone.

[0040] Figure 2 is a block diagram illustrating a RAID controller according to some example embodiments.

[0041] refer to Figure 2 , the RAID controller 200 according to some example embodiments may include a plurality of channel interfaces 210_1 to 210_n (n is a natural number of 2 or more), a distributor 220, and a plurality of RAID buffer units 230_1 to 230_k (k is a natural number of 2 or more). In addition, the RAID controller 200 according to some example embodiments may further include an arbitrator 240, a RAID core unit 250, a communication circuit 260, and a memory interface 270.

[0042] The plurality of channel interfaces 210_1 to 210_n may receive a data stripe distinguished by using a RAID identifier from each of the plurality of channels 150, split and store the data stripe into a plurality of pieces of split data, and assign a split identifier to each of the plurality of pieces of split data.

[0043] The number of the plurality of channel interfaces 210_1 to 210_n may be the same as the number of the plurality of channels 150. For example, if the number of the plurality of channels 150 is n, the number of the plurality of channel interfaces 210_1 to 210_n may be n. In addition, each of the plurality of channel interfaces 210_1 to 210_n may be connected to each of the plurality of channels 150. For example, the m-th channel interface 210_m (m is a natural number equal to or greater than 1 and equal to or less than n) may be connected to the m-th channel.

[0044] The plurality of channel interfaces 210_1 to 210_n may receive data stripes from the processor 100 through the plurality of channels 150. For example, the mth channel interface 210_m may receive the data stripes from the processor 100 through the mth channel. In this case, the plurality of channel interfaces 210_1 to 210_n may receive RAID identifiers corresponding to the data stripes together with the data stripes. Therefore, the data stripes may be distinguished using the RAID identifiers.

[0045] The plurality of channel interfaces 210_1 to 210_n may split the received data strip into a plurality of split data strips. In this case, each of the plurality of split data strips may have the same capacity. In addition, the number of split data strips into which the plurality of channel interfaces 210_1 to 210_n split the data strips may be adjusted according to the embodiment. For example, the plurality of channel interfaces 210_1 to 210_n may split the data strips each having a 4KB capacity into eight split data strips having a 512B capacity.

[0046] Each of the plurality of channel interfaces 210_1 to 210_n may store a plurality of pieces of divided data obtained by dividing the data stripe.

[0047] The plurality of channel interfaces 210_1 to 210_n may include a plurality of channel buffers 211_1 to 211_n, respectively. The plurality of channel buffers 211_1 to 211_n may temporarily store a plurality of pieces of segmented data. For example, the mth channel interface 210_m may segment a data strip to obtain a plurality of pieces of segmented data, and temporarily store the obtained plurality of pieces of segmented data in the mth channel buffer 211_m.

[0048] Each of the plurality of channel buffers 211_1 to 211_n may have a limited storage capacity. In this case, when the storage capacity of the plurality of channel buffers 211_1 to 211_n is full, the plurality of channel buffers 211_1 to 211_n may not be able to store the plurality of split data obtained from the plurality of channel interfaces 210_1 to 210_n. Therefore, as described below, the arbitrator 240 may set a transmission time point of each of the plurality of split data based on the storage state of the plurality of channel buffers 211_1 to 211_n to prevent or reduce the occurrence of the plurality of channel buffers 211_1 to 211_n being filled up.

[0049] The plurality of channel interfaces 210_1 to 210_n may allocate a segmentation identifier to each of the plurality of segmentation data. The segmentation identifier may be an identifier for distinguishing the segmentation data. The plurality of channel interfaces 210_1 to 210_n may assign different segmentation identifiers to the plurality of segmentation data generated by the same data stripe.

[0050] In some example embodiments, the plurality of channel interfaces 210_1 to 210_n may assign a split identifier to each of the plurality of striped data independently of the RAID identifier. For example, when the data stripe is split into eight striped data, the plurality of channel interfaces 210_1 to 210_n may assign 1 to 8 as a split identifier to each of the eight striped data.

[0051] In some example embodiments, the plurality of channel interfaces 210_1 to 210_n may assign a split identifier based on a RAID identifier corresponding to a data stripe including each of the plurality of split data. For example, when the plurality of channel interfaces 210_1 to 210_n splits the data stripe into eight pieces of split data, one of 11 to 18 may be assigned as a split identifier to each of the eight pieces of split data generated by dividing the data stripe having a RAID identifier of 1, and one of 21 to 28 may be assigned as a split identifier to each of the eight pieces of split data generated by dividing the data stripe having a RAID identifier of 2. In this way, the split identifier may be assigned so that the tenth digit of the split identifier is the same as the RAID identifier, but some example embodiments are not limited thereto, and other methods capable of obtaining a RAID identifier from a split identifier may be applied.

[0052] The plurality of pieces of split data to which the split identifiers are allocated by the plurality of channel interfaces 210_1 to 210 — n may be transmitted to the distributor 220 .

[0053] The distributor 220 may set the transmission paths of the plurality of split data based on the split identifier. The distributor 220 may set the transmission path of each of the plurality of split data to any one of the plurality of RAID buffer units 230_1 to 230_k based on the split identifier.

[0054] In some example embodiments, when a split identifier independent of the RAID identifier is assigned to each of the plurality of split data, the distributor 220 may set the transmission path of the plurality of split data based on the RAID identifier and the split identifier. That is, the distributor 220 may set the transmission path of each of the plurality of split data to any one of the plurality of RAID buffer units 230_1 to 230_k based on the RAID identifier and the split identifier.

[0055] The distributor 220 can set the transmission path of the split data in which both the RAID identifier and the split identifier are the same to the same RAID buffer unit. In other words, the split data with the same RAID identifier and the same split identifier can be transmitted to the same RAID buffer unit.

[0056] The distributor 220 may set the transmission paths of the split data having the same RAID identifier but different split identifiers to different RAID buffer units. In other words, the split data having the same RAID identifier but different split identifiers may be transmitted to different RAID buffer units. Therefore, the split data generated by the data stripes assigned the same RAID identifier by the processor 100 may be transmitted to different RAID buffer units.

[0057] However, if the number of split data having the same RAID identifier but different split identifiers is greater than the number of available RAID buffer units, the transmission paths of some split data having the same RAID identifier but different split identifiers may be set to the same RAID buffer unit.

[0058] In some example embodiments, when a split identifier is assigned based on a RAID identifier corresponding to a data stripe including each of the plurality of split data pieces, the distributor 220 may set the transmission paths of the plurality of split data pieces based on the split identifier. That is, the distributor 220 may set the transmission path of each of the plurality of split data pieces to any one of the plurality of RAID buffer units 230_1 to 230_k based only on the split identifier. This is because the RAID identifier can be obtained from the split identifier.

[0059] In this case, the transmission of the split data stored in the plurality of channel buffers 211_1 to 211_n of the plurality of channel interfaces 210_1 to 210_n to any one of the plurality of RAID buffer units 230_1 to 230_k through the distributor 220 may be controlled by the arbiter 240 .

[0060] The arbitrator 240 may control the transmission of the plurality of pieces of split data of the plurality of channel interfaces 210_1 to 210_n. The arbitrator 240 may control the transmission of the split data stored in the plurality of channel buffers 211_1 to 211_n to any one of the plurality of RAID buffer units 230_1 to 230_k. For example, the arbitrator 240 may use a handshake method to notify the plurality of channel buffers 211_1 to 211_n of the transmission time point of the plurality of pieces of split data to the plurality of RAID buffer units 230_1 to 230_k.

[0061] In some example embodiments, the arbitrator 240 may set a transmission time point of each of the plurality of split data based on a storage state of a channel buffer 211_1 to 211_n included in each of the plurality of channel interfaces 210_1 to 210_n. The arbitrator 240 may check the storage state of the plurality of channel buffers 211_1 to 211_n. The arbitrator 240 may set the split data included in the following channel buffers of the plurality of channel buffers 211_1 to 211_n to be transmitted to the RAID buffer unit, wherein the ratio of the capacity of the channel buffer to store the split data to the total capacity is a predetermined (or alternatively, determined or expected) reference ratio (e.g., 80%) or greater.

[0062] In some example embodiments, the arbiter 240 may set a transmission time point for each piece of split data based on whether parity data having the same RAID identifier and the same split identifier as each piece of split data stored in a channel buffer 211_1 to 211_n of each channel interface among the plurality of channel interfaces 210_1 to 210_n is stored in a cache memory included in the plurality of RAID buffer units 230_1 to 230_k.

[0063] The arbitrator 240 may identify the RAID identifier and the split identifier of the split data stored in the plurality of channel buffers 211_1 to 211_n. The arbitrator 240 may identify the RAID identifier and the split identifier of the parity data stored in the cache memory included in the plurality of RAID buffer units 230_1 to 230_k. In addition, the arbitrator 240 may set the split data having the same RAID identifier and the same split identifier as the parity data stored in the cache memory to be first transmitted to the RAID buffer unit.

[0064] The plurality of RAID buffer units 230_1 through 230_k may receive the split data through the distributor 220 and manage parity data corresponding to the split data.

[0065] Each of the plurality of RAID buffer units 230_1 to 230_k may include a processing circuit 231 and a cache device 232. In addition, each of the plurality of RAID buffer units 230_1 to 230_k may also include a cache manager 233 and an output buffer 234. For purposes of illustration, Figure 2Only the first RAID buffer unit 230_1 including a processing circuit 231, a cache device 232, a cache manager 233 and an output buffer 234 is shown, however, the second RAID buffer unit 230_2 to the kth RAID buffer unit 230_k may also include a processing circuit 231, a cache device 232, a cache device 233 and an output buffer 234 in the same manner.

[0066] The processing circuit 231 may process operations related to parity data. For example, when the processing circuit 231 receives the segmented data from the plurality of channel buffers 211_1 to 211_n, the processing circuit 231 may transmit the segmented data to the cache device 232 so that the parity data is calculated based on the received segmented data. In addition, the processing circuit 231 may output the completed parity data to the external volatile memory 400 through the output buffer 234 based on the completion information of the parity data through the cache device 232.

[0067] The cache device 232 may calculate parity data based on the split data and store the parity data.

[0068] The cache device 232 may calculate parity data based on whether parity data having the same RAID identifier and stripe identifier as the stripe data is stored in the internal cache memory.

[0069] When parity data having the same RAID identifier and split identifier as the split data is stored, the cache device 232 can recalculate the parity data based on the stored parity data and the split data. Conversely, when parity data having the same RAID identifier and split identifier as the split data is not stored, the cache device 232 can calculate the split data as the parity data.

[0070] Cache device 232 may store the calculated parity data in internal cache memory.

[0071] Will refer to it later Figure 3 The more detailed structure and operation of cache device 232 are described in more detail.

[0072] The cache manager 233 may generate completion information for parity data stored in a cache memory included in the cache device 232 .

[0073] The completion information of the parity data may be information indicating whether the parity data is generated based on a preset (or alternatively, determined or expected) number of segmented data. For example, when the parity data should be generated based on a total of seven segmented data to be completed, if the parity data is currently generated based on less than seven segmented data, the cache manager 233 may generate completion information indicating that the parity data is not completed. On the contrary, when the parity data should be generated based on a total of seven segmented data to be completed, if the parity data is currently generated based on seven segmented data, the cache manager 233 may generate completion information indicating that the parity data is completed.

[0074] When there is parity data in which completion information indicates that the parity data is completed, the cache manager 233 may send a request to the processing circuit 231 to write the parity data to the external volatile memory 400. Therefore, the processing circuit 231 may transfer the parity data in the completed state to the external volatile memory 400.

[0075] The output buffer 234 may temporarily store parity data to be read from the cache device 232 and written to the external volatile memory 400 .

[0076] When receiving parity data in a completed state from cache device 232, output buffer 234 may temporarily store the parity data in a completed state. Output buffer 234 may output the temporarily stored parity data to NOC 300 through memory interface 270, and NOC 300 may transfer the received parity data to volatile memory 400.

[0077] The RAID core unit 250 may control the overall operation of the RAID controller 200 and store completion information of parity data corresponding to a plurality of pieces of split data.

[0078] The RAID core unit 250 may receive the completion information of the parity data generated from the cache manager 233 and may store the received completion information of the parity data. In response to a request from the external processor 100, the RAID core unit 250 may output the completion information of the parity data to the external processor 100 through the communication circuit 260.

[0079] When processing a data stripe of a preset (or alternatively, determined or expected) type, the RAID core unit 250 may control one or more of the plurality of RAID buffer units 230_1 to 230_k to operate as a volatile memory.

[0080] The data stripe of the preset (or alternatively, determined or expected) type may be a data stripe of a type that does not degrade (or, for example, significantly degrade) the data processing speed by the RAID controller 200 even though the data stripe of the preset (or alternatively, determined or expected) type is not processed using all of the plurality of RAID buffer units 230_1 to 230_k. For example, a data stripe for metadata may be included in the data stripe of the preset (or alternatively, determined or expected) type.

[0081] When processing a data stripe of a preset (or alternatively, determined or expected) type, the RAID core unit 250 can control one or more of the multiple RAID buffer units 230_1 to 230_k to work as a volatile memory, because although the data stripe of the preset (or alternatively, determined or expected) type is not processed using all of the multiple RAID buffer units 230_1 to 230_k, the data processing speed is not reduced (or, for example, significantly reduced). That is, the RAID core unit 250 can cause the external processor 100 to use one or more of the multiple RAID buffer units 230_1 to 230_k as a volatile memory. By using some of the multiple RAID buffer units 230_1 to 230_k as volatile memory, the memory within the RAID controller 200 can be improved and used more efficiently (for example, by using as many resources as possible at a given operating power level). As described above, there can be an effect of improving the memory usage of the RAID controller 200. Alternatively, or additionally, as described above, because memory usage of the RAID controller 200 has been improved, there may be effects of improving controller 200 and volatile memory performance, thus improving device performance, improving power consumption by improving power utilization, and the like.

[0082] When processing a data stripe of a preset (or alternatively, determined or expected) type, the RAID core unit 250 can cut off the power supply of one or more RAID buffer units among the multiple RAID buffer units 230_1 to 230_k. The RAID core unit 250 can physically cut off the power supply of one or more RAID buffer units among the multiple RAID buffer units 230_1 to 230_k, or can logically cut off the power supply thereof using a separate circuit. Thus, the RAID core unit 250 can change the state of an unused RAID buffer unit among the multiple RAID buffer units 230_1 to 230_k to a standby state or a dormant state. In this case, the RAID core unit 250 can use the used RAID buffer units among the multiple RAID buffer units 230_1 to 230_k to manage the parity data corresponding to the split data.

[0083] When processing a data stripe of a preset (or alternatively, determined or expected) type, the RAID core unit 250 can cut off the power supply of one or more RAID buffer units among the plurality of RAID buffer units 230_1 to 230_k, because although the data stripe of the preset (or alternatively, determined or expected) type is not processed using all of the plurality of RAID buffer units 230_1 to 230_k, the data processing speed is not reduced (or, for example, significantly degraded). By cutting off the power supply of some of the plurality of RAID buffer units 230_1 to 230_k, the power consumption of the RAID controller 200 can be reduced. As described above, power consumption can be reduced by reducing the use of RAID buffer units. Alternatively or additionally, as described above, because the use of RAID buffer units has been prevented or reduced, there can be an effect of maintaining buffer unit performance and thus maintaining device performance, improving processing speed by avoiding performing redundant operations, improving power consumption by reducing operations, and the like.

[0084] The communication circuit 260 may transmit completion information of the parity data to the external processor 100. In response to a request from the RAID core unit 250 to transmit completion information of the parity data to the external processor 100, the communication circuit 260 may output completion information of the parity data to the external processor 100.

[0085] The memory interface 270 may transfer the parity data output from the plurality of RAID buffer units 230_1 through 230 — k to the NOC 300 .

[0086] When the RAID controller 200 of the technical idea of ​​the present invention as described above is used, the structural complexity of the RAID controller 200 can be reduced by using a plurality of channel interfaces 210_1 to 210_n and a plurality of RAID buffer units 230_1 to 230_n. In addition, by using a plurality of channel interfaces 210_1 to 210_n and a plurality of RAID buffer units 230_1 to 230_n and setting the transmission time points of a plurality of split data by the arbitrator 240, the data strips can be processed more quickly. As described above, there can be an effect of reducing the complexity of the device. Alternatively, or additionally, as described above, due to the reduction in the complexity of the device, there can be an effect of improving reliability and power consumption, etc.

[0087] Figure 3 is a circuit diagram illustrating a cache device according to some example embodiments.

[0088] refer to Figure 3 , the cache device 232 according to some example embodiments may include a cache memory 232_1 and a calculation circuit 232_2 .

[0089] The cache memory 232_1 may store parity data. The cache memory 232_1 may store parity data calculated by the calculation circuit 232_2 of the cache device 232 when receiving the split data from the processing circuit 231 .

[0090] The calculation circuit 232_2 may calculate parity data based on the split data and the parity data read from the cache memory 231-1. The calculation circuit 232_2 may include first to fifth multiplexers MUX1 to MUX5, a write buffer W_BUF, a read buffer R_BUF, and a logic circuit XOR.

[0091] The first multiplexer MUX1 may receive the split data. Upon receiving the split data, the first multiplexer MUX1 may output a read request for parity data having the same RAID identifier and the same split identifier as the split data to the cache memory 232_1. In addition, the first multiplexer MUX1 may output the split data to the write buffer W_BUF.

[0092] The write buffer W_BUF may temporarily store the received divided data.The write buffer W_BUF may output the divided data to the second multiplexer MUX2 after a predetermined (or alternatively, determined or expected) time has passed.

[0093] The second multiplexer MUX2 may receive the divided data from the write buffer W_BUF. The second multiplexer MUX2 may output the divided data to the fifth multiplexer MUX5. In addition, the second multiplexer MUX2 may output the divided data to the logic circuit XOR.

[0094] The read buffer R_BUF may temporarily store the parity data read from the cache memory 232_1. The read buffer R_BUF may output the parity data to the logic circuit XOR after a predetermined (or alternatively, determined or expected) time has passed.

[0095] The logic circuit XOR can recalculate the parity data based on the split data temporarily stored in the write buffer W_BUF and the parity data temporarily stored in the read buffer R_BUF. For example, the logic circuit XOR can recalculate the parity data by performing an XOR operation between the split data temporarily stored in the write buffer W_BUF and the parity data temporarily stored in the read buffer R_BUF.

[0096] The logic circuit XOR may output the recalculated parity data to the third multiplexer MUX3.

[0097] The third multiplexer MUX3 may receive the parity data recalculated by the logic circuit XOR and the parity data read from the cache memory 232_1. In addition, the third multiplexer MUX3 may selectively output one of the parity data recalculated by the logic circuit XOR and the parity data read from the cache memory 232_1 to the fourth multiplexer MUX4. For example, when the parity data is calculated normally, the third multiplexer MUX3 may output the parity data recalculated by the logic circuit XOR to the fourth multiplexer MUX4. On the contrary, when the parity data is calculated abnormally, the third multiplexer MUX3 may output the parity data read from the cache memory 232_1 to the fourth multiplexer MUX4.

[0098] The fourth multiplexer MUX4 may receive the parity data from the third multiplexer MUX3. The fourth multiplexer MUX4 may output the received parity data to the processing circuit 231. In addition, the fourth multiplexer MUX4 may output the received parity data to the fifth multiplexer MUX5.

[0099] The fifth multiplexer MUX5 may receive the split data from the write buffer W_BUF through the second multiplexer MUX2. In addition, the fifth multiplexer MUX5 may receive the parity data from the fourth multiplexer MUX4.

[0100] If the parity data having the same RAID identifier and split identifier as the split data is not stored in the cache memory 232_1, the fifth multiplexer MUX5 may output the split data to the cache memory 232_1. Therefore, if the parity data having the same RAID identifier and split identifier as the split data is not stored in the cache memory 232_1, the split data may be stored in the cache memory 232_1 as the parity data.

[0101] If parity data having the same RAID identifier and split identifier as the split data is stored in the cache memory 232_1, the fifth multiplexer MUX5 may output the recalculated parity data to the cache memory 232_1. Therefore, if parity data having the same RAID identifier and split identifier as the split data is stored in the cache memory 232_1, the recalculated parity data may be stored in the cache memory 232_1 as new parity data.

[0102] Here, the cache device 232 may calculate parity data in a pipeline method using the first multiplexer MUX1 to the fifth multiplexer MUX5, the write buffer W_BUF, the read buffer R_BUF, and the logic circuit XOR. Figure 4 A more detailed description is given.

[0103] Figure 4 is a timing diagram illustrating a parity check operation process of a cache device according to some example embodiments.

[0104] refer to Figure 4 , a timing diagram showing the time points when the split data is input to the cache device 232, the time points when the parity data is read from the cache memory 232_1, the time points when the parity data is calculated by the logic circuit XOR, and the time points when the parity data is written to the cache memory 232_1 can be checked.

[0105] When the split data is input, parity data having the same RAID identifier and split identifier as the split data may be read from the cache memory 232_1. Then, the logic circuit XOR may recalculate the parity data based on the split data temporarily stored in the write buffer W_BUF and the parity data temporarily stored in the read buffer R_BUF. Finally, the recalculated parity data may be stored in the cache memory 232_1.

[0106] Here, since the cache device 232 calculates the parity data in a pipeline method, the operation of reading the parity data from the cache memory 232_1, the operation of calculating the parity data through the logic circuit XOR, and the operation of writing the parity data to the cache memory 232_1 can be performed at the same time point. Therefore, the data processing performance of the cache device 232 can be improved and / or performed faster.

[0107] Figure 5 is a diagram illustrating a process in which a storage device processes one data stripe according to some example embodiments.

[0108] refer to Figure 5 , after the first data stripe DS1 is input to the RAID controller 200, some example embodiments of a process of generating parity data and writing it to the volatile memory 400 and the nonvolatile memory 500 may be examined.

[0109] The first data stripe DS1 may be a data stripe to which the processor 100 assigns 1 as a RAID identifier RID.

[0110] The first data stripe DS1 may be input to the RAID controller 200 through any one of the first to sixteenth channels CH1 to CH16, for example, through the first channel CH1. When the first data stripe DS1 is input through the first channel CH1, the first channel interface 210_1 may receive the first data stripe DS1.

[0111] The first channel interface 210_1 may divide the received first data stripe DS1 into a plurality of divided data, for example, the first divided data SD1 to the eighth divided data SD8. In this case, the first channel interface 210_1 may assign a divided identifier to each of the first divided data SD1 to the eighth divided data SD8 independently of the RAID identifier RID, for example, 1 to 8 may be assigned as a divided identifier to each of the first divided data SD1 to the eighth divided data SD8.

[0112] Among the first to eighth divided data SD1 to SD8 generated based on the first data stripe DS1, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the first RAID buffer unit 230_1, the transmission path of the second divided data SD2 to the second RAID buffer unit 230_2, and the transmission path of the eighth divided data SD8 to the eighth RAID buffer unit 230_8.

[0113] In this case, the transmission time points of the first to eighth divided data SD1 to SD8 may be adjusted by the arbitrator 240 .

[0114] Each of the first to eighth RAID buffer units 230_1 to 230_8 may generate first to eighth parity data based on the received first to eighth divided data SD1 to SD8. When the first to eighth parity data are completed, the first to eighth RAID buffer units 230_1 to 230_8 may write the first to eighth parity data into an area of ​​the volatile memory 400.

[0115] The first to eighth parity data written in one area of ​​the volatile memory 400 may be written in one area of ​​the nonvolatile memory 500. In this case, among the first to eighth parity data, data stripes assigned the same RAID identifier RID may be written to pages at the same position in a plurality of flash memory chips included in the nonvolatile memory 500.

[0116] Figure 6 is a diagram illustrating a process in which a storage device processes a plurality of data stripes according to some example embodiments.

[0117] refer to Figure 6 , some example embodiments of a process in which parity data is generated and written to the volatile memory 400 and the nonvolatile memory after the first to fifth data stripes DS1 to DS5 are input to the RAID controller 200 may be examined.

[0118] The first data stripe DS1 and the third data stripe DS3 may be data stripes in which the processor 100 assigns 1 to the RAID identifier RID, and the second data stripe DS2, the fourth data stripe DS4, and the fifth data stripe DS5 may be data stripes in which the processor 100 assigns 2 to the RAID identifier RID.

[0119] The first data stripe DS1 to the fifth data stripe DS5 may be input to the RAID controller 200 through any one of the first channel CH1 to the sixteenth channel CH16. For example, the first data stripe DS1 is input to the RAID controller 200 through the first channel CH1, the second data stripe DS2 is input to the RAID controller 200 through the fourth channel CH4, the third data stripe DS3 is input to the RAID controller 200 through the eighth channel CH8, the fourth data stripe DS4 is input to the RAID controller 200 through the eleventh channel CH11, and the fifth data stripe DS5 may be input to the RAID controller 200 through the fifteenth channel CH15.

[0120] When the first data strip DS1 is input through the first channel CH1, the first channel interface 210_1 may receive the input. When the second data strip DS2 is input through the fourth channel CH4, the fourth channel interface 210_4 may receive the second data strip DS2. When the third data strip DS3 is input through the eighth channel CH8, the eighth channel interface 210_8 may receive the input. When the fourth data strip DS4 is input through the eleventh channel CH11, the eleventh channel interface 210_11 may receive the input.

[0121] The first channel interface 210_1 may divide the received first data strip DS1 into a plurality of divided data, such as first to eighth divided data SD8. In addition, the first channel interface 210_1 may assign 1 to 8 as a division identifier to each of the first to eighth divided data SD8 generated based on the first data strip DS1.

[0122] In addition, the fifth channel interface 210_5 can divide the received second data strip DS2 into multiple divided data, such as the first divided data SD1 to the eighth divided data SD8. In addition, the fifth channel interface 210_5 can assign 1 to 8 as a division identifier to each of the first divided data SD1 to the eighth divided data SD8 generated based on the second data strip DS2.

[0123] In the same manner, the eighth channel interface 210_8, the eleventh channel interface 210_11 and the fifteenth channel interface 210_15 can respectively split the third data strip DS3, the fourth data strip DS4 and the fifth data strip DS5 into the first split data SD1 to the eighth split data SD8, and can respectively assign 1 to 8 as split identifiers to the first split data SD1 to the eighth split data SD8.

[0124] In the case of first to eighth split data SD1 to SD8 generated based on the first to fifth data stripes DS1 to DS5, the distributor 220 may set any one of the first to eighth RAID buffer units 230_1 to 230_8 as a transmission path based on the RAID identifier and the split identifier.

[0125] Among the first to eighth divided data SD1 to SD8 generated based on the first data stripe DS1, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the first RAID buffer unit 230_1, the transmission path of the second divided data SD2 to the second RAID buffer unit 230_2, and the transmission path of the eighth divided data SD8 to the eighth RAID buffer unit 230_8.

[0126] In addition, among the first to eighth divided data SD1 to SD8 generated based on the second data stripe DS2, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the third RAID buffer unit 230_3, the transmission path of the second divided data SD2 to the fourth RAID buffer unit 230_4, and the transmission path of the eighth divided data SD8 to the second RAID buffer unit 230_2.

[0127] In this case, the first divided data SD1 generated based on the first data stripe DS1 and the first divided data SD1 generated based on the second data stripe DS2 have different RAID identifiers even if they have the same split identifier, so they can be transmitted to different RAID buffer units.

[0128] Among the first to eighth divided data SD1 to SD8 generated based on the third data stripe DS3, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the first RAID buffer unit 230_1, the transmission path of the second divided data SD2 to the second RAID buffer unit 230_2, and the transmission path of the eighth divided data SD8 to the eighth RAID buffer unit 230_8.

[0129] In this case, the first divided data SD1 generated based on the first data stripe DS1 and the first divided data SD1 generated based on the third data stripe DS3 have the same RAID identifier and the same split identifier, so they can be transmitted to the same RAID buffer unit.

[0130] Among the first to eighth divided data SD1 to SD8 generated based on the fourth data stripe DS4, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the third RAID buffer unit 230_3, the transmission path of the second divided data SD2 to the fourth RAID buffer unit 230_4, and the transmission path of the eighth divided data SD8 to the second RAID buffer unit 230_2.

[0131] In this case, the first split data SD1 generated based on the second data stripe DS2 and the first split data SD1 generated based on the fourth data stripe DS4 have the same RAID identifier and the same split identifier, so they can be transmitted to the same RAID buffer unit.

[0132] In addition, among the first to eighth divided data SD1 to SD8 generated based on the fifth data stripe DS5, any one of the first to eighth RAID buffer units 230_1 to 230_8 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission path of the first divided data SD1 to the third RAID buffer unit 230_3, the transmission path of the second divided data SD2 to the fourth RAID buffer unit 230_4, and the transmission path of the eighth divided data SD8 to the second RAID buffer unit 230_2.

[0133] In this case, the first divided data SD1 generated based on the second data stripe DS2 and the first divided data SD1 generated based on the fifth data stripe DS5 have the same RAID identifier and the same split identifier, so they can be transmitted to the same RAID buffer unit.

[0134] In this case, transmission time points of the first to eighth divided data SD1 to SD8 generated based on the first to fifth data strips DS1 to DS5 may be adjusted by the arbitrator 240 .

[0135] Each of the first to eighth RAID buffer units 230_1 to 230_8 may generate parity data based on the received split data. In addition, when the parity data is completed, the first to eighth RAID buffer units 230_1 to 230_8 may write the parity data into an area of ​​the volatile memory 400.

[0136] The parity data written in one area of ​​the volatile memory 400 may be written in one area of ​​the nonvolatile memory 500. In this case, among the first to eighth parity data, data stripes assigned the same RAID identifier may be written to pages at the same position in a plurality of flash memory chips included in the nonvolatile memory 500.

[0137] Figure 7 is a diagram illustrating a process in which a storage device allocates stripe identifiers based on a RAID identifier to process a plurality of data stripes according to some example embodiments.

[0138] refer to Figure 7 , some example embodiments of a process in which parity data is generated and written to the volatile memory 400 and the nonvolatile memory after the first to fifth data stripes DS1 to DS5 are input to the RAID controller 200 may be examined.

[0139] exist Figure 7 In some example embodiments, the overall operation may be similar to Figure 6 Some example embodiments of the present invention may differ, however, a method of allocating the split identifiers by the plurality of channel interfaces 210_1 to 210_16 may be different.

[0140] exist Figure 7 In some example embodiments, Figure 6 Unlike some example embodiments, the plurality of channel interfaces 210_1 to 210_16 may assign a split identifier to the split data based on a RAID identifier RID.

[0141] The first channel interface 210_1 may divide the received first data stripe DS1 into first to eighth divided data SD1 to SD8. The first channel interface 210_1 may assign 11 to 18 as a division identifier to each of the first to eighth divided data SD1 to SD8 generated based on the first data stripe DS1. In this case, the decimal number 1 of the division identifier may correspond to the RAID identifier RID.

[0142] The fifth channel interface 210_5 can divide the received second data stripe DS2 into first divided data SD1 to eighth divided data SD8. The fifth channel interface 210_5 can assign 21 to 28 as a division identifier to each of the first divided data SD1 to the eighth divided data SD8 generated based on the second data stripe DS2. In this case, the decimal number 2 of the division identifier can correspond to the RAID identifier RID.

[0143] The eighth channel interface 210_8 may divide the received third data stripe DS3 into first divided data SD1 to eighth divided data SD8. The eighth channel interface 210_8 may assign 11 to 18 as a division identifier to each of the first divided data SD1 to the eighth divided data SD8 generated based on the third data stripe DS3. In this case, the decimal number 1 of the division identifier may correspond to the RAID identifier RID.

[0144] In this case, the first to eighth divided data SD1 to SD8 generated through the eighth channel interface 210_8 are generated based on a stripe having the same RAID identifier RID as the first to eighth divided data SD1 to SD8 generated through the first channel interface 210_1 and thus have the same divided identifier.

[0145] The eleventh channel interface 210_11 may divide the received fourth data stripe DS4 into first divided data SD1 to eighth divided data SD8. The eleventh channel interface 210_11 may assign 21 to 28 as a division identifier to each of the first divided data SD1 to eighth divided data SD8 generated based on the fourth data stripe DS4. In this case, the decimal number 2 of the division identifier may correspond to the RAID identifier RID.

[0146] In this case, the first to eighth divided data SD1 to SD8 generated through the eleventh channel interface 210_11 are generated based on a data stripe having the same RAID identifier RID as the first to eighth divided data SD1 to SD8 generated through the fifth channel interface 210_5 and thus have the same divided identifier.

[0147] The fifteenth channel interface 210_15 can divide the received fifth data stripe DS5 into first divided data SD1 to eighth divided data SD8. The fifteenth channel interface 210_15 can assign 21 to 28 as a division identifier to each of the first divided data SD1 to the eighth divided data SD8 generated based on the fifth data stripe DS5. In this case, the decimal number 2 of the division identifier can correspond to the RAID identifier RID.

[0148] In this case, the first to eighth divided data SD1 to SD8 generated through the fifteenth channel interface 210_15 are generated based on a data stripe having the same RAID identifier RID as the first to eighth divided data SD1 to SD8 generated through the fifth channel interface 210_5 and thus have the same divided identifier.

[0149] In the case of the first to eighth split data SD1 to SD8 generated based on the first to fifth data stripes DS1 to DS5, the distributor 220 may set any one of the first to eighth RAID buffer units 230_1 to 230_8 as a transmission path based on the split identifier. Figure 7 In some example embodiments, since the split identifier is assigned based on the RAID identifier, the allocator 220 may set a transmission path of each of the plurality of split data to any one of the plurality of RAID buffer units 230_1 to 230_8.

[0150] Figure 8 is a diagram illustrating a process in which a storage device processes two data stripes using some RAID buffer units according to some example embodiments.

[0151] refer to Figure 8 , some example embodiments in which two data stripes processed by the storage device are data stripes related to metadata can be checked. In this case, the RAID core unit 250 can process data stripes at a similar processing speed without using all of the first RAID buffer unit 230_1 to the eighth RAID buffer unit 230_8, so only the first RAID buffer unit 230_1 and the second RAID buffer unit 230_2 can be used. In this case, the unused third RAID buffer unit 230_3 to the eighth RAID buffer unit 230_8 can be set to be used as a volatile memory by the external processor 100, or its power can be cut off.

[0152] In this case, the entire data processing method is similar to Figure 6 In some example embodiments, however, only the transmission paths of the first to eighth divided data SD1 to SD8 generated based on the first data strip DS1 and the first to eighth divided data SD1 to SD8 generated based on the second data strip DS2 through the distributor 220 may be different.

[0153] In the first to eighth split data SD1 to SD8 generated based on the first data stripe DS1, any one of the first RAID buffer unit 230_1 and the second RAID buffer unit 230_2 may be set as a transmission path by the distributor 220. In addition, in the first to eighth split data SD1 to SD8 generated based on the second data stripe DS2, any one of the first RAID buffer unit 230_1 and the second RAID buffer unit 230_2 may be set as a transmission path by the distributor 220. For example, the distributor 220 may set the transmission paths of the first split data SD1, the third split data SD3, the fifth split data SD5, and the seventh split data SD7 generated based on the first data stripe DS1 and the second data stripe DS2 to the first RAID buffer unit 230_1, and may set the transmission paths of the second split data SD2, the fourth split data SD4, the sixth split data SD6, and the eighth split data SD8 generated based on the first data stripe DS1 and the second data stripe DS2 to the second RAID buffer unit 230_2.

[0154] The first RAID buffer unit 230_1 and the second RAID buffer unit 230_2 may generate parity data based on the received split data. In addition, when the parity data is completed, the first RAID buffer unit 230_1 and the second RAID buffer unit 230_2 may write the parity data into an area of ​​the volatile memory 400.

[0155] Parity data written in one area of ​​the volatile memory 400 may be written in one area of ​​the nonvolatile memory 500 .

[0156] Fig. 9 is a flow chart illustrating a method of operating a RAID controller according to some example embodiments.

[0157] refer to Fig. 9 In operation S910, the RAID controller 200 may receive a data stripe. The RAID controller 200 may receive the data stripe transmitted from the processor 100 via the plurality of channels 150 through the plurality of channel interfaces 210_1 to 210_n.

[0158] In operation S920, the RAID controller 200 may split each of the data stripes into a plurality of pieces of split data. The RAID controller 200 may split each of the data stripes into a plurality of pieces of split data through a plurality of channel interfaces 210_1 to 210_n.

[0159] In operation S930, the RAID controller 200 may allocate a split identifier to each of the plurality of split data pieces. The RAID controller 200 may assign different split identifiers to the plurality of split data pieces generated from the same data stripe through the plurality of channel interfaces 210_1 to 210_n, respectively.

[0160] In operation S940, the RAID controller 200 may set a transmission path for each of the plurality of split data. The RAID controller 200 may set a transmission path for each of the plurality of split data based on the split identifier through the distributor 220.

[0161] In operation S950, the RAID controller 200 may transmit the plurality of split data to the plurality of RAID buffer units 230_1 to 230_k, respectively. The RAID controller 200 may transmit the plurality of split data to the plurality of RAID buffer units 230_1 to 230_k based on the transmission time points adjusted by the arbitrator 240. Fig.10 A more detailed description is given.

[0162] In operation S960, the RAID controller 200 may calculate a plurality of parity data pieces corresponding to the plurality of split data pieces, respectively. The RAID controller 200 may calculate the parity data through the plurality of RAID buffer units 230_1 to 230_k based on whether the parity data having the same RAID identifier and split identifier as the split data pieces is stored in the internal cache memory. Fig.11 A more detailed description is given.

[0163] Fig.10 is a flowchart illustrating a method of setting a transmission time point of split data by an arbitrator of a RAID controller according to some example embodiments.

[0164] refer to Fig.10 , in operation S1010 , the arbiter 240 may set a transmission time point of each of the plurality of split data based on the storage states of the channel buffers 211_1 to 211 — n .

[0165] The arbitrator 240 may set the split data included in the following channel buffers of the plurality of channel buffers 211_1 to 211_n, wherein the ratio of the capacity of the channel buffer to store the split data to the total capacity is a predetermined (or alternatively, determined or expected) reference ratio or more, to be transmitted to the RAID buffer unit. Then, the arbitrator 240 may set the split data included in the following channel buffers of the plurality of channel buffers 211_1 to 211_n, wherein the ratio of the capacity of the channel buffer to store the split data to the total capacity is less than the predetermined (or alternatively, determined or expected) reference ratio, to be transmitted to the RAID buffer unit later.

[0166] In operation S1020 , the arbiter 240 may set a transmission time point of each of the plurality of pieces of split data based on whether the parity data is stored.

[0167] The arbitrator 240 may set the transmission time points between the plurality of pieces of split data that are set to be transmitted at the same time point as a result of the setting in operation S1010. For example, the arbitrator 240 may set the transmission time points between the plurality of pieces of split data included in the channel buffer in which the ratio of the capacity to store the split data to the total capacity is less than a preset (or alternatively, determined or expected) reference ratio.

[0168] The arbitrator 240 may set the split data having the same RAID identifier and the same split identifier as the parity data stored in the cache memory to be transmitted to the RAID buffer unit first. In addition, the arbitrator 240 may set the split data not having the same RAID identifier and the same split identifier as the parity data stored in the cache memory to be transmitted to the RAID buffer unit later.

[0169] In operation S1030 , the arbitrator 240 may set a transmission time point based on the transmission sequence.

[0170] The arbitrator 240 may set the transmission time point between the plurality of split data that are set to be transmitted at the same time point as a result of the setting in operation S1020. For example, if the ratio of the capacity for storing the split data to the total capacity is less than a predetermined (or alternatively, determined or expected) reference ratio, the arbitrator 240 may set the transmission time point between the parity data stored in the cache memory and the split data that does not have the same RAID identifier and the same split identifier.

[0171] The arbitrator 240 may set the split data to be transmitted to the RAID buffer unit based on a preset (or alternatively, determined or expected) transmission sequence. For example, the arbitrator 240 may set the split data to be transmitted to the RAID buffer unit so that the split data stored in the first channel buffer 211_1 is first transmitted to the RAID buffer unit, and then the split data stored in the second channel buffer 211_2 is transmitted to the RAID buffer unit.

[0172] Fig.11 is a flow chart illustrating a method of calculating parity data by a cache device of a RAID controller according to some example embodiments.

[0173] refer to Fig.11 In operation S1110, the RAID controller 200 may determine whether there is parity data having the same RAID identifier and the same split identifier as the split data. That is, the RAID controller 200 may determine whether the parity data having the same RAID identifier and the same split identifier as the split data is stored in the cache memory 232_1.

[0174] If parity data having the same RAID identifier and the same split identifier as the split data is stored, the RAID controller 200 may recalculate the parity data based on the parity data stored in the cache memory 232_1 and the split data received through the calculation circuit 232_2 in operation S1120.

[0175] If parity data having the same RAID identifier and the same split identifier as the split data is not stored, the RAID controller 200 may calculate the split data as the parity data through the calculation circuit 232_2 in operation S1130.

[0176] Fig.12 is a block diagram illustrating a RAID controller according to some example embodiments.

[0177] refer to Fig.12 According to some example embodiments, the RAID controller 600 may include a plurality of channel interfaces 610_1 to 610_n, a distributor 620, and a plurality of RAID buffer units 630_1 to 630_k. In addition, the RAID controller 600 according to some example embodiments may further include a RAID core unit 640, a communication circuit 650, and a memory interface 660.

[0178] Fig.12The operations of the plurality of channel interfaces 610_1 to 610_n, the distributor 620, the RAID core unit 640, the communication circuit 650, and the memory interface 660 of some example embodiments may be similar to Figure 2 The operations of the plurality of channel interfaces 210_1 to 210_n, the distributor 220, the RAID core unit 250, the communication circuit 260, and the memory interface 270 of some example embodiments are substantially the same.

[0179] and Figure 2 Some example embodiments are different, Fig.12 Each of the plurality of RAID buffer units 630_1 to 630_k of some example embodiments may include an arbitrator 631. That is, Figure 2 In some example embodiments, the arbiter 240 configured outside the plurality of RAID buffer units 230_1 to 230_k is different. Fig.12 In some example embodiments, the arbitrator 631 may be included in each of the plurality of RAID buffer units 630_1 through 630 — k.

[0180] The arbitrator 631 may set a transmission time point of the split data from the plurality of channel buffers 611_1 to 611_n to the plurality of RAID buffer units 630_1 to 630_k. In this case, the arbitrator 631 included in the first RAID buffer unit 630_1 may set a transmission time point of the split data from the plurality of channel buffers 611_1 to 611_n to the first RAID buffer unit 630_1.

[0181] As described herein, any electronic device and / or portion thereof according to any example embodiment may include, may be included in, and / or may be implemented by: a processing circuit, such as hardware including a logic circuit; a hardware / software combination, such as a processor that executes software; or any combination thereof. For example, the processing circuit may more specifically include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a graphics processing unit (GPU), an application processor (AP), a digital signal processor (DSP), a microcomputer, a field programmable gate array (FPGA) and a programmable logic unit, a microprocessor, an application specific integrated circuit (ASIC), a neural network processing unit (NPU), an electronic control unit (ECU), an image signal processor (ISP), etc. In some example embodiments, the processing circuit may include: a non-transitory computer-readable storage device (e.g., a memory), such as a DRAM device, which stores an instruction program; and a processor (e.g., a CPU) configured to execute the instruction program to implement the functions and / or methods performed by some or all of any device, system, module, unit, controller, circuit, architecture, and / or portion thereof according to any example embodiment and / or any portion thereof.

[0182] While the inventive concept has been particularly shown and described with reference to example embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the appended claims.

Claims

1. A RAID controller, wherein the RAID is a Redundant Array of Inexpensive Disks, and the RAID controller include: A plurality of channel interfaces, the plurality of channel interfaces being configured as receiving a data stripe including a RAID identifier from each of the plurality of channels, The RAID identifier associates the data stripe with a data stripe, Splitting the data strip into multiple pieces of split data, storing the plurality of segmented data, and assigning a segmentation identifier to each of the plurality of segmentation data; a distributor configured to set a transmission path of each of the plurality of divided data based on the divided identifier; as well as A plurality of RAID buffer units are configured to receive the plurality of pieces of divided data through the distributor and manage parity data corresponding to the plurality of pieces of divided data.

2. The RAID controller according to claim 1, in, Each of the plurality of channel interfaces includes a channel buffer for temporarily storing the plurality of divided data.

3. The RAID controller according to claim 1, wherein Each of the plurality of channel interfaces is configured to assign the split identifier to each of the plurality of pieces of split data independently of the RAID identifier, and The distributor is configured to set the transmission path of each of the plurality of pieces of split data to one of the plurality of RAID buffer units based on the RAID identifier and the split identifier.

4. The RAID controller according to claim 1, wherein Each of the plurality of channel interfaces is configured to assign the stripe identifier to each of the plurality of stripe data based on the RAID identifier corresponding to the data stripe including the stripe, and The distributor is configured to set the transmission path of each of the plurality of pieces of split data to one of the plurality of RAID buffer units based on the split identifier. 5 . The RAID controller according to claim 1 , further comprising an arbitrator configured to control the transmission of the plurality of divided data by the plurality of channel interfaces.

6. The RAID controller according to claim 5, in, The arbitrator is configured to set a transmission time point of each of the plurality of pieces of split data based on a storage state of a channel buffer included in each of the plurality of channel interfaces.

7. The RAID controller according to claim 5, in, The arbitrator is configured to set a transmission time point of a piece of split data based on whether the parity data having the same RAID identifier and the same split identifier as each piece of the multiple split data stored in the channel buffer of each of the multiple channel interfaces is stored in the cache memory.

8. The RAID controller according to claim 1, in, Each of the plurality of RAID buffer units comprises: processing circuitry configured to process operations related to the parity data; and A cache device is configured to calculate the parity data based on the divided data and store the parity data.

9. The RAID controller according to claim 8, in, The cache device is configured to: in response to parity data having the same RAID identifier and the same stripe identifier as the stripe data being stored, recalculating the parity data based on the stored parity data and the stored stripe data, and In response to parity data having the same RAID identifier and the same split identifier as the split data not being stored, the split data is calculated as the parity data.

10. The RAID controller according to claim 1, wherein Each of the plurality of RAID buffer units include: a cache memory configured to store the parity data; as well as a calculation circuit configured to calculate the parity data based on the split data and the parity data, and The calculation circuit comprises: a write buffer configured to temporarily store the segmented data; a read buffer configured to temporarily store the parity data read from the cache memory; and A logic circuit is configured to calculate the parity data based on the split data temporarily stored in the write buffer and the parity data temporarily stored in the read buffer.

11. The memory controller according to claim 10, in, The calculation circuit is configured to calculate the parity data in a pipeline manner based on the write buffer, the read buffer, and the logic circuit.

12. The RAID controller according to claim 1, in, Each of the plurality of RAID buffer units includes a cache manager for generating completion information for the parity data.

13. The RAID controller according to claim 1, further comprising a RAID core unit configured to control overall operations of the RAID controller and store completion information of parity data corresponding to the plurality of pieces of split data.

14. The RAID controller according to claim 13, wherein The RAID core unit is configured to control one or more of the plurality of RAID buffer units to operate as a volatile memory based on processing a first type of data stripe.

15. The RAID controller according to claim 13, in, The RAID core unit cuts off power to one or more of the plurality of RAID buffer units during processing of a first type of data stripe.

16. An operating method of a RAID controller, wherein the RAID is a Redundant Array of Inexpensive Disks, the RAID controller comprises a plurality of channel interfaces, a distributor and a plurality of RAID buffer units, the operating method include: receiving, via any one of the plurality of channel interfaces, a data stripe including a RAID identifier, the RAID identifier associating the data stripe with a data stripe; The channel interface that has received the data strip divides the data strip into a plurality of split data strips; assigning, by the channel interface having received the data strip, a segmentation identifier to each of the plurality of segmented data strips; The distributor sets the transmission path of each of the plurality of split data to one of the plurality of RAID buffer units; transmitting, by the distributor, each of the plurality of pieces of split data to one of the plurality of RAID buffer units; as well as Each of the plurality of RAID buffer units calculates and stores parity data corresponding to the piece of split data received by the RAID buffer unit.

17. The operating method of the RAID controller according to claim 16, wherein the operating method further comprises: include: After the data stripe is divided into the plurality of pieces of divided data, the plurality of pieces of divided data are stored in a channel buffer included in the channel interface by the channel interface that has received the data stripe.

18. The operating method of the RAID controller according to claim 16, in, Transmitting each of the plurality of pieces of split data to one of the plurality of RAID buffer units comprises: The arbitrator included in the RAID controller sets a transmission time point of each of the plurality of split data based on a storage state of a channel buffer included in each of the plurality of channel interfaces, or the arbitrator sets a transmission time point of each of the plurality of split data based on whether the parity data having the same RAID identifier and the same split identifier as each of the plurality of split data stored in the channel buffer of each of the plurality of channel interfaces is stored in the RAID buffer unit; and Based on the result of setting the transmission time point of each piece of the plurality of pieces of split data, the piece of split data is transmitted to one of the plurality of RAID buffer units.

19. The operating method of the RAID controller according to claim 16, in, Calculating the parity check data includes: in response to parity data having the same RAID identifier and the same stripe identifier as the stripe data being stored by each of the plurality of RAID buffer units, recalculating the parity data based on the stored parity data and the stored stripe data; and The split data is calculated as the parity data based on the fact that the parity data having the same RAID identifier and the same split identifier as the split data is not stored by each of the plurality of RAID buffer units.

20. A storage device, the storage device include: a processor configured to output, via a plurality of channels, a data stripe including a RAID identifier, the RAID identifier associating the data stripe with a data stripe, the RAID being Redundant Array of Inexpensive Disks; a RAID controller configured to split the data stripe into a plurality of split data pieces and generate a plurality of parity check data pieces corresponding to the plurality of split data pieces; a volatile memory configured to temporarily store the plurality of parity data generated by the RAID controller; as well as a nonvolatile memory configured to store the plurality of pieces of parity data stored in the volatile memory, Wherein, the RAID controller includes a plurality of channel interfaces configured to split the data strip into the plurality of split data pieces, store the plurality of split data pieces, and assign a split identifier to each of the plurality of split data pieces, a distributor configured to set a transmission path for each of the plurality of pieces of divided data based on the division identifier, and A plurality of RAID buffer units are configured to receive the plurality of pieces of divided data through the distributor and manage parity data corresponding to the plurality of pieces of divided data.