1 |
On Wednesday 15 December 2010 13:33:03 J. Roeleveld wrote: |
2 |
|
3 |
> Not sure how much memory you have, but a 6Gig ramdisk mounted at |
4 |
> /var/tmp/portage is sufficient to compile openoffice. That speeds |
5 |
> things up even more ;) |
6 |
|
7 |
The same size of tmpfs on /tmp also works even if you have only 4GB RAM, |
8 |
as I have. When it gets too full it just starts swapping. |
9 |
|
10 |
Actually, now that I check again, I see I've raised the size to 16G: |
11 |
|
12 |
$ grep 16G /etc/fstab |
13 |
tmpfs /tmp tmpfs nodev,nosuid,size=16G 0 0 |
14 |
|
15 |
$ grep swap /etc/fstab |
16 |
/dev/sda3 none swap sw,pri=10 0 0 |
17 |
/dev/sdb3 none swap sw,pri=10 0 0 |
18 |
/dev/sda7 none swap sw,pri=1 0 0 |
19 |
/dev/sdb7 none swap sw,pri=1 0 0 |
20 |
|
21 |
/dev/sdX3 are 2GB and /dev/sdX7 are 20GB (probably far too much swap, |
22 |
but disks are cheap). |
23 |
|
24 |
-- |
25 |
Rgds |
26 |
Peter. Linux Counter 5290, 1994-04-23. |