Collecting SBUs now

jsmaby at virgo.umeche.maine.edu jsmaby at virgo.umeche.maine.edu
Thu May 30 13:24:53 PDT 2002


All right, here's another system:
  Alpha PC164 533MHz
  512MB RAM
  10K rpm scsi
  gcc-3.1 (lfs-cvs)

1 SBU 389.19s
Note required disk space is about twice that of 32bit systems.
Lilo failed to build (bin86 built, but it seg faults).

SBU                 389.19
Bash-2.05a            1.00
Binutils-2.12         1.90
Bzip2-1.0.2           0.11
Diffutils-2.8.1       0.26
Fileutils-4.1         0.67
Findutils-4.1         0.11
Gawk-3.1.1            0.39
Gcc-3.1              13.42
Grep-2.5              0.18
Gzip-1.2.4a           0.04
Make-3.79.1           0.18
Patch-2.5.4           0.10
Sed-3.02              0.09
Sh-utils-2.0          0.47
Tar-1.13              0.22
Texinfo-4.2           0.41
Textutils-2.0         0.45
Util-linux-2.11r      0.08
                    
Linux-2.4.18          0.01
Glibc-2.2.5          13.57
Makedev-1.5           0.05
Gcc-3.1              15.17
Man-pages-1.48        0.00
Findutils-4.1         0.10
Gawk-3.1.1            0.43
Ncurses-5.2           2.25
Vim-6.1               1.07
Bison-1.35            0.26
Less-374              0.15
Groff-1.17.2          1.11
Textutils-2.0         0.43
Sed-3.02              0.08
Flex-2.5.4a           0.06
Binutils-2.12         2.98
Fileutils-4.1         0.71
Sh-utils-2.0          0.48
Gettext-0.11.2        1.10
Net-tools-1.60        0.21
Perl-5.6.1            2.69
M4-1.4                0.09
Texinfo-4.2           0.50
Autoconf-2.53         0.04
Automake-1.6.1        0.02
Bash-2.05a            0.95
File-3.38             0.19
Libtool-1.4.2         0.19
Bin86-0.16.3          0.09
Bzip2-1.0.1           0.12
Ed-0.2                0.07
Kbd-1.06              0.14
Diffutils-2.8.1       0.31
E2fsprogs-1.27        0.84
Grep-2.5              0.22
Gzip-1.2.4a           0.04
Man-1.5j              0.06
Lilo-22.2
Make-3.79.1           0.24
Modutils-2.4.16       0.16
Netkit-base-0.17      0.04
Patch-2.5.4           0.12
Procinfo-18           0.03
Procps-2.0.7          0.19
Psmisc-21             0.10
Reiserfsprogs-3.x1b   0.34
Shadow-4.0.3          0.91
Sysklogd-1.4.1        0.04
Sysvinit-2.84         0.08
Tar-1.13              0.28
Util-linux-2.11r      0.38
LFS-bootscripts-1.9   0.00
Linux-2.4.18          5.14


I'm sure we've all been keeping busy making databases of
the results so far, and writing code to find the averages.
Here's my perl script that gets the average and standard deviation
(just to be a bit _too_ scientific)

#!/usr/bin/perl -W
# Calculate Static Bash Unit averages.  Data should be of the form
#   Binutils-2.12        1.94  1.77  2.17  1.90  2.50  2.38
#   Bzip2-1.0.2          0.07  0.07  0.08  0.11  0.11  0.10
#   Diffutils-2.8.1      0.32  0.27  0.36  0.26  0.32  0.31
# Comments start with a #, and non-numeric and empty entries are ignored.
#
while(<>){
  next if /^#/; # Skip comments
  ($package, @times) = split;
  $count = 0;
  $total = 0;
  foreach $time (@times){
    next if ($time!~/^[\d\.]*$/); # Not a real time, don't count it.
    $total += $time;
    $data[$count] = $time;
    $count++;
  }
  next if ($count == 0); # No data?
  $ave = sprintf("%0.2f", $total/$count); # Save to two decimals
  # Take standard deviation
  $std = 0;
  for ($i=0; $i<$count; $i++){
    $std += ($data[$i] - $ave)**2;
  }
  $std = sprintf("%0.2f", sqrt($std/($count-1)));
  # Pad the package name with spaces to make collumns align
  $package .= " "x(25-length($package)-length($ave));
  print "$package $ave +/- $std\n";
}

-James
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list