rdt

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RDTManager

type RDTManager interface {
	CheckSupportRDT() (bool, error)
	InitRDT() error
	ApplyTasks(clos string, tasks []string) error
	ApplyCAT(clos string, cat map[int]int) error
	ApplyMBA(clos string, mba map[int]int) error
}

RDTManager provides methods that control RDT related resources. Note: OCI Spec and runC already support the configuration of RDT-related parameters, but CRI and containerd do not yet support it. Therefore, we plan to support the configuration of RDT-related parameters through NRI or CRI in the future.

func NewDefaultManager

func NewDefaultManager() RDTManager

NewDefaultManager returns a defaultRDTManager.

Jump to

Keyboard shortcuts

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