LWN.net Logo

Temporary files: RAM or disk?

Temporary files: RAM or disk?

Posted Jun 1, 2012 17:35 UTC (Fri) by gmaxwell (subscriber, #30048)
In reply to: Temporary files: RAM or disk? by Cyberax
Parent article: Temporary files: RAM or disk?

I haven't shared your negative expediences with swap— at least not at any time during the past 5 years or so. I run all my systems— servers, desktops, and laptops alike with /tmp on tmpfs, with large swaps. I frequently have tens of gigs of data in tmpfs on workhorse machines.

On my laptop, at least before I used a SSD, tmpfs made a visible increase in battery life because the drive was no longer being woken up by tmp activity.


(Log in to post comments)

Temporary files: RAM or disk?

Posted Jun 1, 2012 18:12 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link]

I've used laptop-mode on my laptop for ages. So I wasn't bother by disk IO from /tmp either.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds