Data processing device and method of operating the same

By using the time stamp mechanism to select commands in the data processing equipment of the semiconductor integrated device, the problem of low arbitration efficiency in the existing technology is solved, and shared resource access with maximum power efficiency and minimum delay is achieved.

CN113268442BActive Publication Date: 2024-08-23SK HYNIX INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110023075.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-14
Filing Date
2021-01-08
Publication Date
2024-08-23
Estimated Expiration
2041-01-08

AI Technical Summary

Technical Problem

In semiconductor integrated devices, it is difficult for the existing technology to realize an arbitration method with maximum power efficiency and minimum delay while making full use of shared resources, especially in terms of priority and delay considerations of commands.

Method used

By introducing a timestamp mechanism in the data processing device, the controller assigns an initial timestamp to each command and increments the timestamp value in each arbitration cycle, selects the command with the largest timestamp value by comparing commands to different destinations, and When timestamp values ​​are the same, commands are selected with reference to the arbitration history to achieve priority processing.

Benefits of technology

It effectively improves the access efficiency to shared memory resources, ensures maximum power efficiency and minimum delay processing, evenly processes commands for each destination, and avoids priority processing or lack of specific destination commands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113268442B_ABST
    Figure CN113268442B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a data processing device, which includes: a master device configured to transmit a command for a destination; a slave device including a plurality of command processing areas respectively corresponding to the destinations; and a controller configured to relay communication between the master device and the slave device. When the controller receives a command, the controller assigns a timestamp value to the command as an initial value, increases the timestamp value in each command arbitration cycle, selects a command with a maximum timestamp value among the commands in a competitive manner by comparing commands with different destinations in each command arbitration cycle, stores a command selection history for each command comparison, and selects a command based on the command selection history corresponding to the compared command when the timestamp values ​​of the compared commands are identical or substantially identical to each other.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of Korean Application No. 10-2020-0018504, filed on February 14, 2020, in the Korean Intellectual Property Office, the entire contents of which are incorporated herein by reference. Technical Field

[0003] Various embodiments may generally relate to a semiconductor integrated device, and more particularly, to a data processing apparatus and an operating method thereof. Background Art

[0004] Various arbitration techniques have been studied to improve the efficiency of access to a shared resource such as a shared memory in a semiconductor integrated device integrating a plurality of devices.

[0005] Priority and latency of the commands may be considered when arbitrating commands transmitted from at least one master device to a slave device, and an arbitration method may be required to achieve maximum power efficiency and minimum latency while fully utilizing shared resources by considering priority and latency. Summary of the invention

[0006] In an embodiment, when the timestamp of a candidate command is deemed unsuitable as a criterion for selecting from the candidate commands, for example, when two or more timestamp values ​​in the commands are the same or substantially the same, the data processing device uses an arbitration history to select between (among) candidate commands issued to a slave device having multiple processing destinations.

[0007] In an embodiment of the present disclosure, a data processing device may include: a master device configured to transmit a command for a destination; a slave device including a plurality of command processing areas respectively corresponding to the destination; and a controller configured to relay communication between the master device and the slave device. When the controller receives a command, the controller assigns a timestamp value to the command as an initial value, and increases the timestamp value in each command arbitration cycle, selects a command with a maximum timestamp value among the commands in a tournament manner by comparing commands with different destinations in each command arbitration cycle, stores a command selection history for each command comparison, and selects a command based on the command selection history corresponding to the compared command when the timestamp values ​​of the compared commands are identical or substantially identical to each other.

[0008] In an embodiment of the present disclosure, a data processing device may include: a master device configured to transmit a command for a destination; a slave device including a plurality of command processing areas respectively corresponding to the destination; and a controller configured to relay communication between the master device and the slave device. The controller includes: a timestamp setter configured to assign a timestamp value to each of the commands as an initial value when the controller receives the command; a counter configured to increase the timestamp value in each command arbitration cycle; a command register configured to store commands assigned timestamps according to an arrival order; and a scheduler configured to classify commands assigned timestamps according to the destination and based on the arrival order, and select any one of the front commands for the destination based on the timestamp value, the scheduler selecting the command based on the command selection history of the previous command arbitration cycle.

[0009] In an embodiment of the present disclosure, an operating method of a data processing device including a controller, a master device and a slave device includes: when the controller receives a command, assigning a timestamp value to each of the commands as an initial value, and storing the commands assigned the timestamp in the controller; increasing the timestamp value in each command arbitration cycle; classifying the commands assigned the timestamp according to the destination based on the arrival order; selecting any one of the front commands for the destination based on the timestamp value; and selecting a command based on the command selection history of the previous command arbitration cycle.

[0010] These and other features, aspects, and embodiments are described in greater detail below. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other aspects, features, and advantages of the subject matter of the present disclosure will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0012] Figure 1 shows a configuration of a data processing device according to an embodiment of the present disclosure;

[0013] Figure 2 shows the configuration of an arbitrator according to an embodiment of the present disclosure;

[0014] Figure 3 Showing the configuration of a scheduler according to an embodiment of the present disclosure;

[0015] Figure 4 shows a configuration of a comparison circuit according to an embodiment of the present disclosure;

[0016] Figure 5 and Figure 6 is a flowchart illustrating an operation procedure of a data processing device according to an embodiment of the present disclosure;

[0017] Figure 7shows the configuration of a data processing system according to an embodiment of the present disclosure;

[0018] Figure 8 is a conceptual diagram showing a computing rack according to an embodiment of the present disclosure;

[0019] Fig. 9 shows the configuration of a computing rack according to an embodiment of the present disclosure;

[0020] Fig.10 shows the configuration of an operation panel according to an embodiment of the present disclosure; and

[0021] Fig.11 A configuration of a memory board according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0022] Various embodiments of the present teachings are described in detail with reference to the accompanying drawings. The accompanying drawings are schematic diagrams of various embodiments (and intermediate structures). As such, variations in the illustrated configurations and shapes due to factors such as manufacturing techniques and / or tolerances are contemplated. Therefore, the described embodiments should not be construed as limited to the specific configurations and shapes shown herein, but may include deviations in configurations and shapes that do not depart from the spirit and scope of the present teachings as defined by the appended claims.

[0023] This teaching is described herein with reference to the illustration of the ideal embodiment of this teaching. However, the embodiments of this teaching should not be interpreted as limiting this teaching. Although some embodiments of this teaching are shown and described, it will be understood by those of ordinary skill in the art that these embodiments can be changed without departing from the principle and spirit of this teaching.

[0024] Figure 1 is a diagram showing a configuration of a data processing device 10 according to the embodiment.

[0025] The data processing apparatus 10 according to the embodiment may include a master device 100 , a slave device 300 , and a controller 200 .

[0026] The host device 100 may include at least one host intellectual property (IP)

[0027] M0 to Mm, the slave device 300 may include at least one slave IP S0 to Sn.

[0028] The main device 100 may correspond to a host device. The main device 100 may include various processors, direct memory access (DMA) devices, input / output subsystems, etc., which may correspond to main IPs M0 to Mm, respectively, wherein the processors are such as a central processing unit (CPU), a graphics processing unit (GPU), and an application processor.

[0029] In an embodiment, the master device 100 may transmit a command including a slave address, which is information indicating a destination of a command to be processed, through a forward channel FCH, and may receive a response signal through a backward channel BCH. When the command is a write command, the master device 100 may transmit a command including data in addition to the slave address, and when the command is a read command, the master device 100 may receive data according to a command processing result and a response signal.

[0030] The slave device 300 may be a resource shared by the master device 100. In an embodiment, the slave device 300 may be a shared memory device. In an embodiment, the slave device 300 may receive a command from the master device 100 through a forward channel FCH, and transmit data and a response signal according to a command processing result to the master device 100 through a backward channel BCH.

[0031] The address, data, and response signal may be transmitted between the master device 100 and the slave device 300 through independent channels, respectively, but the embodiment is not limited thereto.

[0032] The controller 200 may be configured to relay the communication between the master device 100 and the slave device 300, and may be an interconnector that provides a logical / physical environment in which commands, data, and response signals may be exchanged between the master device 100 and the slave device 300. In an embodiment, the controller 200 may be used as a component in one or both of a forward channel FCH and a backward channel BCH. The controller 200 may include a master interface 210, an arbitrator 220, and a slave interface 230.

[0033] The master interface 210 may receive a command of the master device 100 through the forward channel FCH and transmit the received command to the arbiter 220 , and may transmit data and / or a response signal provided from the slave device 300 to the master device 100 through the backward channel BCH.

[0034] The arbiter 220 may be configured to schedule commands of the master device 100 transmitted through the forward channel FCH according to priority and delay.

[0035] The slave interface 230 may transmit the scheduled command to the slave device 300 through the forward channel FCH, and may receive data and / or a response signal output from the slave device 300 through the backward channel BCH and transmit the received data and / or response signal to the master device 100 .

[0036] The command transmitted from the master device 100 may include a destination address indicating the location of the command to be processed. The slave device 300 may be a memory device including a plurality of storage devices, for example, a plurality of memory banks respectively serving as destinations, and in this case, the destination address may include a memory bank address indicating a memory bank among the plurality of memory banks.

[0037] In an embodiment, the arbitrator 220 may assign a timestamp to a command received from the master device 100, and store the commands assigned the timestamps according to the order of arrival. The arbitrator 220 may count, for example, increase the timestamp assigned to each command in each command arbitration cycle. In an embodiment, the initial value of the timestamp assigned to the command may be a constant, for example, 1, but the embodiment is not limited thereto.

[0038] In an embodiment, the arbitrator 220 may select a command with a maximum timestamp value in a tournament manner by comparing commands with different destinations in pairs using one or more comparison stages in each command arbitration cycle, and may store a command selection history for each comparison stage. When the timestamp values ​​of commands (e.g., comparison target commands) in each command pair to be compared are identical to each other, the arbitrator 220 may select a command based on the command selection history of the previous command arbitration cycle.

[0039] In an embodiment, the arbitrator 220 may receive commands sequentially according to the order of arrival, classify the received commands according to the destination, and select one of the first commands classified according to the destination based on the timestamp (e.g., a command selected from the corresponding earliest unprocessed commands for the destination). When the timestamp values ​​of the compared target commands are the same or cannot be compared, the arbitrator 220 may refer to the command selection history of the previous command arbitration cycle to select the command of the destination that was not selected in the previous command arbitration cycle. For example, in an embodiment, when a first command for a first destination is compared with a second command for a second destination and the two commands have the same timestamp value, if the command for the first destination was selected in the previous command arbitration cycle, the second command for the second destination is selected; however, if the command for the second destination was selected in the previous command arbitration cycle, the first command for the first destination is selected.

[0040] According to the present technology as described above, the arbitrator 220 can provide a command having a maximum time stamp value among commands received from destinations of the device 300 to the corresponding destination for processing.

[0041] The timestamp of each command queued for processing in the arbitrator 220 may increase in each command arbitration cycle, and may converge to a maximum value while the command is waiting in an unprocessed state. When comparing the timestamp values ​​of commands with the same arrival time to the controller 200, or when comparing the timestamp values ​​of commands whose timestamp values ​​converge to a maximum value, the arbitrator 220 may select a command of a destination that was not selected in a previous command arbitration cycle.

[0042] The arbitrator 220 may allow priority processing of commands for destinations having priority in arrival time to the controller 200. In addition, commands for a specific destination may be prevented from being prioritized or lack of processing of commands for a specific destination may be prevented, so commands for destinations may be processed uniformly.

[0043] Figure 2 is a diagram showing a configuration of an arbitrator according to an embodiment.

[0044] Reference Figure 2 , the arbiter 220 according to an embodiment may include a time stamp (TS) setter 410 , a command register 420 , a counter 430 , and a scheduler 440 .

[0045] When the controller 200 receives a command CMD transmitted by the main device 100 and including a destination address and (for certain commands) data, the TS setter 410 can assign a timestamp TS to an initial value and store the command assigned the timestamp (TS) in the command register 420 at the time when the controller 200 receives the command CMD.

[0046] The command register 420 may store commands assigned a time stamp (TS) in each of the entry ETRs according to the order of input to the controller 200. In an embodiment, the command register 420 may be a first-in-first-out (FIFO) buffer, but the embodiment is not limited thereto. In an embodiment, the command register 420 may be provided for each of a plurality of slave devices or for each of a destination (storage bank) of a plurality of slave devices. The command register 420 may be provided in common in a plurality of slave devices or in a destination (storage bank) constituting a plurality of slave devices.

[0047] In each entry ETR of the command register 420, a command identifier (ID) CMD ID, a destination address ADD, data DATA (in the case of a write command), a timestamp value TS, and a command validity flag VAL may be stored. The command ID CMDID may indicate a command type, for example, whether the command is a write command or a read command. The destination address ADD may correspond to a location within the slave device 300 related to a corresponding command to be processed. When the slave device 300 is a shared memory device including a plurality of memory banks, the destination address ADD may include a memory bank address, but the embodiment is not limited thereto. The timestamp value TS may indicate command arrival time information assigned by the TS setter 410. The validity flag VAL may indicate a processing status of the corresponding command, for example, indicating whether the command processing is completed, for example, a validity flag VAL indicating "valid" may indicate that the corresponding command is waiting for processing.

[0048] The counter 430 may count, for example, increasing the timestamp value of each command assigned the timestamp TS at each command arbitration cycle after the commands assigned the timestamp are stored in the command register 420. In an embodiment, the timestamp value of the commands assigned the timestamp may correspond to the amount of time the commands assigned the TS have been stored in the command register 420. In an embodiment, more than one command may arrive at the arbitrator 220 during a command arbitration cycle, and therefore, multiple commands assigned the TS may have the same timestamp value.

[0049] The scheduler 440 may select the command with the largest time stamp value TS in a competitive manner by comparing commands with different destination addresses ADD in pairs in each command arbitration cycle, and may store the command selection history of each comparison stage. When the time stamp values ​​TS of the comparison target commands are identical or substantially identical to each other, the scheduler 440 may select the command based on the command selection history of the previous command arbitration cycle.

[0050] On the other hand, the scheduler 440 may classify the commands stored in the command register 420 according to the destination based on the arrival time, and may select one of the top commands classified according to the destination based on the timestamp. For example, in an embodiment having a plurality of command registers 420 corresponding to a plurality of destinations, respectively, the scheduler 440 may receive the top command (e.g., the earliest unprocessed command) from each command register 420 as a comparison target command, and select one command from the comparison target commands according to their timestamp values. When the timestamp values ​​of the two comparison target commands are identical to each other, the arbitrator 220 may select a command pointing to a destination not selected in the previous command arbitration cycle using the command selection history of the previous command arbitration cycle.

[0051] Figure 3is a diagram showing a configuration of the scheduler 440 according to an embodiment.

[0052] The scheduler 440 according to an embodiment may include a plurality of comparison stages 4411 to 441N, and each of the plurality of comparison stages 4411 to 441N may include one or more comparison circuits.

[0053] When assuming the number of destinations is 2 N When the scheduler 440 includes N comparison stages 4411 to 441N. Each of the comparison stages 4411 to 441N may include 2 (N-m) A comparison circuit COMP m_(2 (N-m) ). Here, N and m are natural numbers, and m represents the stage number.

[0054] The commands CMD_B_x having different destinations may be input to each of the comparison stages 4411 to 441N, and the comparison circuits COMP m_(2 (N-m) ) can select a command with a larger time stamp value by comparing the time stamp values ​​of a pair of commands with different destinations. Here, x can be the address of a destination among a plurality of destinations in the slave device. (N-m) ) The information of the selected command can be used as the command selection history HIS_m_(2 (N-m) ) is fed back to the input terminal of the comparison circuit. On the other hand, when each comparison circuit COMP m_(2 (N-m) )When any of the input commands is switched to the output terminal based on the timestamp, the comparison circuit COMP m_(2 (N-m) ) can feed back the switching information to the input terminal.

[0055] In an embodiment, two N commands CMD_B_0 to CMD_B_(2 N -1) is input to the first comparison stage 4411; in the embodiment where a plurality of command registers 420 are set for the destination respectively, the commands CMD_B_0 to CMD_B_(2 N -1) may be from a corresponding command register 420 of the plurality of command registers 420. N-1 Comparison circuits COMP 1_1 to COMP 1_2 N-1 Can be compared in pairs2 N The comparison circuits COMP 1_1 to COMP 1_2 are used to select any one of the commands in each command pair. N-1The command selection history of the selection information HIS 1(1) to HIS 1(2 N-1 ) can be fed back to the comparison circuits COMP 1_1 to COMP 1_2 in the first comparison stage 4411 N-1 Therefore, 2 can be selected in the first comparison stage 4411. N Half of a command (for example, 2 N -1 commands).

[0056] As the comparison operation proceeds from the second comparison stage 4412 to the Nth comparison stage 441N, the number of commands output from each of the comparison stages 4412 to 441N can be half of the corresponding input command of each stage, which is the command selected and output from the comparison circuit of the previous comparison stage 4411 to 441(N-1), and a command CMD_B_y can be selected and output from the final comparison stage 441N.

[0057] Figure 4 is a diagram showing a configuration of a comparison circuit according to an embodiment.

[0058] Reference Figure 4 , the comparison circuit COMP may include a control signal generator 510 , a first selector 520 , and a second selector 530 .

[0059] The comparison circuit COMP may receive a pair of commands CMD_B_n and CMD_B_n+1, and the pair of commands CMD_B_n and CMD_B_n+1 may include time stamps TSn and TSn+1, destination addresses BAn and BAn+1, command types CMDn and CMDn+1, and validity flags VALn and VALn+1, respectively.

[0060] The control signal generator 510 may be configured to output the control signal CON based on the validity flags VALn and VALn+1 of the pair of input commands CMD_B_n and CMD_B_n+1.

[0061] In an embodiment, based on the validity flags VALn and VALn+1 of the pair of commands CMD_B_n and CMD_B_n+1, when any one of the pair of commands CMD_B_n and CMD_B_n+1 is valid, the control signal generator 510 may generate a control signal CON having an enabled state. When both the pair of commands CMD_B_n and CMD_B_n+1 are invalid, the control signal generator 510 may generate a control signal CON having a disabled state.

[0062] The first selector 520 can be enabled in response to the control signal CON, receive the pair of commands CMD_B_n and CMD_B_n+1, receive the command selection history HIS generated by the second selector 530 in the previous command arbitration cycle, and output a preliminary selection signal SEL_PRE indicating any one of the commands CMD_B_n and CMD_B_n+1 as a preliminary selected command.

[0063] In an embodiment, when the pair of input commands CMD_B_n and CMD_B_n+1 are both in an unprocessed state (e.g., when the validity flags VALn and VALn+1 both indicate valid), the first selector 520 may determine a preliminary selection signal SEL_PRE based on the timestamps TSn and TSn+1. When the timestamp values ​​TSn and TSn+1 of the input commands are identical to each other, the first selector 520 may refer to the command selection history HIS and select a command having a destination BAn+1 or BAn different from the destination BAn or BAn+1 selected in the previous command arbitration cycle. When only any one of the pair of commands CMD_B_n and CMD_B_n+1 is in an unprocessed state, the first selector 520 may output a preliminary selection signal SEL_PRE indicating the unprocessed command. When the control signal CON has a disabled state, the first selector 520 may output a discard signal DISCARD indicating that no command is selected.

[0064] The second selector 530 may receive the pair of commands CMD_B_n and CMD_B_n+1, the preliminary selection signal SEL_PRE output from the first selector 520, and the discard signal DISCARD as input signals, and output a command selection signal CMD_B_n,n+1 based on the validity flags VALn and VALn+1 of the pair of commands CMD_B_n and CMD_B_n+1.

[0065] In an embodiment, when both of the pair of commands CMD_B_n and CMD_B_n+1 are valid (for example, when neither has been processed), based on the validity flags VALn and VALn+1 of the pair of input commands CMD_B_n and CMD_B_n+1, the second selector 530 may output the command indicated by the preliminary selection signal SEL_PRE output by the first selector 520 as the command selection signal CMD_B_n,n+1.

[0066] When only one of the pair of input commands CMD_B_n and CMD_B_n+1 is valid (e.g., when only one is not processed), based on the validity flags VALn and VALn+1 of the pair of input commands CMD_B_n and CMD_B_n+1, the second selector 530 may output the unprocessed command as the command selection signal CMD_B_n,n+1.

[0067] When both validity flags VALn and VALn+1 of the pair of commands CMD_B_n and CMD_B_n+1 are invalid, for example, when processing of both commands is completed, the second selector 530 may output a discard signal DISCARD as the command selection signal CMD_B_n,n+1, so that the two commands may not be selected and may be ignored. In an embodiment, the next stage of the scheduler 440 that receives the discard signal DISCARD as the command selection signal CMD_B_n,n+1 may determine that the command selection signal CMD_B_n,n+1 is invalid. In an embodiment, outputting the discard signal DISCARD may correspond to outputting the command selection signal CMD_B_n,n+1 having the validity flag VALn,n+1 set to invalid.

[0068] When any one of the input commands is output as the command selection signal CMD_B_n,n+1, the command selection history HIS can be fed back to the input terminal of the first selector 520 as selection information for outputting the selected command, and can be referenced in the next command arbitration cycle. The command selection history includes an indication of the destination BAn,n+1 of the command selection signal CMD_B_n,n+1.

[0069] Figure 5 and Figure 6 is a flowchart illustrating the operation procedure of the data processing device according to the embodiment.

[0070] When receiving a command CMD from the master device 100, the command CMD including a slave address (e.g., a storage bank address) and data (in the case of a write command) (S101), the arbitrator 220 of the controller 200 may assign a timestamp TS to the transmitted command CMD and store the command assigned the timestamp (TS) (S103). In an embodiment, the timestamp of the command assigned the TS may be used to determine how long the command assigned the TS has been waiting for processing since it was received by the controller 200.

[0071] The arbitrator 220 may compare commands with different destinations in pairs during the comparison phase of each command arbitration cycle, selecting the command with the largest timestamp value (indicating, for example, the command that has waited the longest time for processing) in a competitive manner; a detailed description of the process of selecting commands will be provided below.

[0072] The arbitrator 220 may classify commands according to destination and based on the order of arrival (S201), and determine the validity of command pairs by receiving the top commands classified according to the destination in pairs (S203). In an embodiment, the top command according to the destination corresponds to the command that has been waiting the longest time for processing in the destination.

[0073] When it is determined as a result of the determination of operation S203 that both commands in each command pair are valid, the arbitrator 220 may select any one of the input commands based on the timestamp TS of the input command and the command selection history of the previous command arbitration cycle (S205). Figure 6 As shown, when the arbitrator 220 selects a command based on the timestamp and the command selection history in operation S205, the arbitrator 220 may determine whether the timestamp values ​​TS of the input commands are identical to each other (S301). When the input time points of the two input commands are identical, or when the timestamp values ​​of the two input commands have converged to the maximum value of the timestamp and are therefore identical to each other ("Yes" in S301), the arbitrator 220 may select a command for a destination that is not the destination of the command selected in the previous command arbitration cycle based on the command selection history of the previous command arbitration cycle (S303). When the timestamp values ​​are different from each other ("No" in S301), the arbitrator 220 may select a command for a destination having a larger timestamp value (S305).

[0074] When only any one of the input commands is valid as a result of the determination of operation S203 , the arbitrator 220 may select the valid command ( S207 ).

[0075] When both input commands are invalid as a result of the determination of operation S203 , the arbiter 220 may discard the comparison result of the corresponding comparison phase and allow the comparison result of the corresponding comparison phase to be ignored in the next comparison phase ( S209 ).

[0076] The processes performed in operations S201 to S209 may be repeated in each comparison stage, and any one command may be selected in the final comparison stage. The processes of operations S201 to S209 performed in each comparison stage may correspond to one command arbitration cycle.

[0077] In an embodiment, the commands of the master device can be classified according to the destination of the command and can be queued in the command register corresponding to the destination based on the order of arrival, and the command with the largest timestamp value among the top commands in the command register for each of the destinations can be processed preferentially. The maximum timestamp value of the top command can be determined by pairwise comparison of the commands. However, when the timestamp values ​​of the commands in the command pair are the same as each other, the unprocessed commands of the destinations not selected in the previous command arbitration cycle are selected based on the command selection history of the previous command arbitration cycle, and therefore, the commands for each destination can be processed uniformly.

[0078] Figure 7 A data processing system 1000 according to an embodiment is shown. The data processing system 1000 may include a plurality of computing racks 20, a management interface 30, and a network 40 configured to enable communication between the computing racks 20 and the management interface 30. The data processing system 1000 may have a rack-scale architecture and may be used in a data center, etc., to perform large-scale data processing.

[0079] Each of the plurality of computing racks 20 may implement a computing system in combination with other computing racks 20. The detailed configuration and operation of the computing racks 20 will be described later.

[0080] Management interface 30 may provide an interactive interface for a user to control, operate, or manage data processing system 1000. Management interface 30 may be implemented using any type of computing device including any of the following: a computer, a multiprocessor system, a server, a rack server, a board server, a laptop computer, a desktop computer, a tablet computer, a wearable computing system, a network device, a Web device, a distributed computing system, a processor-based system, a client electronic device, etc.

[0081] In some embodiments, data processing system 1000 may be implemented using a distributed system having computing functions to be performed by computing rack 20 and user interface functions to be performed by management interface 30. In other embodiments, data processing system 1000 may be implemented using a virtual cloud server including multiple computing devices distributed over network 40. Management interface 30 may include a processor, an input / output (I / O) subsystem, a memory, a data storage device, and a communication circuit.

[0082] The network 40 may be a channel for exchanging data between the computing rack 20 and the management interface 30 and / or between the computing racks 20. The network 40 may be implemented by various wired and / or wireless networks. For example, the network 40 may include a publicly accessible global network, such as a wired / wireless local area network (LAN), a wide area network (WAN), a cellular network, and / or the Internet. In another example, the network 40 may include one or more attached (or auxiliary) network devices, such as attached (or auxiliary) computers, routers, and switches. In another example, the network 40 may include an interface network based on an interface standard, such as a cache coherent interconnect for accelerators (CCIX) and GEN-Z.

[0083] Figure 8 The architecture of a computing rack 20 according to an embodiment is shown.

[0084] Reference Figure 8 The computing rack 20 is not limited by the structure, type, and component name of the components, and the computing rack 20 may include various types of components. For example, the computing rack 20 may include a plurality of drawers 21 to 29. Each of the plurality of drawers 21 to 29 may include a plurality of boards.

[0085] In various embodiments, the computing rack 20 can be implemented by a combination of an appropriate number of computing boards COMPUTE, storage boards MEMORY, and / or interconnect boards INTERCONNECT. Here, although it is defined that the computing rack 20 is implemented by a combination of multiple boards, it can be defined that the computing rack 20 is implemented by various components named differently such as drawers, modules, trays, boards, chassis, and units.

[0086] For ease of implementation, the components of the computing rack 20 may have individual architectures classified and differentiated according to their functions. The computing rack 20 may have an architecture classified in the order of interconnection boards, computing boards, and storage boards from the top, but the embodiment is not limited thereto. The computing rack 20 and the computing system implemented by the computing rack 20 may be referred to as a "rack scale system" or a "disaggregated system". The storage board may be referred to as a "memory system".

[0087] In various embodiments, the computing system may be implemented by one computing rack 20. In other embodiments, the computing system may be implemented by all components included in two or more computing racks, some of the components included in two or more computing racks, or some of the components included in one computing rack 20.

[0088] In various embodiments, the computing system may be implemented by a combination of an appropriate number of computing boards, storage boards, and interconnect boards included in a computing rack 20. Figure 8 As shown, the computing rack 20A can be implemented by a combination of two computing boards COMPUTE, three storage boards MEMORY and one interconnection board INTERCONNECT. In another example, the computing rack 20B can be implemented by a combination of three computing boards COMPUTE, two storage boards MEMORY and one interconnection board INTERCONNECT. In yet another example, the computing rack 20C can be implemented by a combination of one computing board COMPUTE, four storage boards MEMORY and one interconnection board INTERCONNECT.

[0089] although Figure 8 An example is shown in which the computing rack 20 is implemented by a combination of an appropriate number of computing boards, storage boards, and interconnect boards, but the computing rack 20 may include additional components that may be included in a typical server, such as a power system, a cooling system, I / O devices, etc.

[0090] Fig. 9 The configuration of a computing rack 20 according to an embodiment is shown.

[0091] Reference Fig. 9 , the computing rack 20 may include a plurality of computing boards 2000, a plurality of storage boards 4000, and an interconnection board 3000. The plurality of computing boards 2000 may be referred to as pooled computing boards, a pooled computing system, etc. Similarly, the plurality of storage boards may be referred to as pooled storage boards, a pooled memory system, etc. Here, although it is defined that a computing rack or a computing system is implemented by a combination of a plurality of boards, the computing rack or the computing system may be implemented by various differently named components such as drawers, modules, trays, boards, chassis, or units.

[0092] Each of the plurality of computing boards 2000 may include one or more processing elements in which hardware such as one or more of a processor, a processing / control circuit, and a central processing unit (CPU) is combined with software executable on the hardware.

[0093] Each of the plurality of storage boards 4000 may include one or more of memories such as volatile memory and non-volatile memory. For example, each of the plurality of storage boards 4000 may include a dynamic random access memory (DRAM), a flash memory, a memory card, a hard disk drive (HDD), a solid state drive (SSD), or a combination thereof.

[0094] Each of the plurality of memory boards 4000 may be divided, allocated or designated and used by one or more processing elements included in each of the computing boards 2000. Each of the plurality of memory boards 4000 may store one or more operating systems (OS) to be initialized and / or run by the computing board 2000.

[0095] The interconnection board 3000 can be implemented by a communication circuit, a communication device, or a combination thereof, and the interconnection board 3000 can be divided, allocated, specified, and used by one or more processing elements included in each of the computing boards 2000. For example, the interconnection board 3000 can be implemented by any number of network interface ports, interface cards, or interface switches. The interconnection board 3000 can use protocols associated with one or more wired or wireless communication technologies to operate communications. For example, the interconnection board 3000 can support communications between the computing board 2000 and the storage board 4000 according to one or more of the protocols such as Peripheral Component Interconnect Express (PCIe), Quick Path Interconnect (QPI), Ethernet, etc. The interconnection board 3000 can be connected to the computing board 2000 through interface standards such as CCIX and GEN-Z.

[0096] Fig.10 According to the embodiment Fig. 9 The configuration of computing board 2000 is shown.

[0097] Reference Fig.10 , the computing board 2000 may include multiple CPUs 2100 , multiple local memories 2200 , and an I / O interface 2300 .

[0098] CPU 2100 can be used in Fig. 9 One or more memory boards to be used are divided, allocated or designated among the multiple memory boards 4000. The CPU 2100 can initialize the one or more memory boards that are divided, allocated or designated, and perform data read operations, data write (or programming) operations, etc. on the one or more memory boards.

[0099] The local memory 2200 may store data required to perform operations of the CPU 2100. In various embodiments, the local memory 2200 may correspond to the CPU 2100 one-to-one.

[0100] The I / O interface 2300 can be Fig. 9The interconnection board 3000 supports the interface connection between the CPU 2100 and the memory board 4000. The I / O interface 2300 can output data from the CPU 2100 to the interconnection board 3000 and input data from the interconnection board 3000 to the CPU 2100 using protocols associated with one or more wired or wireless communication technologies. For example, the I / O interface 2300 can support communication between the CPU 2100 and the interconnection board 3000 according to one or more of protocols such as PCIe, QPI, Ethernet, etc. The I / O interface 2300 can support communication between the CPU 2100 and the interconnection board 3000 according to interface standards such as CCIX and GEN-Z.

[0101] Fig.11 is a diagram showing a configuration of a memory board 4000 according to an embodiment.

[0102] Reference Fig.11 , the memory board 4000 may include a controller 4100 and a plurality of memory groups 4200. The memory group 4200 may include one or more types of memory devices 4200A, 4200B, and 4200C. The memory devices 4200A, 4200B, and 4200C may store (write) data and output (read) the stored data according to the control of the controller 4100. The plurality of memory groups 4200 may include a first memory device 4200A, a second memory device 4200B, and a third memory device 4200C. The first to third memory devices 4200A, 4200B, and 4200C may have the same characteristics as each other or different characteristics from each other. In various embodiments, in terms of storage capacity or delay, the first to third memory devices 4200A, 4200B, and 4200C may be memory devices having the same characteristics as each other or different characteristics from each other.

[0103] The controller 4100 may include an input / output (I / O) interface 5300 , a data controller 5100 , and a plurality of memory controllers iMC0 to iMC2 (shown as memory controllers 5200A, 5200B, and 5200C) as memory interfaces respectively corresponding to the memory groups 4200 .

[0104] The above embodiments of the present invention are intended to illustrate rather than limit the present invention. Various alternatives and equivalents are possible. The present invention is not limited to the embodiments described herein. The present invention is also not limited to any particular type of semiconductor device. In view of this disclosure, other additions, reductions or modifications are obvious and are intended to fall within the scope of the appended claims.

Claims

1. A data processing device, comprising: a master device that transmits a command for each destination, the destination being a slave device for processing the command; The slave device includes a plurality of storage repositories respectively serving as destinations; as well as a controller, relaying communications between the master device and the slave device, wherein when the controller receives the command, the controller assigns a timestamp value to the command as an initial value and increases the timestamp value in each command arbitration cycle, By comparing commands having different destinations in each command arbitration cycle, selecting a command having a maximum time stamp value among the commands, storing a command selection history for each command comparison, and selecting a command based on the command selection history corresponding to the compared commands when respective time stamp values ​​of the compared commands are identical to each other, When the compared command is invalid, the controller discards the comparison result of the current comparison stage and does not transmit the comparison result of the current comparison stage to the next comparison stage. 2 . The data processing device according to claim 1 , wherein when the compared command is valid, the controller selects the command based on respective time stamp values ​​of the compared command and the command selection history corresponding to the compared command. 3 . The data processing apparatus according to claim 1 , wherein when any one of the compared commands is valid, the controller selects the valid command. 4 . The data processing apparatus according to claim 1 , wherein the controller selects a command having a maximum time stamp value among the commands in a competitive manner.

5. A data processing device comprising: A master device, which transmits commands to a destination; A slave device including a plurality of storage repositories each serving as a destination; as well as a controller, relaying communications between the master device and the slave device, The controller comprises: a timestamp setter that, when the controller receives the commands, assigns a timestamp value to each of the commands as an initial value; a counter, increasing the timestamp value in each command arbitration cycle; a command register storing time-stamped commands in order of arrival; and a scheduler that sorts the commands assigned timestamps according to destination and based on arrival order, and selects any one of the top commands for the destination based on the timestamp value, the scheduler selecting the command based on a command selection history of a previous command arbitration cycle, When the command is invalid, the comparison circuit discards the comparison result of the corresponding comparison stage, and does not transmit the comparison result of the corresponding comparison stage to the next comparison stage.

6. The data processing device according to claim 5, wherein when the time stamp values ​​of two or more of the top commands are identical to each other, the scheduler selects the command based on the command selection history, and The scheduler selects a command for a destination based on the command selection history, the destination not corresponding to a destination of a command selected in the previous command arbitration cycle.

7. A data processing apparatus according to claim 5, wherein the scheduler comprises a plurality of comparison stages, and Each of the comparison stages includes a comparison circuit that selects any one of the commands having different destinations in response to the characteristics of the command and the command selection history, and feeds back a selection result as the command selection history in each command arbitration cycle. 8 . The data processing device according to claim 7 , wherein when both commands in a pair of commands are valid, the comparison circuit selects one command in the pair of commands based on respective time stamp values ​​of the pair of commands and the command selection history.

9. The data processing device according to claim 7, wherein when any one of the commands is valid, the comparison circuit selects the valid command.

10. A method for a data processing device, the data processing device comprising a controller, a master device and a slave device, the method comprising: When the controller receives the commands, assigning a timestamp value to each of the commands as an initial value, and storing the commands assigned the timestamp in the controller; Increasing the timestamp value in each command arbitration cycle; sorting the time-stamped commands according to destinations based on arrival order; selecting any one of the top commands for the destination based on the timestamp value; as well as Selects a command based on the command selection history of previous command arbitration cycles, The selection of any one of the commands in each command pair includes: determining the validity of the commands in the pair of commands to be compared; as well as When both commands in the command pair to be compared are invalid, the comparison result of the current comparison stage is discarded, and the comparison result of the current comparison stage is not transmitted to the next comparison stage. 11 . The method of claim 10 , wherein when time stamp values ​​of two or more of the top commands are identical to each other, the command is selected based on the command selection history of the previous command arbitration cycle.

12. The method of claim 11, wherein when the timestamp values ​​are identical to each other, selecting the command comprises: A command is selected for a destination based on the command selection history, for which a command was not selected in the previous command arbitration cycle.

13. The method of claim 11 , wherein selecting one of the top commands for the destination comprises: comparing the timestamp values ​​of the commands having different destinations in pairs; In response to the comparison result of the timestamp value and the command selection history, selecting any one of the commands in each command pair; as well as The selection result of each command arbitration cycle is fed back as the command selection history.

14. The method of claim 13, wherein selecting any one of the commands in each command pair comprises: determining the validity of the commands in the pair of commands to be compared; as well as When both commands in the command pair to be compared are valid, the command is selected based on the timestamp value comparison result and the command selection history.

15. The method of claim 13, wherein selecting any one of the commands in each command pair comprises: determining the validity of the commands in the pair of commands to be compared; as well as When any one of the commands in the command pair to be compared is valid, the valid command is selected.