Mein Linux
Zeitaufwand für eine LFS-Installation
AMD 486DX-40
- LFS-Version:
3.0pre1 - Basis-System:
Linux From Scratch 2.4.2 - CFLAGS: -O3 -march=i486
- Prozessor: AMD 486 DX-40
- Speicher: 32 MB
- Motherboard: 486-GIO-VT
Leider waren nur 64 kB Cache im Board vorhanden, 256 kB dürften schon einen Unterschied machen. Die Festplatten (insgesamt 900 MB) lieferten im Durchschnitt 800 KB/s. Die C-Bibliothek wurde mit folgenden Flags konfiguriert: --prefix=/usr --enable-add-ons --libexecdir=/usr/bin --enable-kernel=2.4.0 --disable-profile --disable-debug --without-cvs
(CFLAGS waren aus Versehen nur -O2 -march=i486) Durch --disable-profile und --disable-debug wird das Erstellen einer Version zum Profiling und zum Debuggen verhindert, da auf alten Systemen sicherlicih keine Programme entwickelt werden sollen. --enable-kernel=2.4.0 bewirkt, daß wenigstens ein 2.4-Kernel vorhanden sein muß, damit die Bibliothek funktioniert (--enable-kernel=2.4.1 und --enable-kernel=2.4.2 führen zu einem Fehler beim Übersetzen). Gleichzeitig werden einige C-Funktionen schneller.
| Paket | Zeit (configure) | Zeit(make) | Zeit (make install) | Speicherbedarf |
|---|---|---|---|---|
| bash-2.04 | 9:54 | 30:17 | 0:07 | 11 484 KB |
| binutils-2.10.1 | 24:14 | 72:46 | 3:44 | 53 664 KB |
| bzip2-1.0.1 | - | 5:46 | 0:03 | 2 732 KB |
| diffutils-2.7 | 1:18 | 6:14 | 0:03 | 2 676 KB |
| fileutils-4.0 | 10:58 | 12:48 | 0:36 | 13 080 KB |
| gcc-2.95.2.1 | 14:46 | 466:22 | 4:43 | 115 492 KB |
| grep-2.4.2 | 4:01 | 4:41 | 0:12 | 3 616 KB |
| gzip-1.2.4a | 0:23 | 2:23 | 0:05 | 1 476 KB |
| make-3.79.1 | 4:01 | 7:05 | 0:07 | 5 052 KB |
| sed-3.02 | 1:46 | 2:48 | 0:05 | 1 908 KB |
| sh-utils-2.0 | 13:32 | 10:34 | 0:44 | 16 068 KB |
| tar-1.13 | 6:43 | 7:14 | 0:10 | 5 596 KB |
| textutils-2.0 | 10:25 | 12:38 | 0:40 | 18 196 KB |
| mawk-1.3.3 | 0:43 | 2:15 | 0:01 | 1 856 KB |
| texinfo-4.0 | 4:24 | 16:32 | 0:20 | 8 072 KB |
| gettext-0.10.35 | 4:12 | 4:11 | - | 3 992 KB |
| Paket | Zeit (configure) | Zeit(make) | Zeit (make install) | Speicherbedarf |
|---|---|---|---|---|
| Glibc-2.2.2 | 1:21 | 517:17 | 195:16 | 137 488 KB |
| man-pages-1.33 | - | 2:00 | 0:14 | 5 060 KB |
| ed-0.2 | 0:40 | 4:26 | 0:01 | 1 792 KB |
| patch-2.5.4 | 1:39 | 3:50 | 0:01 | 1 152 KB |
| findutils-4.1 | 1:19 | 4:31 | 0:05 | 1 912 KB |
| mawk-1.3.3 | 0:35 | 4:57 | 0:01 | 1 568 KB |
| ncurses-5.2 | 6:23 | 87:03 | 6:13 | 16 536 KB |
| vim-5.7 | 3:23 | 39:06 | 0:23 | 12 024 KB |
| gcc-2.95.2.1 | 12:58 | 483:27 | 3:12 | 111 496 KB |
| bison-1.28 | 2:22 | 3:50 | 0:08 | 2 220 KB |
| less-358 | 1:50 | 5:54 | 0:01 | 1 500 KB |
| groff-1.16.1 | 2:17 | 55:52 | 1:19 | 13 484 KB |
| man-1.5h1 | 0:24 | 3:27 | 0:02 | 1 452 KB |
| perl-5.6.0 | 28:19 | 94:51 | 64:28 | 24 024 KB |
| m4-1.4 | 1:10 | 5:19 | 0:02 | 1 964 KB |
| texinfo-4.0 | 3:49 | 18:49 | 0:17 | 7 020 KB |
| autoconf-2.13 | 0:07 | 0:07 | 0:02 | 2 004 KB |
| automake-1.4 | 1:41 | - | 0:03 | 2 480 KB |
| bash-2.04 | 9:08 | 30:31 | 0:05 | 11 220 KB |
| flex-2.5.4a | 0:31 | 4:17 | 0:02 | 2 256 KB |
| file-3.33 | 1:11 | 2:59 | 0:05 | 1 356 KB |
| libtool-1.3.5 | 2:22 | 1:59 | 0:18 | 2 844 KB |
| bin86-0.15.4 | - | 4:23 | 0:02 | 1 248 KB |
| binutils-2.10.1 | 22:40 | 97:07 | 3:19 | 47 352 KB |
| bzip2-1.0.1 | - | 5:17 | 0:01 | 1 700 KB |
| gettext-0.10.35 | 4:21 | 7:57 | 0:36 | 4 204 KB |
| console-tools-0.2.3 | 5:01 | 18:43 | 2:30 | 4 936 KB |
| console-data-1999.08.29 | 0:39 | 2:28 | 0:32 | 5 728 KB |
| diffutils-2.7 | 1:23 | 6:28 | 0:02 | 1 628 KB |
| e2fsprogs-1.19 | 4:49 | 33:06 | 0:41 | 8 468 KB |
| fileutils-4.0 | 11:13 | 12:43 | 0:31 | 7 332 KB |
| grep-2.4.2 | 3:56 | 4:35 | 0:19 | 2 956 KB |
| gzip-1.2.4a | 0:24 | 2:26 | 0:06 | 1 192 KB |
| lilo-21.7 | - | 2:15 | 0:05 | 3 064 KB |
| make-3.79.1 | 4:46 | 7:41 | 0:12 | 4 700 KB |
| modutils-2.4.3 | 0:35 | 8:37 | 0:12 | 2 236 KB |
| procinfo-17 | - | 1:19 | 0:01 | 168 KB |
| procps-2.0.7 | - | 8:59 | 0:07 | 1 504 KB |
| psmisc-19 | - | 1:31 | 0:01 | 220 KB |
| sed-3.02 | 1:45 | 2:51 | 0:06 | 1 664 KB |
| sh-utils-2.0 | 14:17 | 10:03 | 0:51 | 7 304 KB |
| shadow-20000902 | 8:41 | 28:12 | 7:04 | 5 800 KB |
| sysklogd-1.4 | - | 1:50 | 0:01 | 436 KB |
| sysvinit-2.78 | - | 3:32 | 0:04 | 852 KB |
| tar-1.13 | 7:00 | 7:56 | 0:21 | 5 076 KB |
| textutils-2.0 | 11:05 | 12:42 | 0:52 | 11 900 KB |
| util-linux-2.10s | 1:21 | 26:17 | 0:26 | 8 942 KB |
Das macht somit insgesamt etwa 50 Stunden zum Übersetzen und Installieren. Hinzu kommt noch die Zeit, die man zum Entpacken der einzelnen Programmpackete braucht, denn das kann durchaus dauern (GCC mit bzip2 entpackt: 6:47 min). Für das LFS-System an sich wird etwa 180 MB benötigt (+ 140 MB für die übersetzten Kernelquellen). Dieser Wert reduziert sich auf etwa 140 MB am Ende der Installation. Ein paar Megabytes können noch durch das Packen der Man-Pages gewonnen werden.
