On Tue, Jan 21, 2014 at 2:53 PM, Jarry <mr.ja...@gmail.com> wrote:
> On 21-Jan-14 18:14, Neil Bothwick wrote:
>>
>> On Tue, 21 Jan 2014 18:03:08 +0100, Jarry wrote:
>>
>>> I would like to use tmpfs for all the package-compilation
>>> to spare my SSD from too many writing-cycles, but I can not
>>> guess how much do I need. I'm rather limited with RAM,
>>> if I use more than 512MB for /var/tmp/portage, my server
>>> lowers buffers/cache to nearly zero and starts swapping...
>>
>>
>> Then don't use more than 512MB, I certainly wouldn't use less for the
>> packages you mention.
>
>
> OMG, I was really over-optimistic! Even 2 GB tmpfs for
> /var/tmp/portage was not enough to re-compile gcc-4.7.3!

You can configure emerge to build large packages outside of the tmpfs drive.
https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
HTH

-- 
David Abbott (dabbott)

Reply via email to