On Wednesday 27 July 2011 15:40:03 Neil Bothwick did opine thusly: > On Wed, 27 Jul 2011 14:41:33 +0100, Peter Humphrey wrote: > > Doesn't do that here. When tmpfs is full it starts being swapped > > out to the swap partition. Perhaps you didn't have any swap at > > the time. > > The default size for a tmpfs filesystem is half the physical RAM, > unless you specify more as a mount option, it will never use > significant amounts of swap. > > I wonder how effective tmpfs is for PORTAGE_TMPDIR as the builds > that need a lot of disk space can often require a fair bit of > memory too, and tmpfs is using it all.
In this last week someone reported doing actually measurements and found that using a tmpfs was actually slower. -- alan dot mckinnon at gmail dot com