Concurrent metric measurement and reporting for parallel execution of a workload
Abstract
A method includes measuring a plurality of n metrics for a plurality of m processors executing portions of a workload in parallel. The measuring includes measuring, for a first processor of the plurality of m processors, a plurality of n metrics in a first sequence of a plurality of n sequences. The first sequence begins with a starting metric of the plurality of n metrics and ends with an nth metric. The measuring also includes measuring, for each remaining processor of the plurality of m processors, the plurality of n metrics in a sequence of the plurality of n sequences. Each progressive sequence of the plurality of n sequences begins with a progressive metric of the plurality of n metrics immediately subsequent to an immediately preceding sequence's starting metric of the plurality of n metrics. The method includes reporting the plurality of n metrics.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
measuring, concurrently, a plurality of n metrics for a plurality of m processors executing portions of a workload in parallel, the measuring comprising:
measuring, for a first processor of the plurality of m processors, a plurality of n metrics in a first sequence of a plurality of n sequences, the first sequence beginning with a starting metric of the plurality of n metrics and ending with an nth metric of the plurality of n metrics; and
measuring, for each remaining processor of the plurality of m processors, the plurality of n metrics in a sequence of the plurality of n sequences, each progressive sequence of the plurality of n sequences beginning with a progressive metric of the plurality of n metrics immediately subsequent to an immediately preceding sequence's starting metric of the plurality of n metrics; and
reporting measurement of the plurality of the n metrics.
2 . The method of claim 1 , wherein a second sequence of the plurality of n sequences at a second processor begins with a second metric of the plurality of n metrics and ends with the starting metric.
3 . The method of claim 2 , wherein each subsequent sequence of the n sequences of a next processor of the m processors starts with a next metric with respect to a starting metric of a previous sequence of a previous processor and upon reaching the nth metric starts with a first metric and subsequent metrics to form a sequence with n metrics.
4 . The method of claim 1 , wherein reporting the measurement the plurality of n metrics comprises concurrently reporting measurements of the m processors of the n metrics as the measurements are being recorded at the m processors.
5 . The method of claim 1 , wherein an nth sequence of the plurality of n sequences begins with the nth metric of the plurality of n metrics, proceeds with the first metric immediately following the nth metric, and ends with an (n−1)th metric of the plurality of n metrics.
6 . The method of claim 1 , wherein measuring, for each of the plurality of m processors and in a sequence of the plurality of n sequences, the plurality of n metrics comprises measuring each metric.
7 . The method of claim 1 , wherein each processor of the plurality of m processors comprises one of a central processing unit (CPU), a graphics processing unit (GPU), and an accelerator.
8 . The method of claim 1 , wherein the plurality of n metrics comprise: utilization, a performance-related metric, power consumption, temperature, humidity, memory bandwidth, memory usage, frame rate, and/or clock speed.
9 . The method of claim 1 , wherein reporting the plurality of n metrics comprises reporting information about the workload along with the n metrics, transmitting the plurality of n metrics to a user, displaying the metrics on an electronic display, transmitting the metrics over a management network to a system administrator, and/or storing the metrics in a location accessible to a system administrator for later analysis.
10 . An apparatus comprising:
a measurement module configured to measure, concurrently, a plurality of n metrics for a plurality of m processors executing portions of a workload in parallel, the measuring comprising:
measuring, for a first processor of the plurality of m processors, a plurality of n metrics in a first sequence of a plurality of n sequences, the first sequence beginning with a starting metric of the plurality of n metrics and ending with an nth metric of the plurality of n metrics; and
measuring, for each remaining processor of the plurality of m processors, the plurality of n metrics in a sequence of the plurality of n sequences, each progressive sequence of the plurality of n sequences beginning with a progressive metric of the plurality of n metrics immediately subsequent to an immediately preceding sequence's starting metric of the plurality of n metrics; and
a reporting module configured to report the plurality of n metrics, wherein at least a portion of said modules comprise one or more of hardware circuits, programmable hardware circuits and executable code, the executable code stored on one or more computer readable storage media.
11 . The apparatus of claim 10 , wherein a second sequence of the plurality of n sequences at a second processor begins with a second metric of the plurality of n metrics and ends with the first metric.
12 . The apparatus of claim 10 , wherein each subsequent sequence of the n sequences of a next processor of the plurality of m processors starts with a next metric with respect to a starting metric of a previous sequence of a previous processor and upon reaching the nth metric starts with a first metric and subsequent metrics to form a sequence with n metrics.
13 . The apparatus of claim 10 , wherein the reporting module is configured to concurrently report measurements of the m processors of the n metrics as the measurement module is recording metrics at the m processors.
14 . The apparatus of claim 10 , wherein an nth sequence of the plurality of n sequences begins with the nth metric of the plurality of n metrics, proceeds with the first metric immediately following the nth metric, and ends with an (n−1)th metric of the plurality of n metrics.
15 . The apparatus of claim 10 , wherein measuring, for each of the plurality of m processors and in a sequence of the plurality of n sequences, the plurality of n metrics comprises measuring each metric of the plurality of n metrics one measurement at a time for a processor of the plurality of m processors.
16 . The apparatus of claim 10 , wherein each processor of the plurality of m processors comprises one of a central processing unit (CPU), a graphics processing unit (GPU), and an accelerator.
17 . The apparatus of claim 10 , wherein the plurality of n metrics comprise: utilization, a performance-related metric, power consumption, temperature, humidity, memory bandwidth, memory usage, frame rate, and/or clock speed.
18 . The apparatus of claim 10 , wherein the reporting module comprises: a workload module configured to reporting information about the workload along with the n metrics, a transmitting module configured to transmit the metrics to a user, a display module configured to display the metrics on an electronic display, an administrative transmitting module configured to transmit the metrics over a management network to a system administrator, and/or a storing module configured to store the metrics in a location accessible to a system administrator for later analysis.
19 . A computer program product, the computer program product comprising a computer readable storage medium storing code, the code being configured to be executable by a processor to perform operations comprising:
measuring, concurrently, a plurality of n metrics for a plurality of m processors executing portions of a workload in parallel, the measuring comprising:
measuring, for a first processor of the plurality of m processors, a plurality of n metrics in a first sequence of a plurality of n sequences, the first sequence beginning with a starting metric of the plurality of n metrics and ending with an nth metric of the plurality of n metrics; and
measuring, for each remaining processor of the plurality of m processors, the plurality of n metrics in a sequence of the plurality of n sequences, each progressive sequence of the plurality of n sequences beginning with a progressive metric of the plurality of n metrics immediately subsequent to an immediately preceding sequence's starting metric of the plurality of n metrics; and
reporting the plurality of n metrics.
20 . The computer program product of claim 19 , wherein a second sequence of a plurality of n sequences at a second processor begins with a second metric of the plurality of n metrics and ends with the first metric.Join the waitlist — get patent alerts
Track US2025307112A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.