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

2016-01-20 Thread Dustin Kirkland
On Wed, Jan 20, 2016 at 5:45 PM, Robie Basak wrote: > On Wed, Jan 20, 2016 at 05:27:51AM +0100, Dustin Kirkland wrote: >> > I'd like to see even some rudimentary experiments done with realistic >> > workloads before saying this is a better idea than leaving things as >> > they are. We've all specu

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

2016-01-20 Thread Seth Arnold
On Wed, Jan 20, 2016 at 05:27:51AM +0100, Dustin Kirkland wrote: > Sure, done! You can find a detailed statistical analysis, as well as > the raw data for your download and treatment at: > > http://blog.dustinkirkland.com/2016/01/data-driven-analysis-tmp-on-tmpfs.html This is great :) Suddenly t

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

2016-01-20 Thread Colin Ian King
On 20/01/16 18:39, Dimitri John Ledkov wrote: > On 13 January 2016 at 12:26, Ben Howard wrote: >> All, >> >> On the Ubuntu Cloud Images, we have a request to make /tmp a tmpfs. The >> rationale, from the bug: >> * Performance - much faster read/write access to data in /tmp >> * Security - sensit

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

2016-01-20 Thread Dimitri John Ledkov
On 13 January 2016 at 12:26, Ben Howard wrote: > All, > > On the Ubuntu Cloud Images, we have a request to make /tmp a tmpfs. The > rationale, from the bug: > * Performance - much faster read/write access to data in /tmp > * Security - sensitive data would be cleared from memory on boot, >ra

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

2016-01-20 Thread Colin Ian King
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 14/01/16 18:53, Steve Langasek wrote: > On Thu, Jan 14, 2016 at 03:54:30PM +0200, Dustin Kirkland wrote: >>> As a data point, I used to have my /tmp on tmpfs while I still had a >>> spinning disk, in order to address the power usage issues of disk

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

2016-01-20 Thread Robie Basak
On Wed, Jan 20, 2016 at 05:27:51AM +0100, Dustin Kirkland wrote: > > I'd like to see even some rudimentary experiments done with realistic > > workloads before saying this is a better idea than leaving things as > > they are. We've all speculated and provided anecdotal evidence enough to > > warran

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

2016-01-20 Thread Colin Watson
On Wed, Jan 20, 2016 at 09:17:10AM +0100, Martin Pitt wrote: > By far the most common reason that I've seen is that files are the > Unix way for exchanging little pieces of data with other programs, > like flag files, named pipes, Unix sockets, editors, or in general > things you need to call exter

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

2016-01-20 Thread Martin Pitt
Clint Byrum [2016-01-19 23:52 -0800]: > But that's all nice-to-haves. The real reason I'm still skeptical > is simply that I don't see /tmp usage being a major factor on cloud > instances. FTR, I agree that it is much more desirable on real-iron (the performance difference with my use cases is *dr