Address based hardware snoop logic with configurable snoopable space settings for hardware assist
Abstract
Systems and techniques for snooping input/output (I/O) events in a computing system are described. An example technique includes obtaining a configuration comprising a plurality of snoop space profiles, each snoop space profile indicating a respective range of memory addresses that map to a respective completion queue. The technique also includes monitoring input/output (I/O) traffic exchanged across a communication interface between an I/O adapter and a processor in a computing system, based on the configuration. The technique further includes performing one or more actions to assist processing of the I/O traffic, based in part on the monitoring.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: obtaining a configuration comprising a plurality of snoop space profiles, each snoop space profile indicating a respective range of memory addresses that map to a respective completion queue; monitoring input/output (I/O) traffic exchanged across a communication interface between an I/O adapter and a processor in a computing system, based on the configuration; and performing one or more actions to assist processing of the I/O traffic, based in part on the monitoring.
- Claim 2Depends on #1
The computer-implemented method of claim 1, wherein monitoring the I/O traffic comprises determining whether an incoming address of the I/O traffic is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 3Depends on #2
The computer-implemented method of claim 2, wherein the determination is that the incoming address is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 4Depends on #3
The computer-implemented method of claim 3, wherein performing the one or more actions comprises sending an indication that a completion queue entry associated with the range of memory addresses has been written to.
- Claim 5Depends on #3
The computer-implemented method of claim 3, further comprising determining the one or more actions based on a completion queue entry associated with the range of memory addresses that the incoming address is within.
- Claim 6Depends on #5
The computer-implemented method of claim 5, wherein the one or more actions comprises triggering a count, invoking a timer, or initiating an arrival algorithm.
- Claim 7Depends on #2
The computer-implemented method of claim 2, wherein the determination is that the incoming address is outside of the respective range of memory addresses for each of the snoop space profiles.
- Claim 8Depends on #7
The computer-implemented method of claim 7, wherein performing the one or more actions comprises writing a completion queue entry to the incoming address in response to the determination.
- Claim 9Independent Claim
A computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by one or more computer processors to perform an operation comprising: obtaining a configuration comprising a plurality of snoop space profiles, each snoop space profile indicating a respective range of memory addresses that map to a respective completion queue; monitoring input/output (I/O) traffic exchanged across a communication interface between an I/O adapter and a processor in a computing system, based on the configuration; and performing one or more actions to assist processing of the I/O traffic, based in part on the monitoring.
- Claim 10Depends on #9
The computer-readable storage medium of claim 9, wherein monitoring the I/O traffic comprises determining whether an incoming address of the I/O traffic is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 11Depends on #10
The computer-readable storage medium of claim 10, wherein the determination is that the incoming address is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 12Depends on #11
The computer-readable storage medium of claim 11, wherein performing the one or more actions comprises sending an indication that a completion queue entry associated with the range of memory addresses has been written to.
- Claim 13Depends on #11
The computer-readable storage medium of claim 11, the operation further comprising determining the one or more actions based on a completion queue entry associated with the range of memory addresses that the incoming address is within.
- Claim 14Depends on #13
The computer-readable storage medium of claim 13, wherein the one or more actions comprises triggering a count, invoking a timer, or initiating an arrival algorithm.
- Claim 15Depends on #10
The computer-readable storage medium of claim 10, wherein the determination is that the incoming address is outside of the respective range of memory addresses for each of the snoop space profiles.
- Claim 16Depends on #15
The computer-readable storage medium of claim 15, wherein performing the one or more actions comprises writing a completion queue entry to the incoming address in response to the determination.
- Claim 17Independent Claim
A computing system comprising: one or more memories; an input/output (I/O) adapter; one or more processors coupled to the one or more memories and the I/O adapter, the one or more processors being individually or collectively configured to perform an operation comprising: obtaining a configuration comprising a plurality of snoop space profiles, each snoop space profile indicating a respective range of memory addresses that map to a respective completion queue; monitoring input/output (I/O) traffic exchanged across a communication interface between the I/O adapter and the processor, based on the configuration; and performing one or more actions to assist processing of the I/O traffic, based in part on the monitoring.
- Claim 18Depends on #17
The computing system of claim 17, wherein monitoring the I/O traffic comprises determining whether an incoming address of the I/O traffic is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 19Depends on #18
The computing system of claim 18, wherein the determination is that the incoming address is within the respective range of memory addresses associated with one of the snoop space profiles.
- Claim 20Depends on #19
The computing system of claim 19, wherein performing the one or more actions comprises sending an indication that a completion queue entry associated with the range of memory addresses has been written to.
Technical Overview & Description
BACKGROUND The present invention relates to computing systems, and more specifically, to a hardware-based controller for snooping input/output (I/O) events in a computing system. A large majority of the work in a computing system involves data input, data output, or a combination of data input and data output. In such computing systems, the operating system is generally responsible for providing I/O management for a variety of I/O devices, such as disks, tapes, printers, network cards (or connections), and audio I/O, as illustrative, non-limiting examples. I/O management may include programmed I/O methods, interrupt-based I/O methods, or direct memory access (DMA) I/O methods. In a programmed I/O method, each I/O device connected to the computing system is periodically checked (e.g., polled) for inputs. Once the computing system receives an input signal from a device, the computing system may carry out that request until it no longer receives an input signal. Interrupt-based I/O methods generally allow the processor (e.g., central processing unit (CPU)) to continue to process other work and be interrupted when an input signal is received from an I/O device. DMA I/O methods generally allow for transferring blocks of data between the memory and I/O devices without having to involve the processor. As modern computing systems evolve to support an ever increasing number of I/O devices, it is becoming increasingly difficult to provide efficient I/O management with conventional techniques. SUMMARY One embodiment described herein is a computer-implemented method. The computer-implemented method includes obtaining a configuration comprising a plurality of snoop space profiles, each snoop space profile indicating a respective range of memory addresses that map to a respective completion queue. The computer-implemented method also includes monitoring input/output (I/O) traffic exchanged across a communication interface between an I/O adapter and a processor in a computing syst
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2025/0004829 A1 | HARDWARE ACCELERATION FOR DATA-DRIVEN MULTI-CORE SIGNAL PROCESSING SYSTEMS | — | 1 |
Non-Patent Literature (10)
- International Searching Authority,
- “
- Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or Declaration,
- ”
- Patent Cooperation Treaty, Dec. 11, 2024, 9 pages, International Application No. PCT/IB2024/058970.
- Shanon et al.
- “
- Using Reconfigurability to Achieve Real-Time Profiling for Hardware/Software Codesign
- ”
- Department of Electrical and Computer Engineering University of Toronto, Feb. 2004, pp. 190-199.