Code: Select all
cat /proc/cpuinfo | grep "model name"
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHzCode: Select all
acoswt@PrimaPratica /etc/portage $ cat /etc/portage/env/sys-devel/gcc
GCC_MAKE_TARGET="profiledbootstrap"
Code: Select all
localhost rodrigo # genlop -t sys-libs/glibc sys-devel/gcc
* sys-libs/glibc
Wed Jan 15 23:04:37 2014 >>> sys-libs/glibc-2.17
merge time: 57 minutes and 21 seconds.
* sys-devel/gcc
Tue Jan 28 00:29:52 2014 >>> sys-devel/gcc-4.7.3-r1
merge time: 2 hours, 19 minutes and 35 seconds.Code: Select all
sys-libs/glibc-2.16.0 merge time: 30 minutes and 11 seconds.
sys-devel/gcc-4.7.3-r1 merge time: 1 hour, 16 minutes and 11 seconds.
$ grep -F 'model name' /proc/cpuinfo
model name : Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
model name : Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
genlop -t glibc gcc
* sys-libs/glibc
Sat Feb 8 05:06:00 2014 >>> sys-libs/glibc-2.17
merge time: 7 minutes and 20 seconds.
* sys-devel/gcc
Sat Feb 8 05:26:11 2014 >>> sys-devel/gcc-4.7.3-r1
merge time: 20 minutes and 11 seconds.
grep -F 'model name' /proc/cpuinfo
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
model name : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz

Code: Select all
$ sudo genlop -t glibc gcc
Password:
* sys-libs/glibc
Sun May 12 20:22:56 2013 >>> sys-libs/glibc-2.17
merge time: 3 minutes and 34 seconds.
Wed Feb 12 20:10:38 2014 >>> sys-libs/glibc-2.18-r1
merge time: 4 minutes and 33 seconds.
* sys-devel/gcc
Sun May 12 19:07:41 2013 >>> sys-devel/gcc-4.7.2-r1
merge time: 12 minutes and 55 seconds.
Thu May 16 22:20:20 2013 >>> sys-devel/gcc-4.7.3
merge time: 18 minutes and 53 seconds.
Sat Oct 5 10:42:33 2013 >>> sys-devel/gcc-4.7.3-r1
merge time: 13 minutes and 45 seconds.
Thu Oct 24 19:32:44 2013 >>> sys-devel/gcc-4.8.1-r1
merge time: 13 minutes and 55 seconds.
Sun Dec 8 12:49:30 2013 >>> sys-devel/gcc-4.8.2
merge time: 13 minutes and 36 seconds.
Wed Feb 12 20:36:32 2014 >>> sys-devel/gcc-4.8.2
merge time: 14 minutes.
roy@NeddySeagoon_Static ~ $ grep -F 'model name' /proc/cpuinfo
model name : AMD Phenom(tm) II X6 1090T ProcessorCode: Select all
time emerge -1q glibc
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-libs/glibc-2.18-r1
>>> Installing (1 of 1) sys-libs/glibc-2.18-r1
<snippage>
real 2m28.516s
user 8m59.507s
sys 2m10.230sCode: Select all
time emerge -1q gcc
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/gcc-4.8.2
>>> Installing (1 of 1) sys-devel/gcc-4.8.2
<snippage>
real 10m40.940s
user 60m41.820s
sys 5m44.803sCode: Select all
time make -s -j13 all
Setup is 15808 bytes (padded to 15872 bytes).
System is 2790 kB
CRC 54039f11
Kernel: arch/x86/boot/bzImage is ready (#1)
real 1m16.138s
user 12m46.581s
sys 1m11.347s
Yeah, this kind of makes the kernel compile times meaningless, unless people use the same .config it's hard to compare...rudregues wrote:kernel less than 5 minutes (I use seeds), the others:
Code: Select all
# genlop -t glibc gcc
----
sys-libs/glibc-2.19 USE="gd (multilib)"
merge time: 3 minutes and 23 seconds.
sys-devel/gcc-4.8.2 USE="awt cxx fortran gcj graphite (multilib) nls nptl openmp"
merge time: 14 minutes and 16 seconds.
----Code: Select all
# eselect java-vm show
----
icedtea-7
----Code: Select all
# grep -F 'model name' /proc/cpuinfo
----
model name : Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
----Code: Select all
# cat /etc/make.conf
----
CFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--quiet --verbose --jobs=8 --load-average=8 --with-bdeps=y --autounmask-write=y"
MAKEOPTS="-j8"
----Code: Select all
# make mrproper && time make -j8
----
| real 0m48.436s | user 5m24.677s | sys 0m14.904s |
----Code: Select all
# uname -a
Linux localhost 3.14.0-gentoo #3 SMP PREEMPT Sat Apr 12 14:12:56 CDT 2014 x86_64 Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz GenuineIntel GNU/Linux
Code: Select all
# genlop -t gcc glibc -f /mnt/gentoo/var/log/emerge.log
using logfile /mnt/gentoo/var/log/emerge.log
* sys-devel/gcc
Fri Apr 25 18:44:12 2014 >>> sys-devel/gcc-4.8.2
merge time: 22 minutes and 41 seconds.
* sys-libs/glibc
Fri Apr 25 14:16:53 2014 >>> sys-libs/glibc-2.19
merge time: 8 minutes and 25 seconds.Code: Select all
localhost ~ # genlop -t glibc
* sys-libs/glibc
Wed Jan 29 19:35:19 2014 >>> sys-libs/glibc-2.18-r1
merge time: 8 hours, 14 minutes and 1 second.
Thu Apr 17 18:21:57 2014 >>> sys-libs/glibc-2.19
merge time: 6 hours, 14 minutes and 51 seconds.
localhost ~ # genlop -t gcc
* sys-devel/gcc
Fri Jan 31 00:21:40 2014 >>> sys-devel/gcc-4.8.2
merge time: 1 day, 2 hours, 26 minutes and 10 seconds.
gcc docuimentation clearly states that this is not supported with parallel build. Is that documentation outdated or is there another reason why you do not put MAKEOPTS=-j1 here?aCOSwt wrote:Code: Select all
acoswt@PrimaPratica /etc/portage $ cat /etc/portage/env/sys-devel/gcc GCC_MAKE_TARGET="profiledbootstrap"
That documentation is not outdated (Last modified 2014-01-03), but I am lazy and since the eclass takes care of that already...mv wrote:gcc docuimentation clearly states that this is not supported with parallel build. Is that documentation outdated or is there another reason why you do not put MAKEOPTS=-j1 here?aCOSwt wrote:Code: Select all
acoswt@PrimaPratica /etc/portage $ cat /etc/portage/env/sys-devel/gcc GCC_MAKE_TARGET="profiledbootstrap"
toolchain.eclass wrote:Code: Select all
# the gcc docs state that parallel make isnt supported for the # profiledbootstrap target, as collisions in profile collecting may occur. # boundschecking also seems to introduce parallel build issues. if [[ ${GCC_MAKE_TARGET} == "profiledbootstrap" ]] || use_if_iuse boundschecking then export MAKEOPTS="${MAKEOPTS} -j1" fi
The documentation is wrong. You can profilbootstrap gcc in parallel at least since 4.6.mv wrote:gcc docuimentation clearly states that this is not supported with parallel build. Is that documentation outdated or is there another reason why you do not put MAKEOPTS=-j1 here?aCOSwt wrote:Code: Select all
acoswt@PrimaPratica /etc/portage $ cat /etc/portage/env/sys-devel/gcc GCC_MAKE_TARGET="profiledbootstrap"
That page gets automatically updated from gcc/doc/install.texi. I will post a patch to remove the sentence.aCOSwt wrote:Yet another belief or do you hold "These pages are maintained by the GCC team. Last modified 2014-01-03." for a disgraceful decorating idea ?trippels wrote:The documentation is wrong. You can profilbootstrap gcc in parallel at least since 4.6.

trippels wrote:That page gets automatically updated from gcc/doc/install.texi. I will post a patch to remove the sentence.
Now reads:Installing GCC: Building wrote:Unlike standard bootstrap, several additional restrictions apply. The compiler used to build stage1 needs to support a 64-bit integral type. It is recommended to only use GCC for this. Also parallel make is currently not supported since collisions in profile collecting may occur.
These pages are maintained by the GCC team. Last modified 2014-01-03.
Reverent gratefulness, trippels!Installing GCC: Building wrote:Unlike standard bootstrap, several additional restrictions apply. The compiler used to build stage1 needs to support a 64-bit integral type. It is recommended to only use GCC for this.
These pages are maintained by the GCC team. Last modified 2014-04-27.

2 hours, 19 minutes and 49 seconds.krinn wrote:I don't want ruin your fun but add a "c" at end of glib and you might not like the timing resultamulet_linux wrote:glib
merge time: 9 minutes and 35 seconds.

Also I'm using KDEeccerr0r wrote:Ouch... Atom... (I run Gentoo on one too...)
I feel... or maybe not... for those running native toolchain/Gentoo on ARM machines...