Timings for building LFS from my script, initial position.
run -> 0.0 0.1 0.2 mean
tools
-----
binutils pass 1 79.233 80.575 79.114
gcc pass 1 185.055 187.349 182.915
headers 4.265 4.192 4.203
glibc 114.718 118.403 113.707
libstdcpp 23.007 23.185 22.975
binutils pass 2 28.454 29.449 28.419
gcc pass 2 287.481 290.032 281.972
tcl 51.573 48.013 47.208
expect 4.270 4.080 3.913
dejagnu 1.119 1.127 1.121
check 5.220 5.195 5.003
ncurses 18.325 17.523 17.129
bash 18.806 18.020 17.759
bison 19.113 17.755 17.630
bzip2 1.004 0.863 0.869
coreutils 38.770 36.849 36.957
diffutils 17.476 16.683 16.779
file 4.503 4.213 4.248
findutils 24.750 23.712 24.136
gawk 10.279 10.206 9.954
gettext 38.566 37.630 37.076
grep 13.485 13.498 13.244
gzip 8.494 8.339 8.240
m4 13.071 13.134 12.845
make 4.118 4.262 4.081
patch 14.329 14.262 14.247
perl 49.815 48.975 47.877
sed 12.109 12.044 11.926
tar 23.251 23.106 22.608
texinfo 18.173 18.491 17.566
util-linux 23.352 24.210 22.935
xz 7.645 8.072 7.650
tools.sh 20m37 20m36 20m08
1237s 1236s 1208s 1227s
intochroot
----------
On the way into chroot (or if I was re-entering after a build had
failed), I check symlinks /etc/passwd and /etc/group, check that
everything is mounted - or mount it, and then create /etc/passwd
and /etc/group. That script never ends until after I have exited
from chroot
passwd 0.002 0.002 0.003
group 0.002 0.002 0.002
chroot
------
Again, some variation from the book - particularly, I split up
glibc and sanity checks, and I do not invoke the new bash.
directories 0.008 0.008 0.008
essential symls 0.007 0.007 0.007
inputrc 0.001 0.001 0.001
other-files 0.002 0.002 0.002
headers 3.084 3.080 3.071
man-pages 0.044 0.044 0.045
glibc 833.009 845.124 832.661 836.931
variation +1.0$ -0.04%
nsswitch 0.001 0.002 0.002
tzdata 0.093 0.095 0.092
localtime 0.002 0.002 0.002
ld.so.conf 0.001 0.002 0.001
adj-linker 0.003 0.004 0.004
adj-specfile 0.005 0.005 0.005
sanity-check-1 0.028 0.028 0.028
zlib 1.147 1.196 1.167
file 4.543 4.539 4.487
readline 3.860 3.859 3.858
m4 21.087 20.990 21.070
bc 8.909 9.033 8.883
binutils 147.152 146.948 143.742 145.947
variation +0.6% -1.5%
gmp 49.256 50.815 49.454
mpfr 21.265 21.780 21.271
mpc 13.495 13.870 13.304
gcc 1989.684 2004.616 1968.341 1987.547
variation +0.9% -1.0%
sanity-check-2 0.038 0.035 0.035
bzip2 2.085 1.856 1.869
pkg-config 17.292 15.821 15.839
ncurses 17.856 16.561 16.205
attr 2.428 2.416 2.450
acl 2.522 2.529 2.518
libcap 0.388 0.391 0.417
sed 19.258 19.381 19.188
shadow 8.314 8.353 8.309
psmisc 3.166 3.224 3.169
iana-etc 0.093 0.093 0.092
bison 19.209 19.239 19.000
flex 12.204 12.272 12.216
bison tests 0.681 0.674 0.676
grep 20.309 20.216 20.456
bash 174.370 174.429 174.504
libtool 90.977 89.799 90.013
gdbm 5.392 5.253 5.290
gperf 2.556 2.508 2.519
expat 6.927 6.829 6.890
inetutils 27.813 27.574 27.646
perl 705.499 696.238 699.185
XML-Parser 1.913 1.900 1.909
intltool 2.198 2.204 2.205
autoconf 66.167 67.139 66.332
automake 836.278 848.987 838.194
xz 11.277 11.746 11.696
kmod 4.216 4.439 4.432
gettext 111.704 117.516 115.454
libffi 33.170 35.944 34.158
Python3 44.522 47.196 45.709
ninja 19.073 20.095 19.267
meson 0.893 0.962 0.933
procps 8.471 8.962 8.851
e2fsprogs 81.112 69.885 81.661
coreutils 107.527 108.602 107.180
acl tests 0.684 0.695 0.693
diffutils 23.371 23.895 23.408
gawk 14.163 14.375 14.217
findutils 42.482 43.168 42.961
groff 40.238 40.501 40.438
grub2 37.088 37.791 37.270
less 2.877 2.901 2.881
gzip 9.697 9.914 9.700
iproute2 4.991 5.049 5.131
kbd 6.813 6.984 6.938
libpipeline 11.395 11.710 11.700
make 56.958 57.085 57.014
patch 16.477 16.588 16.512
sysklogd 0.484 0.518 0.520
sysvinit 0.474 0.485 0.485
eudev 12.866 13.084 12.893
util-linux 49.253 50.028 49.529
man-db 26.600 27.553 27.180
tar 273.477 273.735 271.003
texinfo 43.107 43.256 44.558
vim 8.841 8.968 9.155
elfutils 17.929 18.203 18.619
debug-symbols 0.196 0.208 0.223
(part of stripping again)
chroot.sh 1h46m54 1h47m54 1h46m38
6414s 6474s 6398s 6429s
variation +0.2% -0.5%
linux-4.14.13
zcat /proc/config 0.002 0.002 0.002
make oldconfig 1.658 2.205 1.656
make -j8 4m45.324 4m47.727 4m51.127
modules_inst' 0.720 0.726 0.718
kernel total 4m47.704 4m50.660 4m53.503
round to sec 288s 291s 294s 291s
variation +1.0% -1.0%
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page