Anuket Project

Requirement



Name

1.0 

Uses APIs available with libpmwapi in Intel® PMWatch v3.0 or above

2.0Uses libipmctl v01.00.00.3262 or above
3.0Uses DCPMM DIMM firmware v01.00.00.5127 or above
4.0Should have configurable metrics group selection
5.0Should have configurable collection interval

Overview

Collectd DCPMM plugin monitors Intel® Optane™ DC Persistent Memory and provides memory performance and health information metrics.


Design

dcpmm plugin

The dcpmm plugin collects memory performance, health information metrics and timestamp information listed below.


Name

Type

Type Instance

Description

Comment

Memory performance metrics
total_bytes_readmediatotal_bytes_readNumber of bytes transacted by the read operations
total_bytes_writtenmediatotal_bytes_writtenNumber of bytes transacted by the write operations
read_64B_ops_rcvdmediaread_64B_ops_rcvdNumber of read operations performed to the physical media in 64 bytes granularity
write_64B_ops_rcvdmediawrite_64B_ops_rcvdNumber of write operations performed to the physical media in 64 bytes granularity
media_read_opsmediamedia_read_opsNumber of read operations performed to the physical media
media_write_opsmediamedia_write_opsNumber of write operations performed to the physical media
host_readscontrollerhost_readsNumber of read operations received from the CPU (memory controller)
host_writescontrollerhost_writesNumber of write operations received from the CPU (memory controller)
read_hit_ratiobufferread_hit_ratioMeasures the efficiency of the buffer in the read path. Range of 0.0 - 1.0
write_hit_ratiobufferwrite_hit_ratioMeasures the efficiency of the buffer in the write path. Range of 0.0 - 1.0
Health information metrics
health_statushealthhealth_statusOverall health summary (0: normal | 1: non-critical | 2: critical | 3: fatal)
lifespan_remaininghealthlifespan_remainingThe module’s remaining life as a percentage value of factory expected life span
lifespan_usedhealthlifespan_usedThe module’s used life as a percentage value of factory expected life span
power_on_timehealthpower_on_timeThe lifetime the DIMM has been powered on in seconds
uptimehealth

uptime

The current uptime of the DIMM for the current power cycle in seconds
last_shutdown_timehealthlast_shutdown_timeThe time the system was last shutdown. The time is represented in epoch (seconds)
media_temperaturehealthmedia_temperatureThe media’s current temperature in degrees Celsius
controller_temperaturehealth

controller_temperature

The controller’s current temperature in degrees Celsius
max_media_temperaturehealthmax_media_temperatureThe media’s the highest temperature reported in degrees Celsius
max_controller_temperaturehealthmax_controller_temperatureThe controller’s highest temperature reported in degrees Celsius
Timestamp
tsc_cyclestimestamptsc_cyclesThe number of tsc cycles during each interval
epochtimestampepochThe timestamp in seconds at which the metrics are collected from DCPMM DIMMs


Plugin configuration

The following configuration options should be supported by dcpmm collectd plugin:  

Name

Description

Comment

Interval

The collection interval in seconds at which the metric counts are collected

Defaults to global Interval value. This will override the global Interval value for dcpmm plugin. None of the other plugins will be affected.

CollectHealth

Health information metrics will be collected if set to true

Default value is false.

CollectdPerfMetrics

Memory performance metrics will be collected if set to true

Default value is true.

EnableDispatchAll

This parameter helps to seamlessly enable simultaneous health and memory performance metrics collection in future.

This is unused at the moment and must always be false.


Here is an example of the plugin configuration section of collectd.conf file:

<Plugin dcpmm>
  Interval 10.0
  CollectHealth false
  CollectPerfMetrics true
  EnableDispatchAll false
</Plugin>


Implementation details

To enable monitoring of Intel® Optane™ DC Persistent Memory, APIs provided by Intel® PMWatch is used. This is an open source tool and is available at https://github.com/intel/intel-pmwatch.

The following diagram shows the high level architecture of dcpmm plugin.


plugin API
libpmwapi API
Description
dcpmm_config

Parse configuration provided in collectd.conf and register read callback if the correct configuration is provided
dcpmm_init
PMWAPIGetDIMMCount
Obtain the number of DCPMM DIMMs
PMWAPIStart
Passes the configuration and starts the collection
dcpmm_read
PMWAPIRead
Reads the metric values
dcpmm_shutdown
PMWAPIStop
Stops the collection

Considerations

Configuration Considerations

The recommended collection interval is 1 second or above.

Deployment Considerations

If Intel® Optane™ DC Persistent Memory (DCPMM) is not available in the system, the plugin will be unloaded during initialization callback.

API/GUI/CLI Considerations

Equivalence Considerations

Security Considerations

Alarms, events, statistics considerations

Redundancy Considerations

Performance Considerations

The recommended collection interval is 1 second or above.

Testing Consideration

The timing interval requirement needs to be taken into consideration when conducting tests.

The Tests should be carried out on a system underload as well as a relatively idle system.

Other Considerations

Impact

The following table outlines possible impact(s) the deployment of this deliverable may have on the current system.


Ref

System Impact Description

Recommendation / Comments

1



Key Assumptions

The following assumptions apply to the scope specified in this document.


Ref

Assumption

Status

1



Key Exclusions

The following exclusions apply to the scope discussed in this document.


Ref

Exclusion

Status

1



  • No labels