1 of 24

Creating Coherent, Scalable, and Interoperable Telemetry Solutions

Jim Harford, System Architect, Broadcom

2 of 24

Creating Coherent, Scalable, and Interoperable Telemetry Solutions

Jim Harford, System Architect, Broadcom

HARDWARE MANAGEMENT

3 of 24

OCP SCIM Workstream

  • “SCIM” = Scalable Cloud Infrastructure Management (part of Hardware Management)
  • Evolution of previous SCM (Cloud Service Model) workstream
  • SCIM’s charter is to address hardware management of large data centers �(100,000 nodes or more), creating documents in the following areas:
    • Architectures, protocols, and data models that communicate hardware management information across data center networks;
    • Analysis of existing communication mechanisms and interacting with standards bodies to improve the effectiveness of those mechanisms for hardware management at data center scale;
    • Management challenges associated with new technologies (e.g. AI/ML, RDMA, PCIe/CXL, DDR, quantum computing); and
    • Predictive models that forecast how anticipated aspects of hardware systems affect the financial performance of the data center.

​

​

​

4 of 24

Our Approach to Telemetry Standards

  • Many protocols to choose from! (Redfish, YANG, Open Telemetry, Prometheus, …)
  • Many data model schemas to choose from!
  • Many naming choices for individual metrics!
  • In our desire to bring order to the chaos, SCIM intends to follow these steps:
    1. Create a high-level, protocol-agnostic architecture for telemetry
    2. Map (as best we can) our architecture into the various protocols (see 1st bullet)
    3. Work with the responsible standards groups and open-source communities to improve their respective protocols
    4. Encourage the standardization of names for individual metrics of interest

​

​

5 of 24

Telemetry Trends

  • Bulk messages – increase wire efficiency
  • Streaming measurements – steady flow that doesn’t require continuous queries from the consumer of the metrics
  • For DMTF-based standards, BMC can not be expected to translate PMCI protocols (within server) to Redfish (across network) for high rates of telemetry reporting.
    • BMC is likely to be a “pass-thru”
  • Need end-to-end agreement on labeling for metric values, specified by some standards (or quasi-standards) organization
  • Need dynamic setup of telemetry stream (e.g. frequency of measurements, included content)

​

​

6 of 24

Structural Components

  • Leaf nodes - endpoints that emit streams of telemetry information
  • Aggregation nodes - intermediate nodes that aggregate telemetry streams received into a smaller number of output telemetry streams
  • Filtering nodes - intermediate nodes that remove certain information from telemetry streams, to prevent sensitive information from propagating
  • Reporting nodes - endpoints that store and report telemetry information of interest to authorized personnel and systems
  • Control node - a single compute entity (or confederation) that coordinates the flow of telemetry information from leaf nodes towards reporting nodes

​

​

7 of 24

Telemetry Data Streaming Between Nodes

L

L

L

A

F

R

R

C

Real-time

feed(s)

network operators

network partners

full query

access

partial query

access

8 of 24

Setup of Telemetry Streams

L

L

L

A

F

R

R

C

9 of 24

Pushing Metrics Across the Network

10 of 24

Pulling Metrics Across the Network

11 of 24

Aggregation at Leaf: Value Representation

Depending on the implementation, there could be many observations of some phenomenon of interest, all represented by a single reported value.

​

​

Aggregation Methods:

  • # samples (counter)
  • Current value
  • Minimum
  • Maximum
  • Median
  • Mode
  • Average
  • Geometric mean

rN+1

rN+2

x

x

x

x

x

x

x

x

x

x

x

rN

12 of 24

Levels (or Scales) of Measurement

Depending on how the observed phenomenon of interest is translated into a value, we can perform different mathematical operators and apply different statistical techniques on those values.

​

​

Operators: =, !=, ∈, ∌

Operators: all the above, <, >, ≤, ≥

Operators: all the above, +, -, average

Operators: all the above, x, ÷, geometric mean

13 of 24

Leaf Derived Meters

Instead of (or in addition to) a leaf reporting the “raw” value of an observed phenomenon, the leaf might report alternate representation(s) that are more useful for downstream aggregation and statistical analysis.

​

​

rate

minimum

utilization

maximum

average

trendline�gradient

standard�deviation

percentile

14 of 24

Aggregation at Leaf: Threshold Crossing Alerts

Instead of a leaf periodically reporting the value of an observed phenomenon, the leaf could report that it’s associated value has exceeded beyond (or retreated from) some customer-specified limit.

​

​

Normal

operating range

Warning region

Warning region

Critical region

Critical region

Fatal region

Fatal region

15 of 24

Bulk Aggregation Packing Format

  • The packing format of the send_metrics message should be designed to optimize:
    • Minimum length to avoid wasting node memory & network bandwidth resources
    • Avoid redundant information already included in stream parameters
    • Regularity in the layout to simplify downstream nodes processing the stream
    • Designate special values for exceptions, such as reporting “not a number”
    • For downstream aggregation of metrics from multiple leaf nodes:
      • Ordering of metrics as specified by the control node during stream establishment
      • Possible to accelerate processing by leveraging vector instructions or even GPUs
  • We are NOT mandating a specific format that must appear on the wire; instead�we are creating semantics that allow very efficient formats to be employed by the specific protocols that claim conformance to these semantics.

​

16 of 24

Top-level Packing Semantics

…

4th section

2nd section

3rd section

1st section

Notes:

  1. All headers and sections are aligned on 64-bit boundaries.
  2. Sections may be different lengths.
  3. The individual metric values within the same section are the �same width and type (e.g integer, floating point).
  4. Each metric type has an encoding to represent “not a number”.

​

Metrics report header

Section headers

17 of 24

Examples of Sections within Metrics Report

padding

padding

Note: all sections are aligned on 64-bit boundaries.

64-bit unsigned integers

32-bit signed integers

16-bit floating point

18 of 24

Aggregating Section Rows Across Multiple Leafs

Leaf 1

Leaf 2

Leaf 3

Leaf 4

Leaf 5

Leaf 6

Leaf 7

Leaf 8

AVG temp

MIN temp

MAX temp

AVG power

MIN power

MAX power

ADD PCIe errors

AVG CPU utilization

MIN CPU utilization

MAX RX pause frames

ADD storage errors

19 of 24

SQL Queries Across Multiple Database Tables

Leaf 1 Table

Q1

Q2

Q3

Q4

Leaf 2 Table

Leaf 3 Table

Leaf 4 Table

Leaf 5 Table

Leaf 6 Table

Leaf 7 Table

Leaf 8 Table

20 of 24

Filtering Nodes (for Data Sharing)�

  • Many potential kinds of consumers of a data center’s telemetry information:
    • Data center staff
    • Data center partners (e.g. network peers)
    • Data center customers
    • Equipment vendors
  • A filtering node removes selected information from a stream that should not be disclosed outside of the data center; for example:
    • Data center topology and inventory details
    • Functional and performance anomalies
    • Information that could be considered a competitive secret by an equipment vendor

​

21 of 24

The Big Ideas

  • Separation of a metric report’s schema from the reported meter values
    • Schema is dynamically specified during stream establishment.
  • Stream state (including schema) maintained by the sender & receiver for each stream
    • Unlike a RESTful API
  • Focusing on meter value representations that are useful for statistical analysis
  • Pushing as much complexity as possible toward the leaf nodes
  • Packing formats that can be efficiently processed by vector instructions and GPUs
  • Recognizing the sensitivity of individual measurements, and then preventing inappropriate disclosure

22 of 24

The Key Adjectives

  • Coherent
    • The protocol-agnostic architecture shall specify semantics that form a complete system, supporting robust telemetry solutions for emerging data center demands.
  • Scalable
    • The protocol-agnostic architecture contains mechanisms that allow scaling to very large networks, including leveraging statistical tools to ease the crunch of metrics analysis.
  • Interoperable
    • When telemetry protocols and schemas are employed that conform to the protocol-agnostic architecture, interoperability should be expected, even in the face of a multi-protocol telemetry support infrastructure.

23 of 24

We Invite Your Participation and Expertise!�

  • OCP’s SCIM workstream welcomes feedback and suggestions in general, but specifically on help delivering these specifications in the near future:
    • Finishing our high-level, protocol-agnostic architecture for streaming telemetry
    • Mapping our architecture to existing protocols, including gap analysis and recommendations for specific protocol improvements:
      • Redfish
      • YANG
      • Open Telemetry
      • Prometheus
      • Others?
  • Where to find additional information (URL links)
    • opencompute.org/projects/scalable-cloud-infrastructure-management
    • github.com/opencomputeproject/OCP-HM-SCIM-Scalable_Cloud_Infrastructure_Management/wiki

24 of 24

�Thank You!