Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2025-3543: WITHDRAWN: Libcontainer is affected by capabilities elevation in github.com/opencontainers/runc

intelrdt

package
v1.3.0Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License:Apache-2.0Imports:15Imported by:41

Details

Repository

github.com/opencontainers/runc

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcIsCATEnabled

func IsCATEnabled()bool

IsCATEnabled checks if Intel RDT/CAT is enabled.

funcIsCMTEnabled

func IsCMTEnabled()bool

IsCMTEnabled checks if Intel RDT/CMT is enabled.

funcIsMBAEnabled

func IsMBAEnabled()bool

IsMBAEnabled checks if Intel RDT/MBA is enabled.

funcIsMBMEnabled

func IsMBMEnabled()bool

IsMBMEnabled checks if Intel RDT/MBM is enabled.

funcRootadded inv1.1.0

func Root() (string,error)

Root returns the Intel RDT "resource control" filesystem mount point.

funcWriteIntelRdtTasks

func WriteIntelRdtTasks(dirstring, pidint)error

WriteIntelRdtTasks writes the specified pid into the "tasks" file

Types

typeCMTNumaNodeStats

type CMTNumaNodeStats struct {// The 'llc_occupancy' in 'container_id' group.LLCOccupancyuint64 `json:"llc_occupancy"`}

typeL3CacheInfo

type L3CacheInfo struct {CbmMaskstring `json:"cbm_mask,omitempty"`MinCbmBitsuint64 `json:"min_cbm_bits,omitempty"`NumClosidsuint64 `json:"num_closids,omitempty"`}

typeMBMNumaNodeStats

type MBMNumaNodeStats struct {// The 'mbm_total_bytes' in 'container_id' group.MBMTotalBytesuint64 `json:"mbm_total_bytes"`// The 'mbm_local_bytes' in 'container_id' group.MBMLocalBytesuint64 `json:"mbm_local_bytes"`}

typeManager

type Manager struct {// contains filtered or unexported fields}

funcNewManager

func NewManager(config *configs.Config, idstring, pathstring) *Manager

NewManager returns a new instance of Manager, or nil if the Intel RDTfunctionality is not specified in the config, available from hardware orenabled in the kernel.

func (*Manager)Apply

func (m *Manager) Apply(pidint) (errerror)

Apply applies Intel RDT configuration to the process with the specified pid.

func (*Manager)Destroy

func (m *Manager) Destroy()error

Destroy destroys the Intel RDT container-specific container_id group.

func (*Manager)GetPath

func (m *Manager) GetPath()string

GetPath returns Intel RDT path to save in a state file and to be able torestore the object later.

func (*Manager)GetStats

func (m *Manager) GetStats() (*Stats,error)

GetStats returns statistics for Intel RDT.

func (*Manager)Set

func (m *Manager) Set(container *configs.Config)error

Set Intel RDT "resource control" filesystem as configured.

typeMemBwInfo

type MemBwInfo struct {BandwidthGranuint64 `json:"bandwidth_gran,omitempty"`DelayLinearuint64 `json:"delay_linear,omitempty"`MinBandwidthuint64 `json:"min_bandwidth,omitempty"`NumClosidsuint64 `json:"num_closids,omitempty"`}

typeStats

type Stats struct {// The read-only L3 cache informationL3CacheInfo *L3CacheInfo `json:"l3_cache_info,omitempty"`// The read-only L3 cache schema in rootL3CacheSchemaRootstring `json:"l3_cache_schema_root,omitempty"`// The L3 cache schema in 'container_id' groupL3CacheSchemastring `json:"l3_cache_schema,omitempty"`// The read-only memory bandwidth informationMemBwInfo *MemBwInfo `json:"mem_bw_info,omitempty"`// The read-only memory bandwidth schema in rootMemBwSchemaRootstring `json:"mem_bw_schema_root,omitempty"`// The memory bandwidth schema in 'container_id' groupMemBwSchemastring `json:"mem_bw_schema,omitempty"`// The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' groupMBMStats *[]MBMNumaNodeStats `json:"mbm_stats,omitempty"`// The cache monitoring technology statistics from NUMA nodes in 'container_id' groupCMTStats *[]CMTNumaNodeStats `json:"cmt_stats,omitempty"`}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp