Struct oci_spec::runtime::LinuxIntelRdtBuilder
source · pub struct LinuxIntelRdtBuilder { /* private fields */ }
Expand description
Builder for LinuxIntelRdt
.
Implementations§
source§impl LinuxIntelRdtBuilder
impl LinuxIntelRdtBuilder
sourcepub fn clos_id<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn clos_id<VALUE: Into<String>>(self, value: VALUE) -> Self
The identity for RDT Class of Service.
sourcepub fn l3_cache_schema<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn l3_cache_schema<VALUE: Into<String>>(self, value: VALUE) -> Self
The schema for L3 cache id and capacity bitmask (CBM). Format: “L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;…”
sourcepub fn mem_bw_schema<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn mem_bw_schema<VALUE: Into<String>>(self, value: VALUE) -> Self
The schema of memory bandwidth per L3 cache id. Format: “MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;…” The unit of memory bandwidth is specified in “percentages” by default, and in “MBps” if MBA Software Controller is enabled.
sourcepub fn enable_cmt<VALUE: Into<bool>>(self, value: VALUE) -> Self
pub fn enable_cmt<VALUE: Into<bool>>(self, value: VALUE) -> Self
EnableCMT is the flag to indicate if the Intel RDT CMT is enabled. CMT (Cache Monitoring Technology) supports monitoring of the last-level cache (LLC) occupancy for the container.
sourcepub fn enable_mbm<VALUE: Into<bool>>(self, value: VALUE) -> Self
pub fn enable_mbm<VALUE: Into<bool>>(self, value: VALUE) -> Self
EnableMBM is the flag to indicate if the Intel RDT MBM is enabled. MBM (Memory Bandwidth Monitoring) supports monitoring of total and local memory bandwidth for the container.