[arch-general] tmpfs 100% /tmp - No space left on device

Tom Gundersen teg at jklm.no
Sun Aug 18 04:53:24 EDT 2013


On Thu, Aug 15, 2013 at 8:59 PM, Leonid Isaev <lisaev at umail.iu.edu> wrote:
> Notice, though, that if /tmp is getting full and is about the same size as RAM,
> the system will start swapping well before /tmp is filled, so you'll get no
> performance gain from building in /tmp because effectively you'll be
> compiling in the swap partition.

Well, in principle it should be faster to build in swap than on a
regular fs as tmpfs will only write to the backing swap when it runs
out of space, whereas regular filesystems will write out more
frequently (and also try to make guarantees about consistency in case
of unclean shutdowns, which tmpfs+swap doesn't need to care about).

-t


More information about the arch-general mailing list