On 19/06/2014 12:56, Rich Freeman wrote:
On Thu, Jun 19, 2014 at 7:44 AM, Neil Bothwick <n...@digimed.co.uk> wrote:
On Thu, 19 Jun 2014 16:40:08 +0800, Amankwah wrote:
Maybe the only solution is that move the portage tree to HDD??
Or tmpfs if you rarely reboot or have a fast enough connection to your
preferred portage mirror.
There has been a proposal to move it to squashfs, which might
potentially also help.
The portage tree is 700M uncompressed, which seems like a bit much to
just leave in RAM all the time.
The tree will not necessarily be left in RAM all of the time. Pages
allocated by tmpfs reside in pagecache. Given sufficient pressure, they
may be migrated to swap. Even then, zswap [1] could be used so as to
reduce write amplification. I like Neil's suggestion, assuming that the
need to reboot is infrequent.
--Kerin
[1] https://www.kernel.org/doc/Documentation/vm/zswap.txt