Re: Does Diego support memory swap?


Will Pragnell <wpragnell@...>
 

Hi Sam,

The thread you link from the archives discusses Warden exclusively, which
is the container engine used in the DEAs. Diego instead uses Garden-Linux
[1], which was originally a rewrite of Warden, but doesn't have identical
behaviour at this point.

I'm going to check in with some of the Garden-Linux engineers to figure out
a proper response to your query. Hopefully the above at least clears up
some of the confusion in the meantime.

Best,
Will

[1]: https://github.com/cloudfoundry-incubator/garden-linux

On 21 March 2016 at 12:50, Sam Dai <sam.dai(a)servicemax.com> wrote:

And after I ssh to app container using command "cf ssh app", then execute
command "cat /proc/meminfo", show the following information:
SwapTotal: 1048572 kB
SwapFree: 13180 kB
According to this information, memory swap works in diego, but where do I
configure the value of SwapTotal?

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