1 |
On Fri, 07 Sep 2012 07:25:42 -0500, Dale wrote: |
2 |
|
3 |
> Since when you run emerge it loads everything into ram, |
4 |
> regardless of whether portages work directory is on tmpfs or not, it |
5 |
> doesn't matter. This test is NOT about portage loading things into ram |
6 |
> WHILE emerging, it was about having the work directory on tmpfs and |
7 |
> speed. |
8 |
|
9 |
Of course it doesn't. The tarball is unpacked from DISTDIR to the work |
10 |
directory. Then individual source files in the work directory are |
11 |
compiled to object files, also in the work directory. Then those object |
12 |
files are linked to executables, also in the work directory. Finally, |
13 |
everything is install to an image directory, also on TMPDIR. The speed of |
14 |
the work directory would appear to be of critical importance - but it |
15 |
isn't, as shown by your tests. The reason for this, and the point |
16 |
everyone else has been making, is because the files are cached by the |
17 |
kernel, so the filesystem is less important if you have enough RAM. |
18 |
|
19 |
|
20 |
-- |
21 |
Neil Bothwick |
22 |
|
23 |
30 minutes of begging is not considered foreplay. |