Scheduler queue allocation burst mode

By introducing burst mode counters and threshold mechanisms into the scheduler queue allocation unit, the problem of throughput decline in typical schedulers during burst operations is solved, and processor throughput improvement and resource balancing are achieved.

CN114830083BActive Publication Date: 2024-09-10ADVANCED MICRO DEVICES INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202080085224.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-10
Filing Date
2020-12-08
Publication Date
2024-09-10
Estimated Expiration
2040-12-08

AI Technical Summary

Technical Problem

Typical schedulers have difficulty maintaining processor performance when faced with short bursts of operation-type instructions, resulting in a decrease in processor throughput.

Method used

By introducing a burst mode counter and threshold mechanism in the scheduler queue allocation unit, it is allowed to over-allocate the allocation bandwidth in a short period of time to improve processor throughput, while preventing resource starvation in other operation classes, by tracking the burst mode window and occupancy Ensure resource balance.

Benefits of technology

It effectively improves the throughput of the processor under sudden operation conditions, maintains a reasonable allocation of other operation resources, and avoids a decrease in processor performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114830083B_ABST
    Figure CN114830083B_ABST
Patent Text Reader

Abstract

A system, device, and method for implementing a scheduler queue allocation burst mode are disclosed. A scheduler queue allocation unit receives a dispatch packet having a plurality of operations from a decode unit in each clock cycle. The scheduler queue allocation unit determines whether the number of operations of any class of operations in the dispatch packet is greater than a corresponding threshold for dispatching to a scheduler queue in a single cycle. If the number of operations of a given class is greater than the corresponding threshold, and if a burst mode counter is less than a burst mode window threshold, the scheduler queue allocation unit dispatches an additional number of operations of the given class in a single cycle. By operating in burst mode for a given class of operations during a minority of cycles, processor throughput may be increased without starving the processor of other classes of operations.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Description of Related Technology

[0002] The processor pipeline includes many different units that operate on the instructions being executed. These units include a decoding unit, a scheduler, a scheduler queue, a selector, and an execution unit. The decoding unit decodes the extracted instructions into instruction operations. Instruction operations are also referred to as "ops" in this article. Generally speaking, ops are operations that can be performed by the hardware included in the execution unit. In various implementations, each instruction is converted into one or more ops, which, when executed, cause the execution of operations defined for the instruction according to the instruction set architecture. After the scheduler dispatches the decoded ops to the scheduler queue, the selector selects the op to be executed by the execution unit from the scheduler queue.

[0003] A typical scheduler provisions the amount of dispatch bandwidth available to each class of ops to facilitate overall performance gains. For a typical scheduler, the dispatch bandwidth allocated to each class of ops matches the number of execution units for that class of ops. This works well when a program observes a stable and correct mix of ops every cycle. However, this can devastate the performance of a processor with a typical scheduler when a class of ops appears in short bursts. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Advantages of the methods and mechanisms described herein may be better understood by referring to the following description in conjunction with the accompanying drawings, in which:

[0005] Figure 1 is a block diagram of one implementation of a computing system.

[0006] Figure 2 It is a block diagram of one implementation of a processor pipeline.

[0007] Figure 3 is a block diagram of one implementation of a portion of a processor pipeline.

[0008] Figure 4 is a generalized flow chart illustrating one implementation of a method for determining when to enter a scheduler queue allocation burst mode.

[0009] Figure 5 is a generalized flow chart illustrating one implementation of a method for a scheduler queue allocation unit to enter burst mode.

[0010] Figure 6 is a generalized flow chart illustrating one implementation of a method for determining whether to enter a scheduler queue allocation burst mode.

[0011] Figure 7is a generalized flow chart illustrating one implementation of a method for tracking a burst mode window. DETAILED DESCRIPTION

[0012] In the following description, numerous specific details are set forth to provide a thorough understanding of the methods and mechanisms presented herein. However, it will be appreciated by those of ordinary skill in the art that various implementations may be practiced without these specific details. In some cases, well-known structures, components, signals, computer program instructions, and techniques are not shown in detail to avoid confusion with the methods described herein. It should be understood that for the sake of simplicity and clarity of description, the elements shown in the figures are not necessarily drawn to scale. For example, the size of some elements may be enlarged relative to other elements.

[0013] Various systems, devices and methods for implementing a scheduler queue allocation burst mode are disclosed herein. A system includes one or more processors coupled to one or more memories. Each processor includes a processor pipeline having multiple pipeline stages for extracting, processing and executing instructions. In one implementation, the processor employs out-of-order execution of instructions. The instructions are extracted and then decoded into instruction operations (or "ops") by a decoding unit. The decoding unit transmits a dispatch packet of the decoded op to a scheduler queue allocation unit in each clock cycle.

[0014] In one implementation, when the scheduler queue allocation unit receives a dispatch packet, the scheduler queue allocation unit determines whether the number of ops of any class of ops in the dispatch packet is greater than the maximum allowed number of ops for that particular class to be issued to the scheduler queue in a single cycle. In one embodiment, each class of operations refers to different types of ops that can be executed by different types of execution units. For example, different types of ops include one or more of an arithmetic logic unit (ALU) op, an address generation unit (AGU) op, a floating point op, an integer op, a load / store op, and the like. If the number of ops of a given class is greater than the allowed number, and if the burst mode counter is less than a threshold, the scheduler queue allocation unit dispatches an additional number of ops of the given class in a single cycle, and also increments the burst mode counter. By operating in burst mode for a given op class during a few cycles, processor throughput can be increased without starving the processor of other types of op classes.

[0015] Reference now Figure 1, a block diagram of one implementation of a computing system 100 is shown. In one implementation, computing system 100 includes at least processors 105A to 105N, an input / output (I / O) interface 120, a bus 125, a memory controller 130, a network interface 135, and a memory device 140. In other implementations, computing system 100 includes other components, and / or computing system 100 is arranged differently. Processors 105A to 105N represent any number of processors included in system 100.

[0016] In one implementation, processor 105A is a general purpose processor, such as a central processing unit (CPU). In one implementation, processor 105N is a data parallel processor with a highly parallel architecture. Data parallel processors include graphics processing units (GPUs), digital signal processors (DSPs), field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), and the like. In some implementations, processors 105A to 105N include multiple data parallel processors.

[0017] The memory controller 130 represents any number and type of memory controllers accessible by the processors 105A to 105N and I / O devices (not shown) coupled to the I / O interface 120. The memory controller 130 is coupled to any number and type of memory devices 140. The memory devices 140 represent any number and type of memory devices. For example, the types of memory in the memory devices 140 include dynamic random access memory (DRAM), static random access memory (SRAM), NAND flash memory, NOR flash memory, ferroelectric random access memory (FeRAM), etc.

[0018] The I / O interface 120 represents any number and type of I / O interfaces (e.g., a peripheral component interconnect (PCI) bus, a PCI extension (PCI-X), a PCIE (PCI Express) bus, a Gigabit Ethernet (GBE) bus, a universal serial bus (USB)). Various types of peripheral devices (not shown) are coupled to the I / O interface 120. Such peripheral devices include (but are not limited to) a display, a keyboard, a mouse, a printer, a scanner, a joystick or other type of game controller, a media recording device, an external storage device, a network interface card, etc. The network interface 135 is used to receive and send network messages across a network.

[0019] In various implementations, computing system 100 is any of a computer, a laptop, a mobile device, a game console, a server, a streaming device, a wearable device, or various other types of computing systems or devices. It should be noted that the number of components of computing system 100 varies from implementation to implementation. For example, in other implementations, there are Figure 1The number of each component shown is greater or less than that shown. It should also be noted that in other implementations, the computing system 100 includes Figure 1 Other components not shown in FIG. In addition, in other implementations, the computing system 100 is used with Figure 1 The different ways of structuring are shown in .

[0020] Now go to Figure 2 , shows a block diagram of one implementation of a processor pipeline 200. In various implementations, ( Figure 1 105A to 105N include one or more instantiations of a processor pipeline 200. In one implementation, the processor pipeline 200 includes at least a fetch unit 210, a decode unit 215, a scheduler queue allocation unit 220, queues 235A to 235N, and execution units 240A to 240N. It should be noted that the queues 235A to 235N are also referred to herein as scheduler queues. It should also be understood that the processor pipeline 200 also includes other components (e.g., branch prediction units, instruction caches) that are not shown to avoid obscuring the drawings. In other implementations, the processor pipeline 200 is structured in other suitable ways.

[0021] In one implementation, the extraction unit 210 extracts instructions of the program flow from the memory and / or the instruction cache, and the extraction unit 210 transmits the extracted instructions to the decoding unit 215. The decoding unit 215 decodes the extracted instructions into instruction operations (or simply op). It should be noted that op can also be referred to as operations, micro ops, or uops. In general, instruction operations are operations that can be performed by the hardware included in the execution units 240A to 240N. In various implementations, each instruction is converted into one or more ops, which, when executed, cause the execution of operations defined for the instruction according to the instruction set architecture. The processor pipeline 200 adopts any type of instruction set architecture (ISA), wherein the type of ISA varies depending on the implementation.

[0022] The decoding unit 215 identifies the type of instruction, source operands, etc., and each decoded op includes the instruction and some of the decoding information. In an implementation where each instruction is converted into a single op, each op is a corresponding instruction or a portion thereof (e.g., one or more opcode fields of the instruction). In some implementations, the decoding unit 215 includes any combination of circuits and / or microcodes for generating ops for instructions. For example, in one implementation, relatively simple op generation is handled in hardware (e.g., one or two ops are generated per instruction), while more extensive op generation is handled in microcode (e.g., more than three ops are generated for a certain instruction).

[0023] The ops from the decode unit 215 are provided to the scheduler queue allocation unit 220 in dispatch packets. The scheduler queue allocation unit 220 determines how to allocate the ops to the scheduler queues 235A to 235N. As used herein, a "dispatch packet" is defined as a group of ops that are decoded by the decode unit 215 in a single clock cycle. When the ops are forwarded from the scheduler queue allocation unit 220 to the scheduler queues 235A to 235N, the ops have been transitioned from the in-order portion of the pipeline 200 to the out-of-order portion of the pipeline 200. Providing a steady stream of ops to the out-of-order portion of the pipeline 200 helps ensure that the processor maintains an acceptable performance level.

[0024] In normal non-burst mode, the scheduler queue allocation unit 220 imposes a limit on the number of operations of each class that can be dispatched to the scheduler queues 235A to 235N in a single clock cycle. However, if certain conditions are met, the scheduler queue allocation unit 220 allows the limit to be exceeded within a small cycle window if more than the allowed number of ops of a given class are received. This can help improve processor performance by allowing the in-order portion of the pipeline 200 to quickly move to another class of ops while the execution units 240A to 240N are still processing bursts in the background.

[0025] In one implementation, the scheduler queue allocation unit 220 includes control logic 225 coupled to counters 230 to 232. Each class of counters 230 represents any number of counters for counting different numbers of ops included in the dispatch packets forwarded from the decoding unit 215 to the scheduler queue allocation unit 220. The burst mode counter 232 tracks the number of cycles that the scheduler queue allocation unit 220 has been in burst mode. In one implementation, each different class of ops has a separate burst mode counter. In one implementation, only one class of ops is allowed to be in burst mode during any given cycle. Alternatively, in another implementation, two separate classes of ops are allowed to be in burst mode in a single cycle. When the burst mode counter 232 reaches a threshold, the scheduler queue allocation unit 220 is prevented from entering burst mode because it is difficult to evenly allocate ops to the scheduler queues during a burst. This ensures that the relative occupancy of the scheduler queues remains reasonably balanced for a single class of ops.

[0026] In one implementation, the scheduler queue allocation unit 220 attempts to select an allocation permutation for the ops of the dispatch packet so that the execution throughput of the processor pipeline 200 is maximized. The scheduler queue allocation unit 220 also selects an allocation permutation so that the ops will be allocated to queues 235A to 235N that are coupled to execution units 240A to 240N that can actually execute a particular type of op. As shown in the processor pipeline 200, each queue 235A to 235N is coupled to a corresponding execution unit 240A to 240N. However, in other implementations, one or more queues 235A to 235N are coupled to multiple execution units 240A to 240N.

[0027] After receiving the dispatch packet, the scheduler queue allocation unit 220 selects the op to be assigned to the queues 235A to 235N in a given clock cycle. When the dependencies are resolved and the op is ready to execute, a selector (not shown) will select the op from the queues 235A to 235N to execute on the execution units 240A to 240N. In one implementation, each execution unit 240A to 240N is only capable of executing a subset of the total number of different types of ops encountered in a typical program sequence. Therefore, the scheduler queue allocation unit 220 assigns the ops to the appropriate queues 235A to 235N so that these ops will be executed by the execution units 240A to 240N that are capable of executing these specific types of ops.

[0028] Reference now Figure 3 , a block diagram of one implementation of a portion of a processor pipeline 300 is shown. In one implementation, the portion of the processor pipeline 300 includes ( Figure 1 The processors 105A to 105N are configured to receive a dispatch packet from a decode unit (not shown) and the dispatch queue allocation unit 302 determines how to dispatch ops from the dispatch packet to queues 305A to 305N and 310A to 310N. Queues 305A to 305N and 310A to 310N represent any number of different sets of dispatch queues. Depending on the implementation, the processor handles any number of different op types (e.g., ALU ops, address generation ops, floating point ops, fixed point ops, branch ops, multiplication ops, division ops). Each set of scheduler queues 305A to 305N and 310A to 310N handles some subset of these different op types based on the capabilities of execution units 335A to 335N, 340A to 340N, 345A to 345N, and 350A to 350N, and the scheduler queues provide ops for execution by the execution units.

[0029] In one implementation, each queue 305A to 305N stores a first type of op, and each queue 310A to 310N stores a second type of op. For example, in one implementation, the scheduler queue allocation unit 302 allocates ALU ops to the queues 305A to 305N, the scheduler queue allocation unit 302 allocates address generation ops to the queues 310A to 310N, and so on. In other implementations, the scheduler queue allocation unit 302 allocates other types of ops to the corresponding queues. Each queue 305A to 305N has any number of selectors 315A to 315N and 320A to 320N that select ops to be executed on the corresponding execution unit 335A to 335N or 340A to 340N. Similarly, each queue 310A-310N has any number of selectors 325A-325N and 330A-330N that select ops to execute on corresponding execution units 345A-345N or 350A-350N. In one implementation, queue 305A has a separate selector 315A-315N for each different type of op that can be stored in queue 305A. Each different type of op will execute on a different type of execution unit, where execution units 335A-335N represent any number of different execution units that execute different types of ops. Note that in one implementation, some execution units can execute more than one type of op.

[0030] For the other queues, each picker picks an op from the queue to be executed on an execution unit coupled to the picker. For example, pickers 320A to 320N pick ops to be executed on execution units 340A to 340N, respectively, from queue 305N, pickers 325A to 325N pick ops to be executed on execution units 345A to 345N, respectively, from queue 310A, and pickers 330A to 330N pick ops to be executed on execution units 350A to 350N, respectively, from queue 310N. In one implementation, for each different type of op supported by the processor pipeline, there is a different execution unit coupled to each queue (via a picker). However, in some implementations, some of the queues store only a subset of all the different types of ops being executed by the processor pipeline. For example, in an implementation where the processor executes two types of ops (ALU and address generation ops), some queues store only ALU ops, while other queues store only address generation ops.

[0031] It should be understood that the number of scheduler queues and execution units for different op types varies from implementation to implementation. The examples described throughout this disclosure are intended to illustrate non-limiting examples of implementations. In other implementations, processors with other numbers of scheduler queues, execution units, and other related structures are possible and conceivable.

[0032] Reference now Figure 4 , shows an implementation of a method 400 for determining when to enter a scheduler queue allocation burst mode. For the purpose of discussion, the steps and Figures 5 to 7 Those steps are shown in an ordered order. However, it should be noted that in various implementations of the described method, one or more of the described elements are performed simultaneously, in a different order than shown, or omitted entirely. Other additional elements are also performed as needed. Any of the various systems or devices described herein is configured to implement method 400.

[0033] Scheduler queue allocation unit (e.g. Figure 2 The scheduler queue allocation unit 220 of the decode unit tracks the number of ops of each class in each dispatch packet generated by the decode unit (block 405). In one implementation, the scheduler queue allocation unit uses a per-class counter to track the number of ops of each class in each dispatch packet. Next, the scheduler queue allocation unit determines whether the number of ops of any class in the dispatch packet is greater than the maximum allowed number of the particular class (conditional block 410). In one implementation, the maximum allowed number of the particular class is equal to the number of execution units that can execute the particular class of ops. It should be noted that different classes of ops may have different maximum allowed numbers. For example, in one case, each dispatch packet of ALU ops is allowed to have a maximum of four ops, each dispatch packet of AGU ops is allowed to have a maximum of three ops, each dispatch packet of floating point ops is allowed to have a maximum of two ops, and so on.

[0034] If the number of ops per class in the dispatch packet is less than or equal to the maximum allowed number for the particular class (conditional block 410, "yes" branch), the scheduler queue allocation unit processes the ops in the dispatch packet in the normal manner and increments the burst mode counter (e.g., Figure 2 The burst mode counter 232 of the packet is decremented (block 415). If the burst mode counter is equal to zero, the burst mode counter remains zero in block 415. After block 415, the method 400 returns to block 405 to obtain the next dispatch packet.

[0035] If the number of ops of any class in the dispatch packet is greater than the maximum allowed number of a particular class (conditional box 410, "no" branch), the scheduler queue allocation unit determines whether one or more conditions for entering burst mode are met (conditional box 420). In one implementation, the first condition for entering burst mode is that the current occupancy of the corresponding scheduler queue is less than or equal to the occupancy threshold. In one implementation, the scheduler queue allocation unit checks the occupancy of the scheduler queue that stores the ops of the class that is greater than the maximum allowed number of ops in the current dispatch packet. In another implementation, the scheduler queue allocation unit checks the occupancy of all scheduler queues in the processor pipeline. In one implementation, the second condition for entering burst mode is to check whether there is a valid allocation permutation for dispatching a number of ops greater than the maximum allowed number of a particular class based on various scheduler queues and selector constraints. In other implementations, other conditions may be checked to determine whether to enter burst mode.

[0036] If one or more conditions for entering burst mode are not met (conditional block 420, "no" branch), the scheduler queue allocation unit processes the op in the dispatch packet in a normal manner and decrements the burst mode counter (block 415). Otherwise, if one or more conditions for entering burst mode are met (conditional block 420, "yes" branch), the scheduler queue allocation unit determines whether the op for the corresponding class has exceeded the burst mode window (conditional block 425). In one implementation, the scheduler queue allocation unit determines whether the burst mode window has been exceeded by checking the burst mode counter and comparing the burst mode counter to the burst mode window threshold.

[0037] If the burst mode window has been exceeded for the ops of the corresponding class (conditional block 425, "yes" branch), the scheduler queue allocation unit processes the ops in the dispatch packet in a normal manner and decrements the burst mode counter (block 415). Otherwise, if the burst mode window has not been exceeded for the ops of the given class (conditional block 425, "no" branch), the scheduler queue allocation unit dispatches more than the threshold number of ops of the ops of the corresponding class to the scheduler queue (block 430). In addition, the scheduler queue allocation unit increments the burst mode counter (block 435). After block 435, method 400 returns to block 405.

[0038] Reference now Figure 5 , shows one implementation of a method 500 for causing a scheduler queue allocation unit to enter a burst mode. A scheduler queue allocation unit (eg, Figure 2The scheduler queue allocation unit 220 of the embodiment of the present invention receives the dispatch packet and detects that there are more than a threshold number of ops of a given class in the dispatch packet (block 505). Next, the scheduler queue allocation unit determines whether the condition for entering the burst mode is met (condition block 510). In one implementation, the condition for entering the burst mode includes the scheduler queue occupancy being less than a first threshold and the burst mode counter being less than a second threshold. In other implementations, other conditions for entering the burst mode may be used.

[0039] If the conditions for entering burst mode are met (conditional box 510, "yes" branch), more than the threshold number of ops of a given class are dispatched to the scheduler queue in a single cycle (box 515). Otherwise, if the conditions for entering burst mode are not met (conditional box 510, "no" branch), only the threshold number of ops of a given class are dispatched to the scheduler queue in the first cycle (box 520). In some cases, the scheduler queue allocation unit may decide to dispatch less than the threshold number of ops of a given class to the scheduler queue in the first cycle. Next, the remaining ops of the given class are dispatched to the scheduler queue in the second cycle (box 525). It should be noted that one or more ops of the ops of a given class from a subsequent dispatch packet may be dispatched in the second cycle together with the remaining ops from the previous dispatch packet. After boxes 515 and 525, method 500 ends.

[0040] Now go to Figure 6 , shows one implementation of a method 600 for determining when to enter a scheduler queue allocation burst mode. The control logic detects a request to enter a scheduler queue allocation burst mode for an op of a given class (block 605). In response to detecting the request, the control logic checks a burst mode counter for the op of the given class (block 610). If the burst mode counter is less than or equal to a threshold (conditional block 615, "no" branch), the control logic allows the scheduler queue allocation unit (e.g., Figure 2 The method 600 is performed by the scheduler queue allocation unit 220 (block 620) to enter the burst mode. Otherwise, if the burst mode counter is greater than the threshold (conditional block 615, "yes" branch), the control logic prevents the scheduler queue allocation unit from entering the burst mode (block 625). After blocks 620 and 625, the method 600 ends. It should be noted that the method 600 can also be performed in parallel with other methods for checking whether other conditions (e.g., scheduler queue occupancy) for entering the scheduler queue allocation burst mode are met.

[0041] Reference now Figure 7 , shows one implementation of a method 700 for tracking a burst mode window. A scheduler queue allocation unit (eg, Figure 2The scheduler queue allocation unit 220 of the dispatch packet receives the dispatch packet (box 705). If the scheduler queue allocation unit detects more than a threshold number of ops of any given class in the dispatch packet (conditional box 710, "yes" branch), the scheduler queue allocation unit sets the input bit to "1" in the burst mode shift counter and moves the bits of the counter forward by one bit (box 715). If the scheduler queue allocation unit does not detect more than a threshold number of ops of any given class in the dispatch packet (conditional box 710, "no" branch), the scheduler queue allocation unit sets the input bit to "0" in the burst mode shift counter and moves the bits of the counter forward by one bit (box 720). In addition, the scheduler queue allocation unit uses the normal mode to dispatch the ops of the dispatch packet (box 725). After box 725, the method 700 ends.

[0042] After box 715, if the number of ones in the burst mode shift counter is less than or equal to the burst mode window threshold (conditional box 730, "no" branch), the scheduler queue allocation unit checks one or more other conditions for entering burst mode (conditional box 735). Otherwise, if the number of ones in the burst mode shift counter is greater than the burst mode window threshold (conditional box 730, "yes" branch), the scheduler queue allocation unit uses normal mode to dispatch the op of the dispatch packet (box 725). If one or more conditions for entering burst mode are met (conditional box 735, "yes" branch), the scheduler queue allocation unit uses burst mode to dispatch the op of the dispatch packet (box 740). Otherwise, if one or more conditions for entering burst mode are not met (conditional box 735, "no" branch), the scheduler queue allocation unit uses normal mode to dispatch the op of the dispatch packet (box 725). After box 740, method 700 ends.

[0043] In one implementation, the burst mode is tracked in a moving window of the last "N" cycles, where N is a positive integer. In this implementation, the burst mode shift counter is an "N" bit shift counter. In one implementation, the counter is shifted left by one bit per cycle, and the rightmost new bit is set to "1" in box 715. In another implementation, the counter is shifted right by one bit per cycle, and the leftmost new bit is set to "1" in box 715. It should be understood that in another implementation, the new bit can be set to "0" instead of "1" in box 715, and the new bit can be set to "1" instead of "0" in box 720. In this implementation, the scheduler queue allocation unit counts the number of 0s in the counter to determine whether the burst mode window threshold has been exceeded. In general, the scheduler queue allocation unit counts the number of valid bits in the counter to determine whether the burst mode window threshold has been exceeded. Other techniques for implementing the burst mode shift counter are possible and contemplated.

[0044] In various implementations, program instructions of software applications are used to implement the methods and / or mechanisms described herein. For example, it is envisioned that program instructions that can be executed by a general-purpose processor or a special-purpose processor are implemented. In various implementations, such program instructions are represented by a high-level programming language. In other implementations, program instructions are compiled from high-level programming languages ​​into binary form, intermediate form, or other forms. Alternatively, program instructions describing the behavior or design of hardware are written. Such program instructions are represented by high-level programming languages ​​such as C. Alternatively, a hardware design language (HDL) such as Verilog is used. In various implementations, program instructions are stored on any of a variety of non-temporary computer-readable storage media. During use, a computing system can access a storage medium to provide program instructions to a computing system for program execution. Generally speaking, such a computing system includes at least one or more memories and one or more processors configured to execute program instructions.

[0045] It should be emphasized that the above implementations are only non-limiting examples of implementations. Once the above disclosure is fully understood, many variations and modifications will be apparent to those skilled in the art. The appended claims are intended to be interpreted as covering all such variations and modifications.

Claims

1. A system comprising: control logic, the control logic comprising circuitry configured to: receiving a dispatch packet including a plurality of operations from a decoding unit; determining whether a burst mode is indicated, in which the dispatch packet contains a first number of operations of a single class that exceeds a corresponding threshold; and Dispatching a second number of operations of the single class greater than the corresponding threshold to a plurality of scheduler queues in response to determining: the first number of operations exceeds the corresponding threshold; as well as The burst mode window has not been exceeded for the single type of operation, wherein the burst mode window represents a time period. 2 . The system of claim 1 , wherein the corresponding threshold is equal to the number of execution units capable of performing operations of the single type of operation.

3. The system of claim 1, wherein the circuit is configured to shift valid bits into a burst mode shift counter in response to detecting the first number of operations of the single type exceeding the corresponding threshold. 4 . The system of claim 3 , wherein determining that a burst mode window has not been exceeded for a given class of operation comprises determining that a number of valid bits in the burst mode shift counter is less than a burst mode window threshold.

5. The system of claim 3, wherein the scheduler queue allocation unit is configured to shift inactive bits into the burst mode shift counter in response to determining that the dispatch packet does not include more than the corresponding threshold number of operations of any single type of operation.

6. The system of claim 1 , wherein the circuit is configured to dispatch the second number of operations of the single class of operations that is greater than the corresponding threshold to the multiple scheduler queues in response to determining that the scheduler queue occupancy is less than an occupancy threshold and in response to determining that the burst mode window has not been exceeded for the single class of operations.

7. The system of claim 1, wherein: The first type of operation has a first threshold; The second type of operation has a second threshold; and The second threshold is different from the first threshold.

8. A method comprising: receiving, by a scheduler queue dispatch unit, a dispatch packet including a plurality of operations from a decoding unit in a given cycle; determining whether a burst mode is indicated, in which the dispatch packet contains a first number of operations of a single class that exceeds a corresponding threshold; Dispatching a second number of operations of the single class greater than the corresponding threshold to a plurality of scheduler queues in response to determining: the first number of operations exceeds the corresponding threshold; as well as The burst mode window has not been exceeded for the single type of operation, wherein the burst mode window represents a time period.

9. The method of claim 8, wherein the corresponding threshold is equal to the number of execution units capable of executing operations of the single type of operation.

10. The method of claim 8, further comprising shifting valid bits into a burst mode shift counter in response to detecting the first number of operations of the single type exceeding the corresponding threshold.

11. The method of claim 10, wherein determining that a burst mode window has not been exceeded for a given class of operation comprises determining that a number of valid bits in the burst mode shift counter is less than a burst mode window threshold.

12. The method of claim 10, further comprising shifting inactive bits into the burst mode shift counter in response to determining that the dispatch packet does not include more than the corresponding threshold number of operations of any single type of operation.

13. The method of claim 8, further comprising dispatching the second number of operations of the single class of operations that is greater than the corresponding threshold in response to determining that a scheduler queue occupancy is less than an occupancy threshold and in response to determining that the burst mode window has not been exceeded for the single class of operations.

14. The method of claim 8, wherein: The first type of operation has a first threshold; The second type of operation has a second threshold; and The second threshold is different from the first threshold.

15. An apparatus comprising: Memory; as well as a processor coupled to the memory; The processor is configured to: generating, by a decode unit, a dispatch packet including a plurality of operations in a given cycle; determining whether a burst mode is indicated, in which the dispatch packet contains a first number of operations of a single class that exceeds a corresponding threshold; and Dispatching a second number of operations of the single class greater than the corresponding threshold to a plurality of scheduler queues in response to determining: the first number of operations exceeds the corresponding threshold; as well as The burst mode window has not been exceeded for the single type of operation, wherein the burst mode window represents a time period.

16. The apparatus of claim 15, wherein the corresponding threshold is equal to the number of execution units capable of executing operations of the single type of operation.

17. The apparatus of claim 15, wherein the processor is further configured to shift valid bits into a burst mode shift counter in response to detecting the first number of operations of the single class exceeding the corresponding threshold.

18. The apparatus of claim 17, wherein determining that a burst mode window has not been exceeded for the single type of operation comprises determining that a number of valid bits in the burst mode shift counter is less than a burst mode window threshold.

19. The apparatus of claim 17, wherein the processor is further configured to shift inactive bits into the burst mode shift counter in response to determining that the dispatch packet does not include more than the corresponding threshold number of operations of any single type of operation.

20. The apparatus of claim 15, wherein the processor is further configured to dispatch the second number of operations of the single class of operations greater than the corresponding threshold to the multiple scheduler queues in response to determining that the scheduler queue occupancy is less than an occupancy threshold and in response to determining that the burst mode window has not been exceeded for the single class of operations.

Citation Information

Patent Citations

  • Scheduling of I / O writes in a storage environment

    CN103370685A

  • Head-of-line blocking (HOLB) mitigation in communication devices

    CN107637033A

  • Queue protection using a shared global memory reserve

    CN109565476A

  • Method for reducing soft error susceptibility of microprocessor

    CN110147293A

  • Scheduler queue assignment

    WO2019231904A1