-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set cpu/memory limit at fig ? #244
Comments
mem_limit seems to be for "memory" limit. Does "cpu_shares" missing ? |
These were added a while ago http://docs.docker.com/compose/yml/ |
xulike666
pushed a commit
to xulike666/compose
that referenced
this issue
Jan 19, 2017
This is the first in a series of micro benchmarks for containerd. Performance measurement will use containerd objects and methods that are not dependent on the grpc API and dont require the daemon to the running. Test will require containerd-shim and runc. The motivation is to understand the baseline performance at the lowest containerd layer. A natural extension to this effort would be to write macro benchmarks which would include API and daemon. Note: - Currently measures only one workload (busybox sh) start times. Will add other bundles and args soon. - Can use integration-test utils for bundle processing. However, json marshal/unmarshal is currently timing out standard benchmark times. So going with default spec for now. Sample run: BenchmarkBusyboxSh-4 / # / # / # 2 576013841 ns/op ok github.com/docker/containerd/runtime 1.800s Signed-off-by: Anusha Ragunathan <anusha@docker.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I specify the memory/cpu limit to the container at fig.yml file ? I think maybe I missed a manual doc. Can someone point to me the complete syntax of fig.yml file ?
The text was updated successfully, but these errors were encountered: