Wednesday, 13 January 2016

Re: RFC on Cloud Images: Make /tmp a tmpfs

On Wed, Jan 13, 2016 at 02:26:13PM +0200, Ben Howard wrote:
> On the Ubuntu Cloud Images, we have a request to make /tmp a tmpfs. The
> rationale, from the bug:

I'm afraid if you make this change you'll get requests to change it back:

- on m1.tiny and similar sized systems, /tmp will be so small that it may
well be unusable for what applications expect to do
- using tmpfs for file storage will increase memory pressure and increase
the likelihood of swapping, which is probably more painful.

Whether or not /tmp should be on tmpfs will vary from system to system. I
think the best we can do is make it easy to change between the two
choices.

Thanks