[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /tmp to tmpfs makes it useless



On Fri, May 25, 2012 at 08:22:20AM +0100, Jon Dowland wrote:
> > > What's a temporary file? Really, why would applications temporarily store
> > > its data in a file? They do that to *free some memory*. Placing those files
> > > back to memory renders the whole process of writing the file useless.
> > > If the files are small and can stay in memory why would application save it
> > > to file?
> > What if a file is large but still can fit into the memory, but app authors
> > didn't assume that's possible?
> 
> Said app authors need to learn about swap.
We all know how bad can Linux behave in some conditions involving heavy
swap usage. Creating a file manually seems easier and safer, but when I
have several Gb of free memory I want to use it instead.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: