On Wednesday 15 December 2010 13:33:03 J. Roeleveld wrote:

> Not sure how much memory you have, but a 6Gig ramdisk mounted at
> /var/tmp/portage is sufficient to compile openoffice. That speeds
> things up even more ;)

The same size of tmpfs on /tmp also works even if you have only 4GB RAM, 
as I have. When it gets too full it just starts swapping.

Actually, now that I check again, I see I've raised the size to 16G:

$ grep 16G /etc/fstab
tmpfs   /tmp   tmpfs   nodev,nosuid,size=16G   0 0

$ 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

/dev/sdX3 are 2GB and /dev/sdX7 are 20GB (probably far too much swap, 
but disks are cheap).

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.

Reply via email to