Skip to main content

kernel_limit_silo

Function kernel_limit_silo 

Source
pub fn kernel_limit_silo(
    selector: &str,
    key: &str,
    value: u64,
) -> Result<u32, SyscallError>
Expand description

Dynamically adjust resource quotas for a silo.

key can be: mem_max, mem_min, max_tasks, cpu_shares. Values are parsed as u64 (bytes for memory, count otherwise).