how to disable tmpfs

Marko Vojinovic vvmarko at gmail.com
Fri Aug 8 18:47:41 UTC 2014


On Fri, 8 Aug 2014 12:39:39 -0500
Chris Adams <linux at cmadams.net> wrote:
> Once upon a time, Dennis Kaptain <dennis.kaptain at gmail.com> said:
> > It still doesn't seem like an ideal way to handle /tmp when I have a
> > perfectly good partition and swapping is a major performance killer.
> > I'd rather disk access wait time is caused by accessing /tmp when I
> > need to rather than swapping tmpfs in and out for a program.
> 
> Swapping tmpfs files to swap is no more of a performance killer than
> writing /tmp to disk to begin with (the same data would be written to
> the same disk, just in a little bit different format and location).

Please, please don't start about this stuff yet again.

It has been rehashed many times over, in countless places on the net:
if your typical usecase does not involve large files in /tmp and you
have enough RAM to never hit swap, tmpfs is more efficient. Otherwise,
disk is more efficient. Everyone needs to decide for themselves, and
configure their system accordingly.

If the OP has already decided what he wants, just tell him how to
configure it, rather than trying to persuade him that your size fits
all.

HTH, :-)
Marko



More information about the users mailing list