New! View global litigation for patent families

US20090235258A1 - Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus - Google Patents

Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus Download PDF

Info

Publication number
US20090235258A1
US20090235258A1 US12410760 US41076009A US2009235258A1 US 20090235258 A1 US20090235258 A1 US 20090235258A1 US 12410760 US12410760 US 12410760 US 41076009 A US41076009 A US 41076009A US 2009235258 A1 US2009235258 A1 US 2009235258A1
Authority
US
Grant status
Application
Patent type
Prior art keywords
peripheral
unit
instruction
thread
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12410760
Inventor
Jack B. Dennis
Sam B. SANDBOTE
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
US Secretary of Navy
Original Assignee
US Secretary of Navy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for programme control, e.g. control unit
    • G06F9/06Arrangements for programme control, e.g. control unit using stored programme, i.e. using internal store of processing equipment to receive and retain programme
    • G06F9/30Arrangements for executing machine-instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3836Instruction issuing, e.g. dynamic instruction scheduling, out of order instruction execution
    • G06F9/3851Instruction issuing, e.g. dynamic instruction scheduling, out of order instruction execution from multiple instruction streams, e.g. multistreaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for programme control, e.g. control unit
    • G06F9/06Arrangements for programme control, e.g. control unit using stored programme, i.e. using internal store of processing equipment to receive and retain programme
    • G06F9/30Arrangements for executing machine-instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for programme control, e.g. control unit
    • G06F9/06Arrangements for programme control, e.g. control unit using stored programme, i.e. using internal store of processing equipment to receive and retain programme
    • G06F9/30Arrangements for executing machine-instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. incrementing the instruction counter, jump
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for programme control, e.g. control unit
    • G06F9/06Arrangements for programme control, e.g. control unit using stored programme, i.e. using internal store of processing equipment to receive and retain programme
    • G06F9/30Arrangements for executing machine-instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for programme control, e.g. control unit
    • G06F9/06Arrangements for programme control, e.g. control unit using stored programme, i.e. using internal store of processing equipment to receive and retain programme
    • G06F9/30Arrangements for executing machine-instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units
    • G06F9/3889Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units controlled by multiple instructions, e.g. MIMD, decoupled access or execute
    • G06F9/3891Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units controlled by multiple instructions, e.g. MIMD, decoupled access or execute organised in groups of units sharing resources, e.g. clusters

Abstract

One embodiment of the present invention performs peripheral operations in a multi-thread processor. A peripheral bus is coupled to a peripheral unit to transfer peripheral information including a command message specifying a peripheral operation. A processing slice is coupled to the peripheral bus to execute a plurality of threads. The plurality of threads includes a first thread sending the command message to the peripheral unit.

