/tmp on tmpfs

Dave Jones davej at redhat.com
Mon Apr 2 23:44:22 UTC 2012


On Mon, Apr 02, 2012 at 06:34:59PM -0400, Przemek Klosowski wrote:
 > On Mon, Apr 02, 2012 at 08:32:56PM +0200, Miloslav Trmač wrote:
 > >* #834 F18 Feature: /tmp on tmpfs -
 > >   http://fedoraproject.org/wiki/Features/tmp-on-tmpfs  (mitr, 17:40:06)
 > >   * AGREED: tmp-on-tmpfs is accepted (+5 -3)  (mitr, 18:12:52)
 > 
 > The wiki page says:
 >   By implementing this we, by default, generate less IO on disks. This
 >   increases SSD lifetime, saves a bit of power and makes things a bit
 >   faster.
 > 
 > What about the memory pressure? with on-disk /tmp, the buffer cache
 > prevents excessive writing if there's memory to spare, but the
 > system still works when memory is used up. What happens with tmpfs?

tmpfs contents are pageable, and will be swapped out if necessary.

	Dave



More information about the devel mailing list