kernel: enable group scheduling in CFQ#157
Conversation
|
@jcvenegas @jodh-intel @kata-containers/packaging @Weichen81 @Pennyzct please take a look |
|
looks good , could you bump the file |
With group scheduling we can specify a block IO weight for all devices or a specific device. This change is to support docker options `--blkio-weight` and `--blkio-weight-device` fixes kata-containers#156 Signed-off-by: Julio Montes <julio.montes@intel.com>
6b3fb88 to
67db067
Compare
|
@jcvenegas done, thanks |
mcastelino
left a comment
There was a problem hiding this comment.
@devimc this confuses me a little bit. So we plan to enforce inside the VM vs setting this up on the host?
Enforcing inside the VM may help, but you really want to constrain it on the host side
|
@devimc expanding this a little more. Per spec
So this is proportional to the other containers running on the host. Am I reading the spec correctly here. |
|
@mcastelino Yes, I think the weighs in the docker case applies to all containers running on the host. So for docker, it would make more sense to apply the constraints on the host side. |
|
@mcastelino from a compatible (runc) perspective I think the constraint should be applied in the VM, in that way the constraint is honoured and visible for the container (/sys/fs/cgroup/...). From a performance perspective I don't have idea, @grahamwhaley any thoughts ? @amshinde afaik for kubernetes there are only two kind of resources: cpu and memory https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-types |
|
@devimc In case of docker, there is just one container running inside the VM. Its not quite useful to have this constraint applied to a single container. |
|
@amshinde yes, I think the same |
|
@mcastelino @amshinde I agree with @devimc we should apply inside of the VM when possible the main reason that we are different with the spec is that the VM is a pod for us. |
|
commented after refresh, that is a good point @amshinde. |
|
Now we've discussed and agreed - can we check and add this info to the limitations doc if necessary please. |
Update Makefile so that build artifacts are actually tracked as make targets. This is to enforce a strict prerequisite ordering and better handle parallel builds. Fixes: #157 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
With group scheduling we can specify a block IO weight
for all devices or a specific device. This change is to support
docker options
--blkio-weightand--blkio-weight-devicefixes #156
Signed-off-by: Julio Montes julio.montes@intel.com