From Fedora Project Wiki

Revision as of 23:15, 17 February 2009 by Adamwill (talk | contribs) (create minimal services bootchart test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case helps you generate and upload boot speed data when booting with a very minimal set of services.


How to test

  1. Ensure Bootchart is installed according to these instructions
  2. Ensure you have reported your system information to Smolt according to these instructions
  3. Ensure the readahead package is installed, with yum or the graphical package manager
  4. Edit the file /etc/sysconfig/readahead and change READAHEAD="yes" to READAHEAD="no" if it is currently set to yes
  5. Using system-config-services or ntsysv, ensure that only the following services are activated at boot: atd,auditd,crond,haldaemon,messagebus,network,rsyslog,sshd
  6. Reboot the system
  7. Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): cp /var/log/bootchart.tgz ./Bootchart-head -n1 /etc/sysconfig/hw-uuid-minimal.tgz
  8. Edit the file /etc/sysconfig/readahead and change READAHEAD="no" to READAHEAD="yes" if it is currently set to no
  9. Reboot, then as soon as the system is fully booted, reboot again
  10. Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): cp /var/log/bootchart.tgz ./Bootchart-head -n1 /etc/sysconfig/hw-uuid-minimal-ra.tgz
  11. Optionally, you can run the command bootchart as root to generate a bootchart image, then save that with a similar, unique filename

Expected Results

  1. Two different sets of boot speed data should be generated and saved with unique file names.