powermanagementparams

package
v0.0.0-...-1f0e0a3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RanPowerMetricTotalSamples            = "ranmetrics_power_total_samples"
	RanPowerMetricSamplingIntervalSeconds = "ranmetrics_power_sampling_interval_seconds"
	RanPowerMetricMinInstantPower         = "ranmetrics_power_min_instantaneous"
	RanPowerMetricMaxInstantPower         = "ranmetrics_power_max_instantaneous"
	RanPowerMetricMeanInstantPower        = "ranmetrics_power_mean_instantaneous"
	RanPowerMetricStdDevInstantPower      = "ranmetrics_power_standard_deviation_instantaneous"
	RanPowerMetricMedianInstantPower      = "ranmetrics_power_median_instantaneous"
)

RAN Power Measurement metric names/prefixes.

View Source
const (
	EnvMetricSamplingInterval = "RAN_METRIC_SAMPLING_INTERVAL"
	EnvNoWorkloadDuration     = "RAN_NO_WORKLOAD_DURATION"
	EnvWorkloadDuration       = "RAN_WORKLOAD_DURATION"
)

Environment variables used.

View Source
const (
	PowerSavingMode     = "powersaving"
	PerformanceMode     = "performance"
	HighPerformanceMode = "highperformance"
)

Power State Configurations.

View Source
const (
	IpmiDcmiPowerMinimumDuringSampling = "minPower"
	IpmiDcmiPowerMaximumDuringSampling = "maxPower"
	IpmiDcmiPowerAverageDuringSampling = "avgPower"
	IpmiDcmiPowerInstantaneous         = "instantaneousPower"
)

Ipmitool power metrics.

View Source
const (
	DefaultRanMetricSamplingInterval = "30s"
	DefaultRanNoWorkloadDuration     = "5m"
	DefaultRanSteadyWorkloadDuration = "10m"
)

Default sampling values.

View Source
const (
	// NamespaceTesting is the tests namespace.
	NamespaceTesting = "ran-test"
	// PromNamespace is the Prometheus namespace.
	PromNamespace = "openshift-monitoring"
	// ProcessExporterPodName is the name of the process-exporter pod.
	ProcessExporterPodName = "process-exporter"
	// ProcessExporterImage is the image of the process-exporter pod.
	ProcessExporterImage = "quay.io/ocp-edge-qe/process-exporter:ppid-2"
	// Timeout is the timeout being used in powersave tests.
	Timeout = 15 * time.Minute
	// CnfTestImage is the test image used by pods.
	CnfTestImage = "quay.io/openshift-kni/cnf-tests:4.8"
	// PrivPodNamespace is the priv pod namespace.
	PrivPodNamespace = "cnfgotestpriv"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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