hwslowdown

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package hwslowdown monitors NVIDIA GPU hardware clock events of all GPUs, such as HW Slowdown events.

Index

Constants

View Source
const (
	// DefaultStateHWSlowdownEvaluationWindow is the window to evaluate the HW slowdown state.
	DefaultStateHWSlowdownEvaluationWindow = 10 * time.Minute

	// DefaultStateHWSlowdownEventsThresholdFrequencyPerMinute is the threshold frequency of the HW slowdown events per minute.
	// If the evaluation window is 10 minutes and for the last 10-minute, 6 events are found, the state is considered unhealthy, where the ratio is 0.6 = 6 / 10.
	// This is to avoid false positives when the HW slowdown events are rare.
	DefaultStateHWSlowdownEventsThresholdFrequencyPerMinute = 0.6
)
View Source
const (
	StateKeyHWSlowdown = "hw_slowdown"
)

Variables

This section is empty.

Functions

func New

Types

This section is empty.

Directories

Path Synopsis
Package id provides the ID for the hardware slowdown component.
Package id provides the ID for the hardware slowdown component.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL