18 Aug
2013
18 Aug
'13
10:53 a.m.
On Thu, Aug 15, 2013 at 8:59 PM, Leonid Isaev <lisaev@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