Description

    RELATED APPLICATION
  • [0001]
    This application claims the benefit of U.S. Provisional Application No. 60/166,686, titled “Integrated Processor for Multithread with Real-Time Input-Output Capability” filed on Nov. 19, 1999.
  • BACKGROUND
  • [0002]
    1. Field of the Invention
  • [0003]
    This invention relates to computer architecture. In particular, the invention relates to multi-thread computers.
  • [0004]
    2. Description of Related Art
  • [0005]
    Demand in high speed data transmission has given rise to many large bandwidth network protocols and standards. For example, the Synchronous Optical Network (SONET) has a number of standards used in Wide Area Network (WAN) with speeds ranging from a few megabits per second (Mbps) to several gigabits per second (Gbps). Popular standards include T1 (1.5 Mbps), T3 (45 Mbps), OC-3c (155 Mbps), OC-12c (622 Mbps), OC48c (2.5 Gbps), OC-192c (10 Gbps), OC-768c (40 Gbps), etc.
  • [0006]
    In network applications, the requirements for cell processing and packet processing functions at line rates for broadband communications switches and routers have become increasingly difficult to satisfy, and demand multiple processor configurations to meet performance requirements. The processing of cells and packets typically requires frequent interactions with special function devices and external units. Existing techniques are inadequate to meet real-time demands without degrading performance.
  • [0007]
    Therefore, there is a need to have a technique to perform peripheral operations for cell and packet processing.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • [0008]
    The features and advantages of the present invention will become apparent from the following detailed description of the present invention in which:
  • [0009]
    FIG. 1 is a diagram illustrating a system in which one embodiment of the invention can be practiced.
  • [0010]
    FIG. 2 is a diagram illustrating a multiprocessor core shown in FIG. 1 according to one embodiment of the invention.
  • [0011]
    FIG. 3 is a diagram illustrating a multi-threaded processor shown in FIG. 2 according to one embodiment of the invention.
  • [0012]
    FIG. 4 is a diagram illustrating a processing slice shown in FIG. 3 according to one embodiment of the invention.
  • [0013]
    FIG. 5A is a diagram illustrating format of a command message according to one embodiment of the invention.
  • [0014]
    FIG. 5B is a diagram illustrating format of a response message according to one embodiment of the invention.
  • [0015]
    FIG. 6 is a diagram illustrating peripheral operations according to one embodiment of the invention.
  • [0016]
    FIG. 7 is a diagram illustrating an instruction processing according to one embodiment of the invention.
  • DESCRIPTION
  • [0017]
    The present invention is a method and apparatus to perform peripheral operations in a multi-thread processor. A peripheral bus is coupled to a peripheral unit to transfer peripheral information including a command message specifying a peripheral operation. A processing slice executes a plurality of threads and is coupled to the peripheral bus to execute peripheral operations. The plurality of threads includes a first thread sending the command message to the peripheral unit.
  • [0018]
    The command message includes at least one of a message content, a peripheral address identifying the peripheral unit, and a command code specifying the peripheral operation. The peripheral information includes a response message sent from the peripheral unit to the processing slice. The response message indicates the peripheral operation is completed and includes at least one of a thread identifier identifying the first thread, one or more result phrases, each including an operation result, a data register address specifying a data register in the processing slice to store the operation result, and an end flag indicating the last one of the result phrases.
  • [0019]
    The command message may be a wait instruction or a non-wait instruction. The processing slice disables the first thread after sending the command message if the command message is a wait instruction. The first thread continues to execute after sending the command message if the command message is a non-wait instruction. The processing slice enables the first thread after receiving the response message from the peripheral unit if the first thread was disabled.
  • [0020]
    The peripheral bus may include a bi-directional bus to transfer the command message from the processing slice to the peripheral unit and the response message from peripheral unit to the processing slice.
  • [0021]
    The processing slice includes an instruction processing unit, a thread control unit, a peripheral unit, a memory access unit, a functional unit, a condition code memory, and a register file. The processing slice is configured to support execution of a number of threads. Several processing slices operate concurrently in a processor. A multiprocessor core may include several of these processors in a network processor system.
  • [0022]
    In the processing slice, the instruction processing unit processes instructions fetched from a program memory. The instruction processing unit includes an instruction fetch unit, an instruction buffer, and an instruction decoder and dispatcher. The instruction fetch unit fetches the instructions from the program memory using a number of program counters, each of which corresponds to each of the threads. The instruction buffer holds the fetched instructions waiting for execution. The instruction decoder and dispatcher decodes the instructions and dispatches the decoded instructions to the memory access unit, the functional unit, or the peripheral unit.
  • [0023]
    The thread control unit manages initiation and termination of at least one of the threads. The peripheral unit transfers the peripheral information between the peripheral unit and the instruction processing unit. The peripheral unit receives command messages from the processing slices to direct performance of peripheral operations and sends response messages to the processing slices to convey results of the peripheral operations to the threads. The memory access unit provides access to one of a number of data memories via a data memory switch. The functional unit performs an operation specified in one of the instructions. The condition code memory stores a number of condition codes, each of which corresponds to each of the threads. The register file has a number of data registers, of which a subset is associated with each of the threads.
  • [0024]
    In the following description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. In other instances, well-known electrical structures and circuits are shown in block diagram form in order not to obscure the present invention.
  • [0025]
    FIG. 1 is a diagram illustrating a system 100 in which one embodiment of the invention can be practiced. The system 100 includes a multiprocessor core 110, a memory controller 120, peripheral units 130, an off-chip program/data memory 140, and a host control processor 150.
  • [0026]
    The multiprocessor core 110 is a high-performance multi-thread computing subsystem capable of performing all functions related to network operations. These network operations may include adjusting transmission rates, handling special cells and packets used to implement flow control protocols on an individual connection basis, and supporting Asynchronous Transfer Mode (ATM) traffic management for Available Bit Rate (ABR), Variable Bit Rate (VBR), and Unspecified Bit Rate (UBR) connections. The memory controller 120 provides access to additional memory devices and includes circuitry to interface to various memory types including dynamic random access memory (DRAM) and static random access memory (SRAM). The peripheral units 130 include a number of peripheral or input/output (I/O) units for peripheral or I/O operations. The peripheral units 130 include an input interface 162, and output interface 164, a cyclic redundancy code (CRC) engine 166, a check-out content addressable memory (CAM) 168, a bit vector unit 172, and a spare 174. The input and output interfaces 162 and 164 provide interfaces to inbound and outbound network traffics, respectively. These interfaces may include line and switch/system interfaces that support industry standards, including multi-phy features such as Universal Test and Operations PHY Interface for ATM (UTOPIA). The CRC engine 166 supports segmentation and re-assembly for ATM Adaptation Layer Type 5 (AAL5) transmission of packets over ATM connections. The check-out CAM 168 is an associative memory unit that supports the maintenance of several connection records in the on-chip memory for the duration of cell processing for those connections. The bit vector unit 172 supports round-robin scheduling algorithms at the OC-48 line rate.
  • [0027]
    The off-chip program/data memory 140 includes memory devices that store programs or data in addition to the on-chip programs and data stored in the multiprocessor core 110. The host control processor 150 is a processor that performs the general control functions in the network. These functions may include connection set-up, parameter adjustment, operation monitoring, program loading and debugging support.
  • [0028]
    FIG. 2 is a diagram illustrating the multiprocessor core 110 shown in FIG. 1 according to one embodiment of the invention. The multiprocessor core 110 includes four multi-thread processors 210 1 to 210 4, a split transaction switch 220, a host interface bus 250, and a peripheral bus 260. It is noted that the use of four processors is for illustrative purposes only. As is known to one skilled in the art, any reasonable number of processors can be used.
  • [0029]
    The four multi-thread processors 210 1 to 210 4 are essentially the same. Each of the processors 210 1 to 210 4 has local program and data memories for N-bit words of instructions and data, respectively. In one embodiment, N=32. The split transaction switch 210 permits each of the processors to access the data words held in any of the other three data memories with a small additional access time.
  • [0030]
    The host interface bus 250 allows the any of the four processors 210 1 to 210 4 to communicate with the host control processor 150 (FIG. 1). This includes passing parameters, loading program and data, and reporting status. The peripheral bus 260 allows any one of the peripheral units 130 to communicate with any of the processors 210 1 to 210 4. Some peripheral units may have direct memory access (DMA) channels to the local data memories of any one of the processors 210 1 to 210 4. In one embodiment, each of these channels supports burst transfer of 32-bit data at 100 MHz clock rate, equivalent to greater than the OC-48 speed.
  • [0031]
    FIG. 3 is a diagram illustrating the multi-thread processor 210 shown in FIG. 2 according to one embodiment of the invention. The multi-thread processor 210 includes four processing slices (PS's) 310 1 to 310 4, a data memory switch 320, banks of data memory 330, a peripheral message unit 340, a control and monitor interface 350, and a program memory 360. It is noted that the use of four PS's is for illustrative purposes only. As is known by one skilled in the art, any number of PS's can be used.
  • [0032]
    The multi-thread processor 210 is a data and/or information processing machine that supports the simultaneous execution of several programs, each program being represented by a sequence of instructions. A thread is a sequence of instructions that may be a program, or a part of a program. The multi-thread processor 210 may have one or more instruction execution resources such as arithmetic logic units, branch units, memory interface units, and input-output interface units. In any operation cycle of the multi-thread processor 210, any instruction execution resource may operate to carry out execution of an instruction in any thread. Any one instruction resource unit may participate in the execution of instructions of different threads in successive cycles of processor operation. To support this mode of operation, the multi-thread processor 210 may have a separate hardware register, referred to as the program counter, for each thread that indicates the position or address of the next instruction to be executed within the thread. A multi-thread multiprocessor is a data and/or information processing system composed of several multi-thread processors.
  • [0033]
    Each of the PS's 310 1 to 310 4 contains a program sequencer and execution units to perform instruction fetch, decode, dispatch and execution for four threads. Each of the PS's operates by interleaving the execution of instructions from the four threads, including the ability to execute several instructions concurrently in the same clock cycle. The data memory switch 320 allows any of the four PS's 310 1 to 310 4 to access any data memory bank in the banks of data memories 330. The banks of memories 330 include four banks 335 1 to 335 4: data memory banks 0 to 3. Each of the data memory banks 335 1 to 335 4 stores data to be used or accessed by any of the PS's 310 1 to 310 4. In addition, each of the data memory banks 335 1 to 335 4 has an interface to the DMA bus to support DMA transfers between the peripherals and data memory banks. The banks 335 1 to 335 4 are interleaved on the low-order address bits. In this way, DMA transfers to and from several of the peripheral units 130 can proceed simultaneously with thread execution without interference.
  • [0034]
    The four PS's 310 1 to 310 4 are connected to the peripheral message unit 340 via four PS buses 315 1 to 315 4, respectively. The peripheral message unit 340 is a distribution or switching location to switch the peripheral bus 260 to each of the PS buses 315 1 to 315 4. The peripheral message unit 340 is interfaced to the peripheral bus 260 via a command bus 342 and a response bus 344. The command bus 342 and the response bus 344 may be combined into one single bi-directional bus. Appropriate signaling scheme or handshaking protocol is used to determine if the information is a command message or the response message.
  • [0035]
    When a thread in any of the four PS's 310 1 to 310 4 executes a wait or no_wait instruction for a peripheral operation, a command message is sent from the issuing PS to the command bus 342. The command message specifies the peripheral unit where the peripheral operation is to be performed by including the address of the peripheral unit. All peripheral units connected to the peripheral bus 260 have an address decoder to decode the peripheral unit address in the command message. When a peripheral unit recognizes that it is the intended peripheral unit for the peripheral operation, it will decode the command code contained in the command message and then carry out the operation. If the command message is a wait message instruction, the issuing thread is stalled for an interval during which the responding peripheral unit carries out the peripheral operation. During this interval, the resources associated with the issuing thread are available to other threads in the issuing slice. In this way, high resource utilization can be achieved. If it is a no_wait instruction, the issuing thread continues executing its sequence without waiting for the peripheral operation to be completed. The issuing thread may or may not need a response from the peripheral unit.
  • [0036]
    The control and monitor interface 350 permits the host control processor 150 to interact with any one of the four PS's 310 1 to 310 4 through the host interface bus 350 to perform control and monitoring functions. The program memory 360 stores program instructions to be used by any one of the threads in any one of the four PS's 310 1 to 310 4. The program memory 360 supports simultaneous fetches of four instruction words in each clock cycle.
  • [0037]
    FIG. 4 is a diagram illustrating the processing slice 310 shown in FIG. 3 according to one embodiment of the invention. The processing slice 310 includes an instruction processing unit 410, a peripheral unit interface 420, a register file 430, a condition code memory 440, a functional unit 450, a memory access unit 460, and a thread control unit 470. The processing slice 310 is configured to have four threads. The use of four threads is for illustrative purposes only. As is known by one skilled in the art, any number of threads can be used.
  • [0038]
    The instruction processing unit 410 processes instructions fetched from the program memory 360. The instruction processing unit 410 includes an instruction fetch unit 412, an instruction buffer 414, and an instruction decoder and dispatcher 416. The instruction fetch unit 412 fetches the instructions from the program memory 360 using a plurality of program counters. Each program counter corresponds to each of the threads. The instruction buffer 414 holds the fetched instructions waiting for execution for any of the four threads. The instruction decoder and dispatcher 416 decodes the instructions and dispatches the decoded instructions to the peripheral unit 420, the register file 430, the condition code memory 440, the functional unit 450, or the memory access unit 460 as appropriate.
  • [0039]
    The thread control unit 470 manages initiation and termination of at least one of the four threads. The thread control unit 470 includes program counters 472 and a program (or code) base register unit 473 containing program base addresses corresponding to the threads. Execution of a computation may start from a single thread, executing the main function of the program. A thread may initiate execution of another thread by means of a start instruction. The new thread executes in the same function context as the given thread. In other words, it uses the same data and code base register contents. A thread runs until it encounters a peripheral wait, or until it reaches a quit instruction.
  • [0040]
    The peripheral unit interface 420 is connected to the instruction processing unit 410 and the peripheral message unit 340 to transfer the peripheral information between the peripheral units 130 (FIG. 1) and the instruction processing unit 410. The peripheral operation may be an input or an output operation. In one embodiment, an input or output operation is initiated by a message instruction that causes a command message to be transferred to a specified peripheral unit over the peripheral bus. The message instruction may be marked wait or no_wait. If the message instruction is marked wait, it is expected that the peripheral unit will return a response message; the processing slice that issued the message-wait instruction will execute the following instructions of that thread only when the response message has been received over the peripheral bus.
  • [0041]
    In a peripheral operation, a command message includes a content part that contains data words from data registers specified in the message instruction. If a response message is returned, it contains one or more result phrases, each specifying a data word and a data register identifier; the slice puts each data word in the specified data register, and continues execution of the thread after processing the last result phrase.
  • [0042]
    The register file 430 has four sets of data registers. Each of the four sets of data registers corresponds to each of the four threads. The data registers store data or temporary items used by the threads. Peripheral operations may reference the data registers in the command or response message.
  • [0043]
    The condition code memory 440 stores four condition codes. Each of the condition codes corresponds to each of the four threads. The condition code includes condition bits that represent the conditions generated by the functional unit 450. These condition bits include overflow, greater_than, equal, less_than conditions. The condition bits are set according to the type of the instruction being executed. For example, the compare instructions sets the greater_than, equal, and less_than condition bits and clears the overflow condition bit.
  • [0044]
    The functional unit 450 performs an operation specified in the dispatched instruction. The functional unit 450 performs all operations of the instruction set that manipulate values in the data registers. These operations include arithmetic and logical register operations, shift and selected bit operations. The operation performed by the functional unit 450 is determined by a decoded opcode value passed from the instruction decoder and dispatcher 416. The functional unit 450 has connections to the condition code memory 440 to set a thread's condition code according to the outcome of an arithmetic operation or comparison.
  • [0045]
    The memory access unit 460 provides for read and write accesses to any of the four data memory banks 315 1 to 315 4 via the data memory switch 320 (FIG. 3). The memory access unit 460 has a base register unit 462 having four base registers to receive the base address used in address formation and for saving and restoring the base registers for the call and return instructions. Each of the four data base registers corresponds to each of the four threads.
  • [0046]
    In one alternative embodiment of the invention, the instruction processing unit 410 may include M program base registers. Each of the M program base registers is associated with each of the M threads. The contents of a base register are added to the contents of the corresponding program counter to determine the location in the program memory from which the next instruction for the corresponding thread is to be fetched. An advantage of this scheme is that the branch target specified in the instruction that transfers control may be represented in fewer bits for local transfers.
  • [0047]
    In one alternative embodiment of the invention, the memory access unit 460 may include a data base register unit 462 having M data base registers 462. Each of the M data base registers is associated with each of the M threads. The contents of the appropriate base register are added to the corresponding program counter to form the effective address for selected instructions. This permits offset addressing to be used, leading to more compact programs.
  • [0048]
    FIG. 5A is a diagram illustrating format of a command message 500 according to one embodiment of the invention. The command message 500 includes a processor identifier 505, a thread identifier 507, a message content 510, a peripheral address 520, and a command code 530.
  • [0049]
    The processor identifier 505 and the thread identifier 507 identifies the thread in the processor that issues the command so that the peripheral unit can direct a resulting response message to the correct processor and thread. This is necessary to allow peripheral units to be shared by threads executing on distinct processors.
  • [0050]
    The message content 510 is a sequence of N-bit words taken from the data registers specified in the message instruction. The message content 510 includes the data or operand to be used by the peripheral unit. For a DMA operation, the message content 510 may contain the starting address for the transfer in data memory, and a count indicating the number of words to be transferred. The peripheral address 520 specifies the address of the peripheral unit to perform the peripheral operation specified by the command code 530. The command code 530 specifies the peripheral operation performed by the peripheral unit corresponding to the address specified in the peripheral address 520.
  • [0051]
    FIG. 5B is a diagram illustrating format of a response message 550 according to one embodiment of the invention. The response message 550 includes a thread identifier 560, K data register address 570 1 to 570 K, K operation result 580 1 to 580 K, and an end flag 590.
  • [0052]
    The thread identifier 560 specifies the thread that the response message is directed to. Usually, this thread is the thread that issued the command message to the peripheral unit. Each of the data register addresses 570 1 to 570 K specifies the data register in the register file 430 to store the corresponding one of K operation results 580 1 to 580 K. Each of the operation results 580 1 to 580 K is the result of the corresponding operation, which may include status information regarding the peripheral operation. The end flag 590 indicates the end of the response message 550.
  • [0053]
    FIG. 6 is a diagram 600 illustrating peripheral operations according to one embodiment of the invention. The diagram 600 shows the interactions between the processing slice 310 and the peripheral unit 130. Although only one peripheral unit 130 is shown, it is contemplated that more than one peripheral units may operate with the processing slice 310.
  • [0054]
    Within the processing slice 310, the begin cycle 610 starts an instruction execution cycle. Block 620 selects one or more instructions for execution. One or more instructions may be selected for execution concurrently. Suppose K instructions are selected for execution. Block 630 1 to Block 630 K process instruction 1 to instruction K, respectively. The details of the block 630 K, where k=1, . . . , K, are shown in FIG. 7. Blocks 630 1 to 630 K may terminate at the same time or at different times at the end cycle 640. Blocks 630 1 to 630 K will interact with the peripheral unit 130 via the peripheral bus 260 via the peripheral bus 260 when they are processing message instructions.
  • [0055]
    Within the peripheral unit 130, there are processing blocks to receive and send peripheral messages via the peripheral bus 260. Block 650 receives the command message from the processing slice 310. Block 660 starts the I/O operation for the thread T as specified in the command message. Block 670 completes the I/O operation for thread T′ where thread T′ may or may not be the same as thread T. The command message for thread T′ may have been received by block 650 either earlier or later than the command message for thread T, due to out-of-order performance of operations by the peripheral unit. Block 680 sends a response message to indicate the completion of thread T′ to the processing slice via the peripheral bus 260.
  • [0056]
    FIG. 7 is a diagram illustrating the instruction processing block 630 k shown in FIG. 6 according to one embodiment of the invention. In this block, begin and end nodes 710 and 790, respectively, indicate the beginning and the end of the instruction processing block 630 k.
  • [0057]
    Begin node 710 starts the instruction processing. Block 720 dispatches thread T according to the instruction type. If the instruction type is a non-message instruction, block 730 processes the instruction as appropriate. If the instruction is a message instruction, block 740 sends the command message to the peripheral unit 130. The command message is to be received by block 650 as shown in FIG. 6. If the command message is a wait instruction, block 750 disables thread T and goes to the end node 790. If the command message is a non-wait instruction, block 780 indicates that the instruction is done and goes to the end node 790.
  • [0058]
    Block 760 receives the response message for thread T′ as sent from block 680 shown in FIG. 6. Then, block 770 enables thread T′ if thread T′ was disabled and then goes to block 780 to indicate that the instruction processing is done. Next, end node 790 indicates the end of the instruction processing block.
  • [0059]
    While one or more threads are waiting for completion of peripheral operations, other threads may continue executing instructions that utilize functional unit and memory resources. In this way, higher average performance of the multi-thread processors may be achieved.
  • [0060]
    While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications of the illustrative embodiments, as well as other embodiments of the invention, which are apparent to persons skilled in the art to which the invention pertains are deemed to lie within the spirit and scope of the invention.

Claims (16)

  1. 1. An apparatus comprising:
    an instruction resource configured to perform an operation other than a peripheral operation, the operation specified in a first instruction dispatched from a first of a plurality of threads; and
    a peripheral unit interface configured to send a command message specifying a peripheral operation to a peripheral unit over a peripheral bus responsive to a second instruction dispatched from a second of the plurality of threads;
    wherein the instruction resource and the peripheral unit interface are configured to execute the first and second instructions concurrently during a same clock cycle.
  2. 2. The apparatus of claim 1, further comprising:
    a plurality of program counters, wherein each of the plurality of threads corresponds to one of the program counters.
  3. 3. The apparatus of claim 2, further comprising:
    a plurality of program base registers, each program base register corresponding to one of the program counters and to one of the threads and configured to provide a third instruction dispatched from a third of the plurality of threads that is fetched from a location corresponding to the sum of:
    the contents of the program counter corresponding to the third of the plurality of threads, and
    the contents of the program base register corresponding to the third of the plurality of threads.
  4. 4. The apparatus of claim 3, wherein the third instruction comprises a local transfer branch target within an instruction space for the third of the plurality of threads.
  5. 5. The apparatus of claim 2, further comprising:
    a plurality of data base registers, each data base register corresponding to one of the program counters and to one of the threads and configured to provide a third instruction dispatched from a third of the plurality of threads that operates on data from a location corresponding to the sum of:
    the contents of the program counter corresponding to the third of the plurality of threads, and
    the contents of the data base register corresponding to the third of the plurality of threads.
  6. 6. The apparatus of claim 5, wherein the location is within a data space for the third of the plurality of threads.
  7. 7. A method comprising:
    performing an operation other than a peripheral operation, the operation specified in a first instruction dispatched from a first of a plurality of threads; and
    sending a command message specifying a peripheral operation to a peripheral unit over a peripheral bus responsive to a second instruction dispatched from a second of the plurality of threads;
    wherein the first and second instructions are executed concurrently during a same clock cycle.
  8. 8. The method of claim 7, wherein each of the plurality of threads corresponds to one of a plurality of program counters.
  9. 9. The method of claim 8, wherein each of a plurality of program base registers corresponds to one of the program counters and to one of the threads, the method further comprising:
    fetching a third instruction from a third of the plurality of threads from a location corresponding to the sum of:
    the contents of the program counter corresponding to the third of the plurality of threads, and
    the contents of the program base register corresponding to the third of the plurality of threads.
  10. 10. The method of claim 9, wherein the third instruction comprises a local transfer branch target within an instruction space for the third of the plurality of threads.
  11. 11. The method of claim 8, wherein each of a plurality of data base registers corresponds to one of the program counters and to one of the threads, the method further comprising:
    fetching a third instruction dispatched from a third of the plurality of threads, where the third instruction operates on data from a location corresponding to the sum of:
    the contents of the program counter corresponding to the third of the plurality of threads, and
    the contents of the data base register corresponding to the third of the plurality of threads.
  12. 12. The method of claim 11, wherein the location is within a data space for the third of the plurality of threads.
  13. 13. An apparatus comprising:
    a plurality of program counters;
    a plurality of program base registers, each program base register corresponding to a program counter and to a thread; and
    an instruction processing unit to process instructions fetched from a program memory, wherein each instruction corresponds to a thread, the instruction for the corresponding thread fetched from a location corresponding to the sum of the contents of the program counter corresponding to the thread and the contents of the program base register corresponding to the thread.
  14. 14. The apparatus of claim 13, wherein the location comprises a local transfer branch target within an instruction space for the thread.
  15. 15. An apparatus comprising:
    a plurality of program counters;
    a plurality of data base registers, each data base register corresponding to a program counter and to a thread; and
    an instruction processing unit to process instructions fetched from a program memory, wherein each instruction corresponds to a thread, the instruction for the corresponding thread operating on data from a location corresponding to the sum of the contents of the program counter corresponding to the thread and the contents of the data base register corresponding to the thread.
  16. 16. The apparatus of claim 15, wherein the location is within a data space for the thread.
US12410760 1999-11-19 2009-03-25 Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus Abandoned US20090235258A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16668699 true 1999-11-19 1999-11-19
US09715772 US7512724B1 (en) 1999-11-19 2000-11-17 Multi-thread peripheral processing using dedicated peripheral bus
US12410760 US20090235258A1 (en) 1999-11-19 2009-03-25 Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12410760 US20090235258A1 (en) 1999-11-19 2009-03-25 Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus

Publications (1)

Publication Number Publication Date
US20090235258A1 true true US20090235258A1 (en) 2009-09-17

Family

ID=40474138

Family Applications (2)

Application Number Title Priority Date Filing Date
US09715772 Active 2025-07-31 US7512724B1 (en) 1999-11-19 2000-11-17 Multi-thread peripheral processing using dedicated peripheral bus
US12410760 Abandoned US20090235258A1 (en) 1999-11-19 2009-03-25 Multi-Thread Peripheral Processing Using Dedicated Peripheral Bus

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09715772 Active 2025-07-31 US7512724B1 (en) 1999-11-19 2000-11-17 Multi-thread peripheral processing using dedicated peripheral bus

Country Status (1)

Country Link
US (2) US7512724B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232154A1 (en) * 1999-11-19 2009-09-17 Government Agency - The United States Of America As Represented By The Secretary Of The Navy Prioritizing Resource Utilization In Multi-thread Computing System

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512724B1 (en) * 1999-11-19 2009-03-31 The United States Of America As Represented By The Secretary Of The Navy Multi-thread peripheral processing using dedicated peripheral bus
US7716521B1 (en) * 2005-05-06 2010-05-11 Oracle America, Inc. Multiple-core, multithreaded processor with flexible error steering mechanism
US8190982B2 (en) * 2006-09-29 2012-05-29 University Of Connecticut Error-tolerant multi-threaded memory systems with reduced error accumulation
US20080181254A1 (en) * 2007-01-25 2008-07-31 Inventec Corporation Data transmission method
US8271967B2 (en) * 2008-06-09 2012-09-18 Ricoh Company, Ltd. MFP software update using web service
US9058206B2 (en) * 2008-06-19 2015-06-16 Freescale emiconductor, Inc. System, method and program product for determining execution flow of the scheduler in response to setting a scheduler control variable by the debugger or by a processing entity
WO2009153621A1 (en) * 2008-06-19 2009-12-23 Freescale Semiconductor, Inc. A system, method and computer program product for scheduling processor entity tasks in a multiple-processing entity system
WO2009153620A1 (en) * 2008-06-19 2009-12-23 Freescale Semiconductor, Inc. A system, method and computer program product for scheduling a processing entity task
US9075623B2 (en) * 2012-01-18 2015-07-07 International Business Machines Corporation External auxiliary execution unit interface for format conversion of instruction from issue unit to off-chip auxiliary execution unit
US9672043B2 (en) 2014-05-12 2017-06-06 International Business Machines Corporation Processing of multiple instruction streams in a parallel slice processor
US9665372B2 (en) 2014-05-12 2017-05-30 International Business Machines Corporation Parallel slice processor with dynamic instruction stream mapping
US9760375B2 (en) 2014-09-09 2017-09-12 International Business Machines Corporation Register files for storing data operated on by instructions of multiple widths
US9720696B2 (en) * 2014-09-30 2017-08-01 International Business Machines Corporation Independent mapping of threads

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4106092A (en) * 1976-09-30 1978-08-08 Burroughs Corporation Interface system providing interfaces to central processing unit and modular processor-controllers for an input-output subsystem
US4394727A (en) * 1981-05-04 1983-07-19 International Business Machines Corporation Multi-processor task dispatching apparatus
US4449182A (en) * 1981-10-05 1984-05-15 Digital Equipment Corporation Interface between a pair of processors, such as host and peripheral-controlling processors in data processing systems
US5168547A (en) * 1989-12-29 1992-12-01 Supercomputer Systems Limited Partnership Distributed architecture for input/output for a multiprocessor system
US5179702A (en) * 1989-12-29 1993-01-12 Supercomputer Systems Limited Partnership System and method for controlling a highly parallel multiprocessor using an anarchy based scheduler for parallel execution thread scheduling
US5203002A (en) * 1989-12-27 1993-04-13 Wetzel Glen F System with a multiport memory and N processing units for concurrently/individually executing 2N-multi-instruction-words at first/second transitions of a single clock cycle
US5226131A (en) * 1989-12-27 1993-07-06 The United States Of America As Represented By The United States Department Of Energy Sequencing and fan-out mechanism for causing a set of at least two sequential instructions to be performed in a dataflow processing computer
US5418917A (en) * 1990-06-29 1995-05-23 Hitachi, Ltd. Method and apparatus for controlling conditional branch instructions for a pipeline type data processing apparatus
US5421014A (en) * 1990-07-13 1995-05-30 I-Tech Corporation Method for controlling multi-thread operations issued by an initiator-type device to one or more target-type peripheral devices
US5452452A (en) * 1990-06-11 1995-09-19 Cray Research, Inc. System having integrated dispatcher for self scheduling processors to execute multiple types of processes
US5524255A (en) * 1989-12-29 1996-06-04 Cray Research, Inc. Method and apparatus for accessing global registers in a multiprocessor system
US5560029A (en) * 1991-07-22 1996-09-24 Massachusetts Institute Of Technology Data processing system with synchronization coprocessor for multiple threads
US5812811A (en) * 1995-02-03 1998-09-22 International Business Machines Corporation Executing speculative parallel instructions threads with forking and inter-thread communication
US5815727A (en) * 1994-12-20 1998-09-29 Nec Corporation Parallel processor for executing plural thread program in parallel using virtual thread numbers
US5913059A (en) * 1996-08-30 1999-06-15 Nec Corporation Multi-processor system for inheriting contents of register from parent thread to child thread
US5938765A (en) * 1997-08-29 1999-08-17 Sequent Computer Systems, Inc. System and method for initializing a multinode multiprocessor computer system
US5951672A (en) * 1997-07-02 1999-09-14 International Business Machines Corporation Synchronization method for work distribution in a multiprocessor system
US5974438A (en) * 1996-12-31 1999-10-26 Compaq Computer Corporation Scoreboard for cached multi-thread processes
US6047122A (en) * 1992-05-07 2000-04-04 Tm Patents, L.P. System for method for performing a context switch operation in a massively parallel computer system
US6047355A (en) * 1993-04-30 2000-04-04 Intel Corporation Symmetric multiprocessing system with unified environment and distributed system functions
US6061710A (en) * 1997-10-29 2000-05-09 International Business Machines Corporation Multithreaded processor incorporating a thread latch register for interrupt service new pending threads
US6389446B1 (en) * 1996-07-12 2002-05-14 Nec Corporation Multi-processor system executing a plurality of threads simultaneously and an execution method therefor
US6535936B2 (en) * 1999-06-30 2003-03-18 Adaptec, Inc. SCSI phase status register for use in reducing instructions executed by an on-chip sequencer in asserting a SCSI acknowledge signal and method
US6668317B1 (en) * 1999-08-31 2003-12-23 Intel Corporation Microengine for parallel processor architecture
US6772412B2 (en) * 2000-03-16 2004-08-03 Omron Corporation Data processing device equipped with a thread switching circuit
US7512724B1 (en) * 1999-11-19 2009-03-31 The United States Of America As Represented By The Secretary Of The Navy Multi-thread peripheral processing using dedicated peripheral bus

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4106092A (en) * 1976-09-30 1978-08-08 Burroughs Corporation Interface system providing interfaces to central processing unit and modular processor-controllers for an input-output subsystem
US4394727A (en) * 1981-05-04 1983-07-19 International Business Machines Corporation Multi-processor task dispatching apparatus
US4449182A (en) * 1981-10-05 1984-05-15 Digital Equipment Corporation Interface between a pair of processors, such as host and peripheral-controlling processors in data processing systems
US4449182B1 (en) * 1981-10-05 1989-12-12
US5203002A (en) * 1989-12-27 1993-04-13 Wetzel Glen F System with a multiport memory and N processing units for concurrently/individually executing 2N-multi-instruction-words at first/second transitions of a single clock cycle
US5226131A (en) * 1989-12-27 1993-07-06 The United States Of America As Represented By The United States Department Of Energy Sequencing and fan-out mechanism for causing a set of at least two sequential instructions to be performed in a dataflow processing computer
US5179702A (en) * 1989-12-29 1993-01-12 Supercomputer Systems Limited Partnership System and method for controlling a highly parallel multiprocessor using an anarchy based scheduler for parallel execution thread scheduling
US5168547A (en) * 1989-12-29 1992-12-01 Supercomputer Systems Limited Partnership Distributed architecture for input/output for a multiprocessor system
US5524255A (en) * 1989-12-29 1996-06-04 Cray Research, Inc. Method and apparatus for accessing global registers in a multiprocessor system
US6195676B1 (en) * 1989-12-29 2001-02-27 Silicon Graphics, Inc. Method and apparatus for user side scheduling in a multiprocessor operating system program that implements distributive scheduling of processes
US5452452A (en) * 1990-06-11 1995-09-19 Cray Research, Inc. System having integrated dispatcher for self scheduling processors to execute multiple types of processes
US5418917A (en) * 1990-06-29 1995-05-23 Hitachi, Ltd. Method and apparatus for controlling conditional branch instructions for a pipeline type data processing apparatus
US5421014A (en) * 1990-07-13 1995-05-30 I-Tech Corporation Method for controlling multi-thread operations issued by an initiator-type device to one or more target-type peripheral devices
US5560029A (en) * 1991-07-22 1996-09-24 Massachusetts Institute Of Technology Data processing system with synchronization coprocessor for multiple threads
US6047122A (en) * 1992-05-07 2000-04-04 Tm Patents, L.P. System for method for performing a context switch operation in a massively parallel computer system
US6047355A (en) * 1993-04-30 2000-04-04 Intel Corporation Symmetric multiprocessing system with unified environment and distributed system functions
US5815727A (en) * 1994-12-20 1998-09-29 Nec Corporation Parallel processor for executing plural thread program in parallel using virtual thread numbers
US5812811A (en) * 1995-02-03 1998-09-22 International Business Machines Corporation Executing speculative parallel instructions threads with forking and inter-thread communication
US6389446B1 (en) * 1996-07-12 2002-05-14 Nec Corporation Multi-processor system executing a plurality of threads simultaneously and an execution method therefor
US5913059A (en) * 1996-08-30 1999-06-15 Nec Corporation Multi-processor system for inheriting contents of register from parent thread to child thread
US5974438A (en) * 1996-12-31 1999-10-26 Compaq Computer Corporation Scoreboard for cached multi-thread processes
US5951672A (en) * 1997-07-02 1999-09-14 International Business Machines Corporation Synchronization method for work distribution in a multiprocessor system
US5938765A (en) * 1997-08-29 1999-08-17 Sequent Computer Systems, Inc. System and method for initializing a multinode multiprocessor computer system
US6061710A (en) * 1997-10-29 2000-05-09 International Business Machines Corporation Multithreaded processor incorporating a thread latch register for interrupt service new pending threads
US6535936B2 (en) * 1999-06-30 2003-03-18 Adaptec, Inc. SCSI phase status register for use in reducing instructions executed by an on-chip sequencer in asserting a SCSI acknowledge signal and method
US6668317B1 (en) * 1999-08-31 2003-12-23 Intel Corporation Microengine for parallel processor architecture
US7512724B1 (en) * 1999-11-19 2009-03-31 The United States Of America As Represented By The Secretary Of The Navy Multi-thread peripheral processing using dedicated peripheral bus
US6772412B2 (en) * 2000-03-16 2004-08-03 Omron Corporation Data processing device equipped with a thread switching circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232154A1 (en) * 1999-11-19 2009-09-17 Government Agency - The United States Of America As Represented By The Secretary Of The Navy Prioritizing Resource Utilization In Multi-thread Computing System
US8531955B2 (en) 1999-11-19 2013-09-10 The United States Of America As Represented By The Secretary Of The Navy Prioritizing resource utilization in multi-thread computing system

Also Published As

Publication number Publication date Type
US7512724B1 (en) 2009-03-31 grant

Similar Documents

Publication Publication Date Title
US6526451B2 (en) Method and network device for creating circular queue structures in shared memory
US6681341B1 (en) Processor isolation method for integrated multi-processor systems
US5625825A (en) Random number generating apparatus for an interface unit of a carrier sense with multiple access and collision detect (CSMA/CD) ethernet data network
US5043938A (en) Node controller for a local area network
US5963543A (en) Error detection and correction apparatus for an asynchronous transfer mode (ATM) network device
US5682480A (en) Parallel computer system for performing barrier synchronization by transferring the synchronization packet through a path which bypasses the packet buffer in response to an interrupt
US6327615B1 (en) Method and system of controlling transfer of data by updating descriptors in descriptor rings
US5708779A (en) Multimedia system and method of controlling data transfer between a host system and a network adapter using a DMA engine
US6526501B2 (en) Adapter for a microprocessor
US7546444B1 (en) Register set used in multithreaded parallel processor architecture
US6378064B1 (en) Microcomputer
US5133062A (en) RAM buffer controller for providing simulated first-in-first-out (FIFO) buffers in a random access memory
US5802287A (en) Single chip universal protocol multi-function ATM network interface
US6976095B1 (en) Port blocking technique for maintaining receive packet ordering for a multiple ethernet port switch
US5222216A (en) High performance communications interface for multiplexing a plurality of computers to a high performance point to point communications bus
US6862282B1 (en) Method and apparatus for packet ordering in a data processing system
US4101960A (en) Scientific processor
US7181541B1 (en) Host-fabric adapter having hardware assist architecture and method of connecting a host system to a channel-based switched fabric in a data network
US20020019926A1 (en) Switch/network adapter port for clustered computers employing a chain of multi-adaptive processors in a dual in-line memory module format
US6665737B2 (en) Microprocessor chip includes an addressable external communication port which connects to an external computer via an adapter
US6629237B2 (en) Solving parallel problems employing hardware multi-threading in a parallel processing environment
EP0549924A1 (en) Asynchronous co-processor data mover method and means
US6631462B1 (en) Memory shared between processing threads
US6854025B2 (en) DMA scheduling mechanism
US6401155B1 (en) Interrupt/software-controlled thread processing

Legal Events

Date Code Title Description
AS Assignment

Owner name: UNITED STATES OF AMERICA AS REPRESENTED BY THE SEC

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ACORN NETWORKS, INC.;REEL/FRAME:022534/0045

Effective date: 20020611

Owner name: ACORN NETWORKS, INC., VIRGINIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:DENNIS, JACK B.;SANDBOTE, SAM B.;REEL/FRAME:022534/0033

Effective date: 20001117