Gentoo stage1 results

Hi everybody!

I subscribed for my first linode some days ago and I really enjoy it (the only drawback is that I can't setup my own kernel ;) but I know why and I will not complain about it). I wanted to share my Gentoo stage1 to stage3 compilation times with those who are afraid of the performances:

$ scripts/bootstrap.sh -f
$ time scripts/bootstrap.sh
real    641m43.386s
user    144m19.330s
sys     492m13.190s
$ emerge --fetchonly system
$ time emerge system
real    277m57.854s
user    74m37.120s
sys     200m37.920s

As you can see it takes some time. But I had done stage1 installs on some pentium 120mhz in the past and it was quite longer ;-)

I've been using the latest 2.6.9 kernel from linode on a 120mB debian (small) install during the install. I will leave it there as an emergency system (it's my virtual knoppix CD :P ).

I still have to correct some problems as the ubda device is not created but it's a matter of minutes.

Linode is great!

4 Replies

Interesting. How much memory does your Linode have? My Linode 64 has run short of memory during linking glibc (but it was still running all its usual services as well, so I was being a bit greedy). Also, what was your MAKEOPTS setting?

@jbpros:

(the only drawback is that I can't setup my own kernel ;) but I know why and I will not complain about it).
caker will always consider sensible requests for additions to the standard kernels, so it's not as much of a drawback as it is at those places where the attitude is 'that's the standard kernel, take it or leave it'.

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2"

It's a linode64. This was a fresh install. You should try emerging glibc with MAKEOPTS="-j1" (I use it on the very old systems I used as routers). I'm using 256mB of swap but it seems almost untouched.

As the server is running for its first hours I'm monitoring it with gkrellmd to see how the CPU, HDD and memory reacts; quite interesting.

Thank you for the note about caker's considerations on customized kernels, I'm still highly surprised by his interest and professionalism concerning individual customer's needs (though I'll not bother him for non-critical kernel needs) :)

``` $ emerge -av mysql (...) if gcc -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -I. -I. -I.. -I../bdb/build_unix -I./../include -I../include -I./.. -I.. -I.. -I../sql -I../regex -O3 -DDBUG_OFF -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -MT stacktrace.o -MD -MP -MF ".deps/stacktrace.Tpo" \ -c -o stacktrace.otest -f 'stacktrace.c' || echo './'stacktrace.c; \ then mv -f ".deps/stacktrace.Tpo" ".deps/stacktrace.Po"; \ else rm -f ".deps/stacktrace.Tpo"; exit 1; \ fi g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <url:http: bugs.gentoo.org=""> for instructions. make[3]: *** [sql_yacc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22/libmysqld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22/libmysqld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.22 failed.
!!! Function src_compile, Line 160, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

dmesg gives:

Free pages: 272kB (0kB HighMem)
Active:426 inactive:12100 dirty:0 writeback:5 unstable:0 free:68 slab:1799 mapped:11699 pagetables:130
DMA free:272kB min:256kB low:512kB high:768kB active:1704kB inactive:48400kB present:65536kB
protections[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
protections[]: 0 0 0
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
protections[]: 0 0 0
DMA: 24kB 18kB 016kB 032kB 064kB 0128kB 1256kB 0512kB 01024kB 02048kB 0*4096kB = 272kB
Normal: empty
HighMem: empty
Swap cache: add 237125, delete 230547, find 79337/106601, race 1+0
Out of Memory: Killed process 30962 (cc1plus).
````

I'm going to try again with MAKEOPTS="-j1" :)

could you not build the system on a very fast machine at your home/office and then upload the tarball to the linode and install that?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct