jonschipp / ISLET

Isolated, Scalable, & Lightweight Environment for Training
Other
111 stars 18 forks source link

Support cpuset and memory swap #52

Closed jonschipp closed 9 years ago

jonschipp commented 9 years ago

--cpuset-cpus CPUs in which to allow execution (0-3, 0,1). --memory-swap"" Total memory limit.

jonschipp commented 9 years ago

Support --cpusets complete https://github.com/jonschipp/ISLET/commit/a7c124b07b4e5ad259b11674c3ff209b4dfcd48c

jonschipp commented 9 years ago
root@ip-172-31-8-142:~# docker run -it --name $RANDOM --cpuset 0 --cpu-shares 2 jonschipp/islet-tcpdump bash
Warning: '--cpuset' is deprecated, it will be replaced by '--cpuset-cpus' soon. See usage.
jonschipp commented 9 years ago

Added support for memory swap option - https://github.com/jonschipp/ISLET/commit/19eac9a6f373d41f68b0d6f9f6629b6729b225b6