1 |
Depending on your available ram and swap space, you might want to mount |
2 |
/var/tmp/portage as tmpfs. My fstab entry shows |
3 |
|
4 |
none /var/tmp/portage tmpfs size=10g,nr_inodes=1m |
5 |
|
6 |
I have 4GB ram, and the speed benefit especially for open/libre-office is quite |
7 |
impressive. |
8 |
|
9 |
The advantage is, that it |
10 |
a) uses only as much of memory as is really used |
11 |
b) you may use mount option -remount to increase the size of the filesystem, |
12 |
and add proper swapfiles if you see that you're running out of space (mkswap, |
13 |
swapon) |
14 |
|
15 |
Greetings, |
16 |
Alex |
17 |
|
18 |
|
19 |
|
20 |
Am Montag, 25. Juli 2011, 12:02:34 schrieb Mick: |
21 |
> After some deliberation I've started emerging libreoffice. It gave the |
22 |
> usual office suite warnings at the beginning that there isn't enough space |
23 |
> in /var (I have 5.8G and it was asking for more than 7G+). |
24 |
> |
25 |
> Half way through the emerge I noticed that I have only 74M left and is |
26 |
> going down fast! O_O |
27 |
> |
28 |
> OpenOffice was able to emerge in the past using this partition size without |
29 |
> a problem. I've flushed logs and what not to free some space, but I'm |
30 |
> thinking of extending the partition somehow. I don't run LVM on this |
31 |
> machine so that's not a solution for this circumstance. |
32 |
> |
33 |
> Is there anything I can do with mount --rbind and could I do this in the |
34 |
> middle of an emerge? I have another partition with loads of space in it, |
35 |
> but it has a different fs on it (reiser4 instead of /var's ext4). |