US7058743B2 - Method and device for dynamic interrupt target selection - Google Patents

Method and device for dynamic interrupt target selection Download PDF

Info

Publication number
US7058743B2
US7058743B2 US10/207,611 US20761102A US7058743B2 US 7058743 B2 US7058743 B2 US 7058743B2 US 20761102 A US20761102 A US 20761102A US 7058743 B2 US7058743 B2 US 7058743B2
Authority
US
United States
Prior art keywords
target
identifier
processor
source
entry
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.)
Expired - Lifetime, expires
Application number
US10/207,611
Other versions
US20040019723A1 (en
Inventor
Boris Ostrovsky
Christopher J. Jackson
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.)
Oracle America Inc
Original Assignee
Sun Microsystems Inc
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
Application filed by Sun Microsystems Inc filed Critical Sun Microsystems Inc
Priority to US10/207,611 priority Critical patent/US7058743B2/en
Assigned to SUN MICROSYSTEMS, INC. reassignment SUN MICROSYSTEMS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: JACKSON, CHRISTOPHER J., OSTROVSKY, BORIS
Publication of US20040019723A1 publication Critical patent/US20040019723A1/en
Application granted granted Critical
Publication of US7058743B2 publication Critical patent/US7058743B2/en
Assigned to Oracle America, Inc. reassignment Oracle America, Inc. MERGER AND CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: Oracle America, Inc., ORACLE USA, INC., SUN MICROSYSTEMS, INC.
Assigned to Oracle America, Inc. reassignment Oracle America, Inc. MERGER AND CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: Oracle America, Inc., ORACLE USA, INC., SUN MICROSYSTEMS, INC.
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Definitions

  • the present invention relates to targeting interrupts in a computer system.
  • I/O devices that may incorporate “channel capability” that allows device behavior to be tailored for each operation.
  • channel capability allows device behavior to be tailored for each operation.
  • the number of channels supported by a device may number in the millions.
  • a system may be implemented according to the InfiniBandTM Architecture Specification developed by the InfiniBand Trade Association SM , the specification for which is incorporated herein by reference (InfiniBandTM Architecture Specification, version 1.0).
  • the InfiniBandTM Architecture defines a system area network for connecting host processor nodes.
  • the term “node” as used in this specification and in any appended claims means an entity in a computer network or system that includes at least one processor but may include arbitrarily many processors.
  • the InfiniBandTM architecture further defines a switched communications fabric allowing many devices to concurrently communicate with high bandwidth and low latency in a protected, remotely managed environment. System nodes can range from a small server with one processor and a few I/O devices to a massively parallel supercomputer installation with hundreds of processors and thousands of I/O devices.
  • system 100 consists of processor nodes 102 , 103 , and 104 and I/O subsystems 105 , 106 , 107 , and 108 connected through the fabric 101 .
  • the fabric is made up of cascaded switches 109 and routers 110 .
  • I/O subsystems can range in complexity from a single attached device, such as a SCSI or LAN adapter to large memory rich RAID subsystems 107 .
  • the number of input/output channels that can be supported by an intelligent I/O subsystem, such as a Host Channel Adapter (“HCA”), may number in the millions according to the InfiniBandTM specification.
  • HCA Host Channel Adapter
  • An operation is initiated by a process requesting an I/O channel to perform an operation, e.g., for InfiniBand, sending or receiving a message or performing a direct memory access transfer.
  • an I/O device may interrupt a processor to signal the need for further processing. If a processor that is targeted for such an interrupt cannot service interrupts (e.g., it has been taken off-line or become disabled), a variety of negative consequences can ensue including fatal timeouts that may crash a computer system. Thus, it may be necessary for the operating system to retarget an interrupt from one processor to another processor for an operation that is in process. Further, it may be desirable to retarget interrupts directed to a given processor to another processor for load balancing purposes, or otherwise. Additionally, it may be useful in some systems to target interrupts for an operation to the processor or node that initiated the operation.
  • a method is provided to dynamically retarget interrupts for operations in a computer system.
  • An interrupt target table is maintained that associates source processors for operations with the target processor that will service interrupts that occur when operations initiated by a given source processor complete.
  • the identity of the initiating node or processor for the operation is stored with an operation identifier, associating the node or processor with the operation.
  • the interrupt target table is queried using the identity of the source processor that is associated with the operation. The interrupt will be directed to the target processor identified from the table.
  • interrupts for that processor can be redirected by searching the interrupt target table and replacing target processor identifiers that match the unavailable processor. In this way, interrupts can be quickly retargeted from one processor to another, both for in-process and for future operations.
  • a method for directing interrupts to an initiating processor or node.
  • the identity of the initiating node or processor for the operation is stored with an operation identifier, associating the node or processor with the operation.
  • the interrupt is directed to the initiating processor or node.
  • FIG. 1 shows a block diagram of a network of computer nodes according to the InfiniBandTM specification
  • FIG. 2A shows a portion of an InfiniBandTM host including a device that controls an input/output operation according to an embodiment of the invention
  • FIG. 2B shows further features of the device of FIG. 2A ;
  • FIG. 3 shows a flow diagram for loading an interrupt target table according to an embodiment of the invention
  • FIG. 4 shows a flow diagram for setting up an I/O operation according to an embodiment of the invention
  • FIG. 5 shows a flow diagram for retargeting an interrupt in an embodiment of the invention.
  • FIG. 6 shows a flow diagram for interrupting a target processor.
  • FIG. 2A shows a block diagram for a portion of a computer system 150 including a channel adaptor of an InfiniBandTM fabric 100 , according to an embodiment of the invention.
  • This portion includes three nodes, 155 , 157 and 159 , that are labeled “m”, “i” and “j”.
  • Each node includes two processors, labeled D 0 and D 1 , respectively.
  • a channel adaptor 170 includes a plurality of channels, of which two are shown: IOC 0 180 and IOC 1 182 .
  • FIG. 2B shows a further view of channel adaptor 170 , which includes an interrupt target table 188 .
  • the target table includes a plurality of entries, several of which are shown 190 , 192 , 194 , 196 , and 198 .
  • Each table entry includes a source identifier value and a target identifier value.
  • the source identifier value in this embodiment identifies a processor node and the target identifier value identifies a node and a processor within that node.
  • Entry 190 includes a source identifier value of node “0” and a target identifier of processor “0” in node “0.”
  • Entry 192 identifies node “i” as the source and node “i”, processor “0” as the target.
  • Entry 194 identifies node “j” as the source and node “m”, processor “1” as the target, and so forth.
  • an interrupt target table 188 is loaded 300 , typically by the operating system.
  • the table contains the mapping between sources that initiate operations and the target processor that will be interrupted when the operation completes.
  • Each entry in the table is loaded 310 with a source identifier value and a target identifier value.
  • a test is performed to determine if additional source identifier values are available 320 . If additional source identifiers are available, another entry is loaded 310 . Otherwise, loading of target table 188 is complete 330 .
  • a channel is assigned to the operation and a channel state register ( 180 or 182 ) is loaded 410 with a source identifier for the processor that initiated the operation. Subsequently, the setup 110 operation for the assigned channel is complete 420 .
  • interrupts may be retargeted, typically by the operating system, to other processors as needed 500 (see FIG. 5 ).
  • Each entry of the target table is scanned 510 to see if the target identifier value matches the identifier of the processor to be brought off-line or that has become unavailable. If a match occurs 520 , the target identifier in that entry is replaced 530 by the target identifier of the processor that will service the interrupt when operations corresponding to that target table entry complete.
  • the operations that correspond to that target table entry are all operations initiated by processors identified by the source identifier value contained in that entry.
  • a processor may be interrupted to perform further processing 600 .
  • the source identifier value corresponding to the processor that initiated the operation, is retrieved from the channel state register 610 .
  • the interrupt target table entry corresponding to the source identifier value is determined 620 .
  • the target identifier value from this entry is then used 630 to identify the processor that will service the interrupt. If interrupts for the processor have been retargeted since the operation was initiated, the entry in the interrupt target table will contain the value of the retargeted processor, and the interrupt will be directed 640 to that processor.
  • the interrupt operation is then completed 650 . Thus, redirection of interrupts from a target processor that has become unavailable to another processor that can service interrupts is facilitated.
  • a method of targeting interrupts to the processor or node that initiated the operation is provided.
  • An interrupt target table as in the preceding embodiment is not required.
  • a source identifier value corresponding to the processor or node that initiated the operation, is stored in a channel state register, as described previously with regard to FIG. 4 .
  • the source identifier value is retrieved from the channel state register and an interrupt is then directed to the node or processor that initiated the operation.
  • This embodiment of the invention advantageously ensures that the source of the operation also processes any interrupts associated with the operation.
  • a device incorporates an embodiment of the invention that targets interrupts to the processor that initiated the operation.
  • the device includes logic for initiating a given operation including associating the source identifier with the given operation and logic for using the source identifier associated with the given operation to determine the target to interrupt, when the given operation completes
  • mapping associating a source processor for an operation and an interrupt target may be described using any one of a variety of data structures, as are known in the art, of which a table is just one example.
  • the term “table” in this specification and in the appended claims is intended to include any one or combination of these data structures.
  • This mapping may be updated for any one of a variety of reasons: for example, one mapping between source processor and target processor may be loaded at system startup time and the mapping may be updated when a node or processor is made operational, for example.
  • the target identifier could merely identify the node to interrupt.
  • the assignment of the processor within the node to service the interrupt may then be made according to any method known to those skilled in the art.
  • logic blocks e.g., programs, modules, functions, or subroutines
  • logic elements may be added, modified, omitted, performed in a different order, or implemented using different logic constructs (e.g., logic gates, looping primitives, conditional logic, and other logic constructs) without changing the overall results or otherwise departing from the true scope of the invention.
  • the present invention may be embodied in many different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof.
  • a processor e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer
  • programmable logic for use with a programmable logic device
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • Source code may include a series of computer program instructions implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as FORTRAN, C, C++, JAVA, or HTML) for use with various operating systems or operating environments.
  • the source code may define and use various data structures and communication messages.
  • the source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
  • the computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), a PC card (e.g., PCMCIA card), or other memory device.
  • the computer program may be fixed in any form in a signal that is transmittable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies, networking technologies, and internetworking technologies.
  • the computer program may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software or a magnetic tape), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web.)
  • printed or electronic documentation e.g., shrink wrapped software or a magnetic tape
  • a computer system e.g., on system ROM or fixed disk
  • a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web.)
  • Hardware logic including programmable logic for use with a programmable logic device
  • implementing all or part of the functionality previously described herein may be designed using traditional manual methods, or may be designed, captured, simulated, or documented electronically using various tools, such as Computer Aided Design (CAD), a hardware description language (e.g., VHDL or AHDL), or a PLD programming language (e.g., PALASM, ABEL, or CUPL.)
  • CAD Computer Aided Design
  • a hardware description language e.g., VHDL or AHDL
  • PLD programming language e.g., PALASM, ABEL, or CUPL.

Abstract

A method and device for dynamically targeting interrupts in a computer system. When an operation is initiated, an identifier for the initiator of the operation is stored along with an operation identifier. When an operation completes or needs processor attention due to an error condition or otherwise, the processor or node to interrupt is determined based on the stored indication of the initiator of the operation. An interrupt target data structure may be provided that contains associations between sources that initiate operations and those targets that can service interrupts. If a target scheduled to field an interrupt becomes unavailable, the interrupt can be retargeted to another processor or node by reloading an entry in the interrupt target data structure.

Description

TECHNICAL FIELD
The present invention relates to targeting interrupts in a computer system.
BACKGROUND OF THE INVENTION
In today's multi-host, multi-processor computing environment, the number of processors available to initiate input-output (“I/O”) operations and to perform further processing, when an operation completes, continues to increase. Further flexibility is provided by I/O devices that may incorporate “channel capability” that allows device behavior to be tailored for each operation. In some implementations, the number of channels supported by a device may number in the millions.
For example, a system may be implemented according to the InfiniBand™ Architecture Specification developed by the InfiniBand Trade AssociationSM, the specification for which is incorporated herein by reference (InfiniBand™ Architecture Specification, version 1.0). The InfiniBand™ Architecture defines a system area network for connecting host processor nodes. The term “node” as used in this specification and in any appended claims means an entity in a computer network or system that includes at least one processor but may include arbitrarily many processors. The InfiniBand™ architecture further defines a switched communications fabric allowing many devices to concurrently communicate with high bandwidth and low latency in a protected, remotely managed environment. System nodes can range from a small server with one processor and a few I/O devices to a massively parallel supercomputer installation with hundreds of processors and thousands of I/O devices.
Communication among InfiniBand™ nodes is accomplished according to an InfiniBand™ protocol. In addition, the IP (Internet protocol) friendly nature of the architecture allows bridging to an Internet, Intranet, or connection to remote computer systems. As shown in FIG. 1, system 100 consists of processor nodes 102, 103, and 104 and I/O subsystems 105, 106, 107, and 108 connected through the fabric 101. The fabric is made up of cascaded switches 109 and routers 110. I/O subsystems can range in complexity from a single attached device, such as a SCSI or LAN adapter to large memory rich RAID subsystems 107. The number of input/output channels that can be supported by an intelligent I/O subsystem, such as a Host Channel Adapter (“HCA”), may number in the millions according to the InfiniBand™ specification.
An operation is initiated by a process requesting an I/O channel to perform an operation, e.g., for InfiniBand, sending or receiving a message or performing a direct memory access transfer. Upon completion of an operation, an I/O device may interrupt a processor to signal the need for further processing. If a processor that is targeted for such an interrupt cannot service interrupts (e.g., it has been taken off-line or become disabled), a variety of negative consequences can ensue including fatal timeouts that may crash a computer system. Thus, it may be necessary for the operating system to retarget an interrupt from one processor to another processor for an operation that is in process. Further, it may be desirable to retarget interrupts directed to a given processor to another processor for load balancing purposes, or otherwise. Additionally, it may be useful in some systems to target interrupts for an operation to the processor or node that initiated the operation.
SUMMARY OF THE INVENTION
In an embodiment of the present invention, a method is provided to dynamically retarget interrupts for operations in a computer system. An interrupt target table is maintained that associates source processors for operations with the target processor that will service interrupts that occur when operations initiated by a given source processor complete. When an operation is initiated, the identity of the initiating node or processor for the operation is stored with an operation identifier, associating the node or processor with the operation. When the operation completes or otherwise requires attention from a processor, the interrupt target table is queried using the identity of the source processor that is associated with the operation. The interrupt will be directed to the target processor identified from the table. If a target processor cannot service interrupts, interrupts for that processor can be redirected by searching the interrupt target table and replacing target processor identifiers that match the unavailable processor. In this way, interrupts can be quickly retargeted from one processor to another, both for in-process and for future operations.
In another embodiment of the invention, a method is provided for directing interrupts to an initiating processor or node. When an operation is initiated, the identity of the initiating node or processor for the operation is stored with an operation identifier, associating the node or processor with the operation. When the operation completes or otherwise requires attention, the interrupt is directed to the initiating processor or node.
BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing features of the invention will be more readily understood by reference to the following detailed description, taken with reference to the accompanying drawings, in which:
FIG. 1 shows a block diagram of a network of computer nodes according to the InfiniBand™ specification;
FIG. 2A shows a portion of an InfiniBand™ host including a device that controls an input/output operation according to an embodiment of the invention;
FIG. 2B shows further features of the device of FIG. 2A;
FIG. 3 shows a flow diagram for loading an interrupt target table according to an embodiment of the invention;
FIG. 4 shows a flow diagram for setting up an I/O operation according to an embodiment of the invention;
FIG. 5 shows a flow diagram for retargeting an interrupt in an embodiment of the invention; and
FIG. 6 shows a flow diagram for interrupting a target processor.
DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS
In an embodiment of the present invention, a method for dynamically retargeting processor interrupts for an operation performed by a computer system is provided. While an I/O operation will be used for purposes of illustration, other operations performed by a computer system that generate interrupts that do not involve input/output are within the scope of the invention as described in the claims. FIG. 2A shows a block diagram for a portion of a computer system 150 including a channel adaptor of an InfiniBand™ fabric 100, according to an embodiment of the invention. This portion includes three nodes, 155, 157 and 159, that are labeled “m”, “i” and “j”. Each node includes two processors, labeled D0 and D1, respectively. A channel adaptor 170 includes a plurality of channels, of which two are shown: IOC0 180 and IOC1 182. FIG. 2B shows a further view of channel adaptor 170, which includes an interrupt target table 188. The target table includes a plurality of entries, several of which are shown 190, 192, 194, 196, and 198. Each table entry includes a source identifier value and a target identifier value. The source identifier value in this embodiment identifies a processor node and the target identifier value identifies a node and a processor within that node. Entry 190 includes a source identifier value of node “0” and a target identifier of processor “0” in node “0.” Entry 192 identifies node “i” as the source and node “i”, processor “0” as the target. Entry 194 identifies node “j” as the source and node “m”, processor “1” as the target, and so forth.
Referring to FIG. 3, an interrupt target table 188 is loaded 300, typically by the operating system. The table contains the mapping between sources that initiate operations and the target processor that will be interrupted when the operation completes. Each entry in the table is loaded 310 with a source identifier value and a target identifier value. Subsequent to loading an entry, a test is performed to determine if additional source identifier values are available 320. If additional source identifiers are available, another entry is loaded 310. Otherwise, loading of target table 188 is complete 330.
When an I/O operation is initiated 400, as shown in FIG. 4, a channel is assigned to the operation and a channel state register (180 or 182) is loaded 410 with a source identifier for the processor that initiated the operation. Subsequently, the setup 110 operation for the assigned channel is complete 420.
If a processor is brought off-line or otherwise becomes unavailable to service interrupts, interrupts may be retargeted, typically by the operating system, to other processors as needed 500 (see FIG. 5). Each entry of the target table is scanned 510 to see if the target identifier value matches the identifier of the processor to be brought off-line or that has become unavailable. If a match occurs 520, the target identifier in that entry is replaced 530 by the target identifier of the processor that will service the interrupt when operations corresponding to that target table entry complete. The operations that correspond to that target table entry are all operations initiated by processors identified by the source identifier value contained in that entry. Once all entries of the table are checked 540 and reloaded as needed, retargeting interrupts is complete 550.
When an operation completes or otherwise needs processor attention, such as for an error condition, a processor may be interrupted to perform further processing 600. The source identifier value, corresponding to the processor that initiated the operation, is retrieved from the channel state register 610. The interrupt target table entry corresponding to the source identifier value is determined 620. The target identifier value from this entry is then used 630 to identify the processor that will service the interrupt. If interrupts for the processor have been retargeted since the operation was initiated, the entry in the interrupt target table will contain the value of the retargeted processor, and the interrupt will be directed 640 to that processor. The interrupt operation is then completed 650. Thus, redirection of interrupts from a target processor that has become unavailable to another processor that can service interrupts is facilitated.
In another embodiment of the invention, a method of targeting interrupts to the processor or node that initiated the operation is provided. An interrupt target table as in the preceding embodiment is not required. When an operation is initiated, a source identifier value, corresponding to the processor or node that initiated the operation, is stored in a channel state register, as described previously with regard to FIG. 4. When an operation completes or otherwise needs processor attention, the source identifier value is retrieved from the channel state register and an interrupt is then directed to the node or processor that initiated the operation. This embodiment of the invention advantageously ensures that the source of the operation also processes any interrupts associated with the operation.
A device incorporates an embodiment of the invention that targets interrupts to the processor that initiated the operation. The device includes logic for initiating a given operation including associating the source identifier with the given operation and logic for using the source identifier associated with the given operation to determine the target to interrupt, when the given operation completes
The above-described embodiments are shown for purposes of illustration and not by way of limitation. The mapping associating a source processor for an operation and an interrupt target may be described using any one of a variety of data structures, as are known in the art, of which a table is just one example. The term “table” in this specification and in the appended claims is intended to include any one or combination of these data structures. This mapping may be updated for any one of a variety of reasons: for example, one mapping between source processor and target processor may be loaded at system startup time and the mapping may be updated when a node or processor is made operational, for example. Further, while the embodiments described above employ a target identifier that identifies a node and a specific processor within the node, the target identifier could merely identify the node to interrupt. The assignment of the processor within the node to service the interrupt may then be made according to any method known to those skilled in the art.
It should be noted that the flow diagrams are used herein to demonstrate various aspects of the invention, and should not be construed to limit the present invention to any particular logic flow or logic implementation. The described logic may be partitioned into different logic blocks (e.g., programs, modules, functions, or subroutines) without changing the overall results or otherwise departing from the true scope of the invention. Oftentimes, logic elements may be added, modified, omitted, performed in a different order, or implemented using different logic constructs (e.g., logic gates, looping primitives, conditional logic, and other logic constructs) without changing the overall results or otherwise departing from the true scope of the invention.
The present invention may be embodied in many different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof.
Computer program logic implementing all or part of the functionality previously described herein may be embodied in various forms, including, but in no way limited to, a source code form, a computer executable form, and various intermediate forms (e.g., forms generated by an assembler, compiler, linker, or locator.) Source code may include a series of computer program instructions implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as FORTRAN, C, C++, JAVA, or HTML) for use with various operating systems or operating environments. The source code may define and use various data structures and communication messages. The source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
The computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), a PC card (e.g., PCMCIA card), or other memory device. The computer program may be fixed in any form in a signal that is transmittable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies, networking technologies, and internetworking technologies. The computer program may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software or a magnetic tape), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web.)
Hardware logic (including programmable logic for use with a programmable logic device) implementing all or part of the functionality previously described herein may be designed using traditional manual methods, or may be designed, captured, simulated, or documented electronically using various tools, such as Computer Aided Design (CAD), a hardware description language (e.g., VHDL or AHDL), or a PLD programming language (e.g., PALASM, ABEL, or CUPL.)
The described embodiments of the invention are intended to be merely exemplary and numerous variations and modifications will be apparent to those skilled in the art. All such variations and modifications are intended to be within the scope of the present invention as defined in the appended claims.

Claims (17)

1. A method for retargeting interrupts in a computer system, the method comprising:
providing an interrupt target data structure which includes a plurality of entries, wherein each entry includes a source identifier and a target identifier of a plurality of target identifiers, said target identifier identifying one of a plurality of target resources;
in response to detecting a first target resource of the plurality of target resources is unavailable:
examining each entry of the target data structure; and
replacing each instance of a first target identifier in the target data structure with a target identifier that is different from the first target identifier, in response to determining the first target identifier corresponds to the unavailable first target resource.
2. A method according to claim 1 wherein a first entry of the plurality of entries includes a first source identifier and a second target identifier, the method further comprising:
associating a first operation with the first source identifier and the first entry;
accessing the first entry at the completion of the first operation to retrieve the second target identifier;
interrupting a processor that corresponds to the second target identifier;
associating a second operation with the first source identifier and the first entry;
detecting the processor corresponding to the second target identifier is unavailable;
replacing the second target identifier in the first entry with a third target identifier;
accessing the first entry at the completion of the second operation to retrieve the third target identifier; and
interrupting a processor which corresponds to the third target identifier.
3. A method according to claim 1 further including:
initiating an operation and associating the source identifier with the operation; and
using the source identifier associated with the operation to access an entry in the interrupt target data structure to determine a target processor to interrupt, when the operation completes.
4. A method according to claim 1, wherein the source identifier for each entry specifies at least a given source node and a given processor within the node.
5. A method according to claim 1, wherein the source identifier for each entry specifies at least a given source node.
6. A device for interrupting a target processor in a computer system at the completion of an operation initiated by a given source processor within a given source node, the device comprising:
an interrupt target data structure, the data structure including a plurality of entries, each entry including a source identifier and a target identifier of a plurality of target identifiers, said target identifier identifying one of a plurality of target resources;
logic configured to respond to detecting a first target resource of the plurality of target resources is unavailable by:
examining each entry of the target data structure; and
replacing each instance of a first target identifier in the target data structure with a target identifier that is different from the first target identifier, in response to determining the first target identifier corresponds to the unavailable first target resource.
7. A device according to claim 6 wherein a first entry of the plurality of entries includes a first source identifier and a second target identifier, the device further comprising logic configured to:
associate a first operation with the first source identifier and the first entry;
access the first entry at the completion of the first operation to retrieve the second target identifier;
interrupt a processor that corresponds to the second target identifier;
associate a second operation with the first source identifier and the first entry;
detect the processor corresponding to the second target identifier is unavailable;
replace the second target identifier in the first entry with a third target identifier;
access the first entry at the completion of the second operation to retrieve the third target identifier; and
interrupt a processor which corresponds to the third target identifier.
8. A device according to claim 6 further including:
logic for initiating an operation and associating the source identifier with the operation; and
logic for using the source identifier associated with the operation to access an entry in the interrupt target data structure to determine a processor to interrupt, when the operation completes.
9. A device according to claim 6, wherein the source identifier for each entry specifies at least a given source node and a given processor within the source node.
10. A device for interrupting a target processor in a computer system at the completion of an operation initiated by a given source processor within a given source node, the device comprising:
means for associating each of a plurality of source identifiers with a target identifier of a plurality of target identifiers, each of said target identifiers identifying one of a plurality of target resources;
means for detecting a target resource of the plurality of target resources is unavailable;
means for examining each of the associations of source identifiers and target identifiers and replacing in the means for associating each instance of a first target identifier with a target identifier that is different from the first target identifier, in response to determining the first target identifier corresponds to the unavailable first target resource.
11. A device according to claim 10 wherein a first source identifier is associated with a second target identifier, the device further including:
means for associating a first operation with the first source identifier;
means for retrieving the second target identifier at the completion of the first operation and interrupting a processor that corresponds to the second target identifier;
means for associating a second operation with the first source identifier;
means for detecting the processor corresponding to the second target identifier is unavailable;
means for replacing the second target identifier with a third target identifier;
means for retrieving the third target identifier at the completion of the second operation and interrupting a processor that corresponds to the third target identifier.
12. A device according to claim 10 further including:
means for initiating an operation and associating the source identifier with the operation; and
means for using the source identifier associated with the operation to access a target identifier to determine a processor to interrupt, when the operation completes.
13. A device according to claim 10, wherein each source identifier specifies at least a given source node and a given processor within the source node.
14. A method according to claim 1, wherein the target identifier for each entry specifies at least a given target node.
15. A method according to claim 14, wherein the target identifier further specifies a processor within a given target node.
16. A device according to claim 6, wherein the target identifier specifies at least a given target node.
17. A device according to claim 16, wherein the target identifier further specifies a processor within a given target node.
US10/207,611 2002-07-29 2002-07-29 Method and device for dynamic interrupt target selection Expired - Lifetime US7058743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/207,611 US7058743B2 (en) 2002-07-29 2002-07-29 Method and device for dynamic interrupt target selection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/207,611 US7058743B2 (en) 2002-07-29 2002-07-29 Method and device for dynamic interrupt target selection

