On Saturday 23 February 2013 06:23:59 Joseph wrote:

> I have 8Gb of RAM so I change it to:
> tmpfs                 /var/tmp/portage        devtmpfs        
> size=1512M,nr_inodes=1M 0 0
> 
> now it is going.

I think you've confused yourself. /var/tmp/portage is portage's working sandbox 
- where it does all its work while emerging packages. Its size has nothing to 
do with how much RAM you have, only how much space portage needs to work in.

We used to be advised to allocate swap space equal to half the RAM size, but 
those days are long gone. Here's what I have defined as swap:

$ grep swap /etc/fstab
/dev/sda3               none          swap    sw,pri=10       0 0
/dev/sdb3               none          swap    sw,pri=10       0 0
/dev/sda7               none          swap    sw,pri=1         0 0
/dev/sdb7               none          swap    sw,pri=1         0 0

The idea is to use the two 2G partitions (sdx3) for most operations and to 
bring in the two 20G partitions (sdx7) when doing some heavy lifting. I should 
really at least halve both of those sizes, but what the hell? Space is cheap 
and I don't need it for anything else pro tem.

-- 
Peter

Reply via email to