1 |
On Saturday 20 Jul 2013 06:12:40 Dale wrote: |
2 |
> Bruce Hill wrote: |
3 |
> > On Fri, Jul 19, 2013 at 08:34:27PM -0500, Dale wrote: |
4 |
> >>> Stop using disk and build in RAM: |
5 |
> >>> |
6 |
> >>> tmpfs /var/tmp/portage tmpfs |
7 |
> >>> size=7000M,nr_inodes=1M 0 0 tmpfs /dev/shm |
8 |
> >>> tmpfs nodev,nosuid,noexec 0 0 |
9 |
> >>> |
10 |
> >>> workstation ~ # free -m |
11 |
> >>> |
12 |
> >>> total used free shared buffers |
13 |
> >>> cached |
14 |
> >>> |
15 |
> >>> Mem: 15798 3711 12087 0 0 |
16 |
> >>> 937 -/+ buffers/cache: 2772 13025 |
17 |
> >>> Swap: 8103 0 8103 |
18 |
> >> |
19 |
> >> He may not have enough to do that tho. Some folks only have 4Gbs or |
20 |
> >> less still. That won't be enough for LOo. Heck, my 16Gbs wasn't enough |
21 |
> >> at one time. I had to either let it be on HDD or set it to a higher |
22 |
> >> amount than the default half. |
23 |
> >> |
24 |
> >> I also tested the time difference once before, it didn't really make |
25 |
> >> much difference. It just saves wear on a drive is all. |
26 |
> >> |
27 |
> >> Dale |
28 |
> > |
29 |
> > If 16GB of RAM wasn't enough, ydiw. I've used that line of 7G forever, |
30 |
> > and run app-office/libreoffice, as well as firefox and some other big |
31 |
> > app (forget it's name) and _never_ had a problem. |
32 |
> |
33 |
> Well, a while back, OOo and LOo wanted more than 8Gbs. It wasn't my |
34 |
> need but what portage looked for. Then someone did some changes and |
35 |
> reduced that need and it worked. From my understanding, there was some |
36 |
> code clean up that helped in that. I think it looks for 6Gbs now. From |
37 |
> the ebuild: |
38 |
> |
39 |
> CHECKREQS_MEMORY="512M" |
40 |
> CHECKREQS_DISK_BUILD="6G" |
41 |
> |
42 |
> It used to be more than that. If it didn't have enough, it stopped. |
43 |
> Even when I would override that setting, it would still run out of space |
44 |
> more often than not. As a matter of fact, I still have the command in |
45 |
> my freq used commands file that I used to fix it: |
46 |
> |
47 |
> mount -t tmpfs -o size=12g tmpfs /var/tmp/portage |
48 |
|
49 |
Does it stop dead or does it start to page into swap? |
50 |
|
51 |
-- |
52 |
Regards, |
53 |
Mick |