Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

support linux.cgroupsPath and linux.resources (resource constraints) #19

Open
sameo opened this issue Jan 30, 2017 · 2 comments
Open

support linux.cgroupsPath and linux.resources (resource constraints) #19

sameo opened this issue Jan 30, 2017 · 2 comments

Comments

@sameo
Copy link

sameo commented Jan 30, 2017

From @jodh-intel on August 22, 2016 13:27

The OCI config file, config.json, specifies resource constraints in the form of linux.resources JSON objects which map closely to cgroups.

We need to find a way to implement such constraints.

See:

Copied from original issue: intel/cc-oci-runtime#148

@sameo
Copy link
Author

sameo commented Jan 30, 2017

Most of the resource constraints would need to be applied to the qemu process, a.k.a. the VM, by either using cgroups on the host or map the restrictions to qemu parameters (CPU, memory...).

@grahamwhaley
Copy link
Contributor

Also likely directly related to at least #380 and #381. It feels like the cgroups settings can be set or adjusted through a number of different docker run or update arguments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants