Re: Does Diego support memory swap?


Sam Dai <dayfei2000@...>
 

According to this code https://github.com/cloudfoundry-incubator/garden-linux/blob/master/linux_container/limits.go#L74-L75 <https://github.com/cloudfoundry-incubator/garden-linux/blob/master/linux_container/limits.go#L74-L75>, memory.limit_in_bytes and memory.memsw.limit_in_bytes are set to the same limit value, it looks like when memory usage exceeds the limit, the kernel of diego won't swap out any pages

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.