Run 2 is with the fixes fedora are using for retpoline, to guard
against Spectre v2.  These are not the latest fixes, but they do
apply to 4.14.  NB they might blow up on AMD machines or in KVMs,
that has now been fixed upstream.

run ->             2.0             2.1             2.2          mean

tools
-----
binutils pass 1   80.131          79.826          80.158
gcc pass 1       187.231         188.910         189.883
headers            4.407           4.439           4.456
glibc            117.391         119.706         119.789
libstdcpp         23.760          23.875          23.878
binutils pass 2   29.275          29.368          29.244
gcc pass 2       293.224         293.550         287.530
tcl               49.594          51.363          48.672
expect             4.347           4.635           4.318
dejagnu            1.135           1.134           1.131
check              5.285           5.701           5.328
ncurses           18.203          19.036          18.055
bash              18.663          19.237          19.031
bison             18.548          19.211          18.988
bzip2              0.969           0.984           0.977
coreutils         38.240          39.239          39.282
diffutils         17.507          18.051          17.765
file               4.542           4.656           4.612
findutils         25.195          26.060          26.159
gawk              10.436          10.743          10.640
gettext           38.984          40.130          40.119
grep              13.966          14.453          14.055
gzip               8.711           9.047           8.815
m4                13.576          13.852          13.786
make               4.353           4.432           4.504
patch             14.899          15.391          15.638
perl              49.377          50.351          51.552
sed               12.698          12.966          13.429
tar               23.995          24.462          25.118
texinfo           18.730          19.237          19.727
util-linux        24.114          24.711          25.568
xz                 8.040           8.235           8.438

tools.sh        20m58s          21m16s          21m10s
                1258s           1276s           1270s           1268s
 variation +0.6% -0.8%, 3.3% slower than initial, 0.9% than PTI

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.003           0.002           0.002
group              0.003           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.009           0.009           0.008
essential symls    0.007           0.008           0.007
inputrc            0.001           0.001           0.002
other-files        0.003           0.003           0.003
headers            3.332           3.332           3.538
man-pages          0.057           0.055           0.055
glibc            860.935         856.271         853.981

nsswitch           0.001           0.002           0.002
tzdata             0.099           0.099           0.099
localtime          0.002           0.002           0.002
ld.so.conf         0.002           0.002           0.002
adj-linker         0.005           0.005           0.004
adj-specfile       0.006           0.005           0.006
sanity-check-1     0.032           0.032           0.032
zlib               1.212           1.191           1.200
file               4.948           4.902           4.898
readline           4.102           4.148           4.139
m4                22.229          22.212          22.165
bc                 9.138           9.049           8.996
binutils         159.076         151.402         156.014        155.497
 variation +2.3%, -2.6%, 6.5% slower than initial, 1.4% than PTI
gmp               52.393          51,891          52.086
mpfr              22.763          22.348          22.641
mpc               14.089          13.972          13.980
gcc             2046.371        2031.831        2036.875        2038.359
 variation +0.39%, -0.32%, 2,6% slower than initial, 0.6% than PTI
sanity-check-2     0.038           0.068           0.039
bzip2              2.037           2.100           2.067
pkg-config        16.822          17.363          16.928
ncurses           17.504          18.114          17.059
attr               2.608           2.728           2.633
acl                2.705           2.801           2.738
libcap             0.387           0.427           0.422
sed               20.202          21.161          20.339
shadow             8.963           9.176           9.028
psmisc             3.403           3.470           3.442
iana-etc           0.094           0.095           0.093
bison             20.083          20.367          20.477
flex              12.670          12.864          12.748
bison tests        0.687           0.704           0.686
grep              21.444          21.862          21.464
bash             175.626         175.969         175.715
libtool           95.332          94.790          97.368
gdbm               5.632           5.620           5.957
gperf              2.639           2.645           2.782
expat              7.096           7.164           7.422
inetutils         29.202          29.294          31.291
perl             712.479         713.343         721.877
XML-Parser         1.967           2.069           2.013
intltool           2.270           2.320           2.317
autoconf          72.336          73.230          69.839
automake         876.517         869.949         865.111
xz                12.210          12.020          12.156
kmod               4.616           4.613           4.665
gettext          126.668         119.616         120.840
libffi            38.729          36.302          36.194
Python3           51.012          47.603          46.891
ninja             21.906          19.828          19.363
meson              1.144           0.953           0.910
procps             9.676           9.441           9.062
e2fsprogs         83.169          84.070          88.242
coreutils        113.881         123.094         112.624
acl tests          0.761           0.794           0.772
diffutils         25.107          25.760          24.941
gawk              15.093          15.554          15.045
findutils         45.677          47.358          46.071
groff             41.803          42.183          41.987
grub2             39.037          39.413          39.704
less               3.101           3.108           3.144
gzip              10.508          10.483          10.626
iproute2           5.191           5.252           5.302
kbd                7.358           7.282           7.432
libpipeline       12.313          12.361          12.646
make              57.414          57.490          57.619
patch             17.566          17.368          17.876
sysklogd           0.492           0.496           0.553
sysvinit           0.475           0.485           0.539
eudev             13.936          14.061          13.753
util-linux        50.567          50.907          51.150
man-db            28.336          28.661          28.095
tar              286.694         280.725         280.182
texinfo           46.669          44.528          44.185
vim                9.655           9.342           9.100
elfutils          18.922          18.385          18.244
debug-symbols      0.208           0.198           0.195
 (part of stripping again)

chroot.sh        1:51:17        1:50:37         1:50:22
                 6677s          6637s           6622s           6645s
 variation +0.5%, -0.3%, 3.4% slower than initial, 0.9% than PTI

linux-4.14.13 - this time, patched

 zcat /proc/config 0.002           0.002           0.002
 make oldconfig    1.723           1.727           1.696
 make -j8       4m44.152        4m43.483        4m53.281
 modules_inst'     0.784           0.779           0.788
 kernel total   4m48            4m46        4m56
round to sec     288s            286s            296s           290s
 variation +2.0%, -1.4%,
 0.3% faster than initial, 2.0% faster than PTI

-- 
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

Reply via email to