On 22/01/14 07:05, Volker Armin Hemmann wrote:
> Am 21.01.2014 18:03, schrieb Jarry:
>> Hi Gentoo-users,
>>
>> 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...
>>
>> So what do your think? Would it be enought to have 512MB
>> for packages like GCC, Apache, MySQL, Sendmail, Bind?
>> These are the biggest, rest are much smaller...
>>
>> Jarry
> 
> 4GB
> 
> and instead of a SSD, see that you get 8 or 16GB of ECC ram.
> 

I have two netbooting diskless atom based mini itx boards

The one with 3GB ram with up to 2.5GB to tmpfs (tmpfs will use up to
whats free) and will fail regularly on glibc, gcc and some others.  The
one with 4gb ram is usually ok.


fstab:
shm                     /dev/shm        tmpfs
nodev,nosuid,noexec                             0 0

tmpfs                   /tmp            tmpfs
size=2500M,mode=1777,noatime,auto               0 0
tmpfs                   /var/lock       tmpfs
size=10m,noatime,auto                           0 0
tmpfs                   /var/run        tmpfs
size=10m,noatime,auto                           0 0
tmpfs                   /var/cache/hald tmpfs
size=10m,noatime,auto                           0 0

* note that I am still using a 2.6 kernel.

BillK


Reply via email to