# US 2019/0294520 A1 · Packet flow tracing in a parallel processor complex

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0294520 A1
- Document ID: US20190294520A1
- Status: Published application
- Kind: A1
- Application number: 16/438,581
- Filed: 2019-06-12
- Published: 2019-09-26
- Earliest claimed: 2016-11-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Bruce Ratcliff
- Web page: https://patentgrep.com/patent/US20190294520A1

## CPC

- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 9/28: Enhancement of operational speed, e.g. by using several microcontrol devices operating in parallel
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3461: {Trace driven simulation}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 15/80: comprising an array of processing units with common control, e.g. single instruction multiple data processors (G06F15/82 takes precedence {; for correlation function computation G06F17/15})
- H04L 43/026: using flow identification
- H04L 43/106: using time related information in packets, e.g. by adding timestamps
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one example implementation, a computer-implemented method includes receiving, at a parallel processor complex, a task to be executed by the parallel processor complex. The parallel processor complex includes a trace processor and a plurality of task execution processors, each of the plurality of task execution processors having a plurality of trace buffers associated exclusively therewith. The method further includes creating, by the trace processor, a trace entry by allocating an element from a shared queue. The method further includes loading, by the trace processor, the trace entry into a common trace buffer. The method further includes loading, by the trace processor, the trace entry into one of the plurality of trace buffers based at least in part on an interface identifier and a queue pair index record. The interface identifier identifies the one of the plurality of task execution processors with which the trace entry is associated.

## Claims

### Claim 1

A system for packet flow tracing in a parallel processor complex, the system comprising:
a memory comprising computer readable instructions; and
a processing device for executing the computer readable instructions for performing a method, the method comprising:
receiving, at the parallel processor complex, a task to be executed by the parallel processor complex, wherein the parallel processor complex comprises a trace processor and a plurality of task execution processors, each of the plurality of task execution processors having a plurality of trace buffers associated exclusively therewith;
creating, by the trace processor, a trace entry by allocating an element from a shared queue;
loading, by the trace processor, the trace entry into a common trace buffer; and
loading, by the trace processor, the trace entry into one of the plurality of trace buffers based at least in part on an interface identifier and a queue pair index record, the interface identifier identifying the one of the plurality of task execution processors with which the trace entry is associated.

### Claim 2 (depends on 1)

The system of claim 1, wherein the element uniquely identifies a host interface and a queue pair used for the element.

### Claim 3 (depends on 1)

The system of claim 1, wherein the trace entry comprises a header.

### Claim 4 (depends on 3)

The system of claim 3, wherein the header comprises a processor identifier, at interface identifier, a queue pair index, a tag, a timestamp, and unique data.

### Claim 5 (depends on 4)

The system of claim 4, wherein the processor identifier is a unique identifier of a processor in the parallel processor complex, the interface identifier is a unique identifier assigned to a host interface of a particular processor in the parallel processor complex, the queue pair index is an index of the queue pair used to send a data stream, the tag identifies a specific trace point, the timestamp is a time when the trace entry was created using a timer common to the plurality of tax execution processors, and the unique data is data associated with the tag.

### Claim 6 (depends on 1)

The system of claim 1, wherein the trace processor uses the interface identifier and the queue pair index record to load the trace entry into the common trace buffer.

### Claim 7 (depends on 1)

The system of claim 1, wherein the queue pair index record indicates to which of the plurality of trace buffers to load the trace entry.

### Claim 8

A computer program product for packet flow tracing in a parallel processor complex, the computer program product comprising:
a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing device to cause the processing device to perform a method comprising:
receiving, at the parallel processor complex, a task to be executed by the parallel processor complex, wherein the parallel processor complex comprises a trace processor and a plurality of task execution processors, each of the plurality of task execution processors having a plurality of trace buffers associated exclusively therewith;
creating, by the trace processor, a trace entry by allocating an element from a shared queue;
loading, by the trace processor, the trace entry into a common trace buffer; and
loading, by the trace processor, the trace entry into one of the plurality of trace buffers based at least in part on an interface identifier and a queue pair index record, the interface identifier identifying the one of the plurality of task execution processors with which the trace entry is associated.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the element uniquely identifies a host interface and a queue pair used for the element.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the trace entry comprises a header.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the header comprises a processor identifier, at interface identifier, a queue pair index, a tag, a timestamp, and unique data.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the processor identifier is a unique identifier of a processor in the parallel processor complex, the interface identifier is a unique identifier assigned to a host interface of a particular processor in the parallel processor complex, the queue pair index is an index of the queue pair used to send a data stream, the tag identifies a specific trace point, the timestamp is a time when the trace entry was created using a timer common to the plurality of tax execution processors, and the unique data is data associated with the tag.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the trace processor uses the interface identifier and the queue pair index record to load the trace entry into the common trace buffer.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the queue pair index record indicates to which of the plurality of trace buffers to load the trace entry.
