containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

cpu period and quota aren't honoured #540

Closed devimc closed 6 years ago

devimc commented 6 years ago

Next command must return 3, because vCPUs = (quota + period - 1) / period and currently it returns 8

$ docker run -ti --cpu-period=20000 --cpu-quota=50000 debian nproc
8
jodh-intel commented 6 years ago

Related #344.