http://lldn.timesys.com/files/Episode_011_LinuxLink_Radio.mp3
Κράτησα κάποιες σημειώσεις κατα τη διάρκεια και τις παραθέτω παρακάτω, στα Αγγλικά
Actual Boot Time Reduction
- Remove default options from the kernel and use ONLY what is necessary
- Use static network parameters
- Remove usb drivers (they can be loaded later)
- Remove component waitstates wherever applicable (kernel hacking)
- Suppress boot messages (don't just redirect them to the serial)
- Use busybox instead of a full SysV
- Init can start an app directly by using "init=
/ " in the kernel params. Make sure the app always starts and NEVER exits cause you will get kernel panic - Statically link boot critical apps.
- Use stage booting with initrd or initramfs in order to load "human interface drivers*" quickly. Show that something IS happening.
- In addition to the above the app can be broken up so that it initializes in then initramfs (or initrd) and the rest of the facilities are initialized later.
General points
- Initramfs can be tricky because if care is not taken when writing to disk, it can grow and eventually fill up the whole available ram.
- Don't use runlevels
- When using an app as an init replacement be extra careful
- Nash is a lightweight shell for busybox.
The above does not cover the whole podcast nor is intended to do so. It's merely a personal reminder. Hope you find it useful
No comments:
Post a Comment