Publications (2)

Publication Number Publication Date
US20040019723A1 US20040019723A1 (en) 2004-01-29
US7058743B2 true US7058743B2 (en) 2006-06-06

Family

ID=30770482

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/207,611 Expired - Lifetime US7058743B2 (en) 2002-07-29 2002-07-29 Method and device for dynamic interrupt target selection

Country Status (1)

Country Link
US (1) US7058743B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221193A1 (en) * 2003-04-17 2004-11-04 International Business Machines Corporation Transparent replacement of a failing processor
US20070005818A1 (en) * 2005-06-30 2007-01-04 Fujitsu Limited Method and apparatus for managing load on a plurality of processors in network storage system
US20080071947A1 (en) * 2006-09-14 2008-03-20 Fischer Matthew L Method of balancing I/O device interrupt service loading in a computer system
US20090327555A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Processor Interrupt Determination
US20140047151A1 (en) * 2012-08-09 2014-02-13 John R. Feehrer Interrupt processing unit for preventing interrupt loss

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099977B2 (en) * 2004-01-12 2006-08-29 Hewlett-Packard Development Company, L.P. Processor interrupt filtering
US7493620B2 (en) * 2004-06-18 2009-02-17 Hewlett-Packard Development Company, L.P. Transfer of waiting interrupts
US20060095624A1 (en) * 2004-11-03 2006-05-04 Ashok Raj Retargeting device interrupt destinations
US7702835B2 (en) * 2005-02-03 2010-04-20 Oracle America, Inc. Tagged interrupt forwarding
US7477186B2 (en) * 2005-10-11 2009-01-13 Sony Ericsson Mobile Communications Ab Memory systems with column read to an arithmetic operation circuit, pattern detector circuits and methods and computer program products for the same
US8255577B2 (en) * 2007-04-26 2012-08-28 Hewlett-Packard Development Company, L.P. I/O forwarding technique for multi-interrupt capable devices
US8491305B2 (en) * 2009-11-05 2013-07-23 Yan Pogorelsky System and method for aligning teeth
US8419430B2 (en) * 2009-11-05 2013-04-16 Yan Pogorelsky System and method for incrementally moving teeth
EP2444903A1 (en) 2010-09-29 2012-04-25 STMicroelectronics (Grenoble 2) SAS A transaction reordering arrangement
ITTO20120470A1 (en) 2012-05-30 2013-12-01 St Microelectronics Srl PROCEDURE FOR MANAGING ACCESS AND RELATIONSHIP SYSTEM TRANSACTIONS
GB201501491D0 (en) * 2015-01-29 2015-03-18 Lg Fuel Cell Systems Inc Method and apparatus for thermal control in a fuel cell
US10802998B2 (en) * 2016-03-29 2020-10-13 Intel Corporation Technologies for processor core soft-offlining

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5555430A (en) 1994-05-31 1996-09-10 Advanced Micro Devices Interrupt control architecture for symmetrical multiprocessing system
US5555420A (en) * 1990-12-21 1996-09-10 Intel Corporation Multiprocessor programmable interrupt controller system with separate interrupt bus and bus retry management
US5857090A (en) * 1995-12-29 1999-01-05 Intel Corporation Input/output subsystem having an integrated advanced programmable interrupt controller for use in a personal computer
US5892957A (en) * 1995-03-31 1999-04-06 Sun Microsystems, Inc. Method and apparatus for interrupt communication in packet-switched microprocessor-based computer system
US5987538A (en) * 1997-08-15 1999-11-16 Compaq Computer Corporation Apparatus for initiating generation of an inter-processor interrupt by a peripheral device not directly connected to any of the multi-processor local interrupt controllers
US6189065B1 (en) * 1998-09-28 2001-02-13 International Business Machines Corporation Method and apparatus for interrupt load balancing for powerPC processors
US6192442B1 (en) * 1998-04-29 2001-02-20 Intel Corporation Interrupt controller
US6237058B1 (en) * 1997-06-16 2001-05-22 Nec Corporation Interrupt load distribution system for shared bus type multiprocessor system and interrupt load distribution method
US20020007445A1 (en) * 1998-06-29 2002-01-17 Blumenau Steven M. Configuring vectors of logical storage units for data storage partitioning and sharing
US20020040402A1 (en) * 2000-09-28 2002-04-04 International Business Machines Corporation System and method for implementing a clustered load balancer
US20020161848A1 (en) * 2000-03-03 2002-10-31 Willman Charles A. Systems and methods for facilitating memory access in information management environments
US20020166018A1 (en) * 2001-05-02 2002-11-07 Kim Jason Seung-Min Multiprocessor interrupt handling system and method
US20030061423A1 (en) * 2001-09-21 2003-03-27 Rankin Linda J. Interrupt method, system and medium
US20030105798A1 (en) * 2001-12-03 2003-06-05 Ted Kim Methods and apparatus for distributing interrupts
US20030110336A1 (en) * 2001-12-11 2003-06-12 Kyoung Park Method and apparatus for interrupt redirection for arm processors
US20030210686A1 (en) * 2001-10-18 2003-11-13 Troika Networds, Inc. Router and methods using network addresses for virtualization
US20040054866A1 (en) * 1998-06-29 2004-03-18 Blumenau Steven M. Mapping of hosts to logical storage units and data storage ports in a data processing system

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5555420A (en) * 1990-12-21 1996-09-10 Intel Corporation Multiprocessor programmable interrupt controller system with separate interrupt bus and bus retry management
US5555430A (en) 1994-05-31 1996-09-10 Advanced Micro Devices Interrupt control architecture for symmetrical multiprocessing system
US5892957A (en) * 1995-03-31 1999-04-06 Sun Microsystems, Inc. Method and apparatus for interrupt communication in packet-switched microprocessor-based computer system
US5857090A (en) * 1995-12-29 1999-01-05 Intel Corporation Input/output subsystem having an integrated advanced programmable interrupt controller for use in a personal computer
US6237058B1 (en) * 1997-06-16 2001-05-22 Nec Corporation Interrupt load distribution system for shared bus type multiprocessor system and interrupt load distribution method
US5987538A (en) * 1997-08-15 1999-11-16 Compaq Computer Corporation Apparatus for initiating generation of an inter-processor interrupt by a peripheral device not directly connected to any of the multi-processor local interrupt controllers
US6192442B1 (en) * 1998-04-29 2001-02-20 Intel Corporation Interrupt controller
US20020007445A1 (en) * 1998-06-29 2002-01-17 Blumenau Steven M. Configuring vectors of logical storage units for data storage partitioning and sharing
US20040054866A1 (en) * 1998-06-29 2004-03-18 Blumenau Steven M. Mapping of hosts to logical storage units and data storage ports in a data processing system
US6189065B1 (en) * 1998-09-28 2001-02-13 International Business Machines Corporation Method and apparatus for interrupt load balancing for powerPC processors
US20020161848A1 (en) * 2000-03-03 2002-10-31 Willman Charles A. Systems and methods for facilitating memory access in information management environments
US20020040402A1 (en) * 2000-09-28 2002-04-04 International Business Machines Corporation System and method for implementing a clustered load balancer
US20020166018A1 (en) * 2001-05-02 2002-11-07 Kim Jason Seung-Min Multiprocessor interrupt handling system and method
US20030061423A1 (en) * 2001-09-21 2003-03-27 Rankin Linda J. Interrupt method, system and medium
US6813665B2 (en) * 2001-09-21 2004-11-02 Intel Corporation Interrupt method, system and medium
US20030210686A1 (en) * 2001-10-18 2003-11-13 Troika Networds, Inc. Router and methods using network addresses for virtualization
US20030105798A1 (en) * 2001-12-03 2003-06-05 Ted Kim Methods and apparatus for distributing interrupts
US20030110336A1 (en) * 2001-12-11 2003-06-12 Kyoung Park Method and apparatus for interrupt redirection for arm processors

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Lin, et al, "Performance Study of Dynamic Load Balancing Policies for Distributed Systems with Service Interruptions", IEEE, 1991, CH2979-3/91/0000-0797.
Lin, Hwa-Chun, et al., "Performance Study of Dynamic Load Balancing Policies for Distributed Systems with Service Interruptions," Apr. 7-11, 1991, IEEE Tenth Annual Joint Conference of the IEEE Computer and Communications Societies, Vo 2, p. 797-805. *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221193A1 (en) * 2003-04-17 2004-11-04 International Business Machines Corporation Transparent replacement of a failing processor
US7275180B2 (en) * 2003-04-17 2007-09-25 International Business Machines Corporation Transparent replacement of a failing processor
US20070005818A1 (en) * 2005-06-30 2007-01-04 Fujitsu Limited Method and apparatus for managing load on a plurality of processors in network storage system
US20080071947A1 (en) * 2006-09-14 2008-03-20 Fischer Matthew L Method of balancing I/O device interrupt service loading in a computer system
US9032127B2 (en) * 2006-09-14 2015-05-12 Hewlett-Packard Development Company, L.P. Method of balancing I/O device interrupt service loading in a computer system
US20090327555A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Processor Interrupt Determination
US8024504B2 (en) 2008-06-26 2011-09-20 Microsoft Corporation Processor interrupt determination
US20140047151A1 (en) * 2012-08-09 2014-02-13 John R. Feehrer Interrupt processing unit for preventing interrupt loss
US9026705B2 (en) * 2012-08-09 2015-05-05 Oracle International Corporation Interrupt processing unit for preventing interrupt loss

Also Published As

Publication number Publication date
US20040019723A1 (en) 2004-01-29

Similar Documents

Publication Publication Date Title
US7058743B2 (en) Method and device for dynamic interrupt target selection
JP3989969B2 (en) Communication system for client-server data processing system
US9348771B1 (en) Cloud-based instrument driver system
US8615586B2 (en) Discovery of logical images at storage area network endpoints
JPH08249306A (en) Data driven type information processor
KR20040095208A (en) Object oriented framework architecture for sensing and/or control environments
CN113254240A (en) Method, system, device and medium for managing control device
US6901463B2 (en) Method and device for linking work requests with completion queue entries
US8090876B2 (en) Message handling by a wrapper connected between a kernel and a core
CN114268927A (en) Vehicle-mounted communication method, device, equipment and storage medium
US6886053B2 (en) Method, system, and program for managing access to a device
US9189370B2 (en) Smart terminal fuzzing apparatus and method using multi-node structure
JP3581419B2 (en) Data driven information processor
US8069273B2 (en) Processing module
US11436004B2 (en) Calculating a patch target on an application server
US20030041073A1 (en) Method and apparatus for reordering received messages for improved processing performance
US20170286181A1 (en) Deployment and execution of sensing and computational tasks in a network of computing devices
US10075385B1 (en) Systems and methods for discovering and downloading configuration files from peer nodes
US6741602B1 (en) Work queue alias system and method allowing fabric management packets on all ports of a cluster adapter
CN117560285B (en) Intelligent control internet of things OTA upgrading method, client and server
US20230039450A1 (en) Systems, methods, and apparatus to identify functions for computational devices
CN113626295B (en) Method and system for processing pressure measurement data and computer readable storage medium
US20230342208A1 (en) Systems, methods, and apparatus to identify functions for computational devices
JP2746089B2 (en) Network interface selection system
US10235225B2 (en) Data processing system having messaging

Legal Events

Date Code Title Description
AS Assignment

Owner name: SUN MICROSYSTEMS, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:OSTROVSKY, BORIS;JACKSON, CHRISTOPHER J.;REEL/FRAME:013155/0409

Effective date: 20020724

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: ORACLE AMERICA, INC., CALIFORNIA

Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:ORACLE USA, INC.;SUN MICROSYSTEMS, INC.;ORACLE AMERICA, INC.;REEL/FRAME:037280/0232

Effective date: 20100212

AS Assignment

Owner name: ORACLE AMERICA, INC., CALIFORNIA

Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:ORACLE USA, INC.;SUN MICROSYSTEMS, INC.;ORACLE AMERICA, INC.;REEL/FRAME:037302/0633

Effective date: 20100212

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553)

Year of fee payment: 12