[SGVLUG] Time to boot getting longer with Debian

John E. Kreznar jek at ininx.com
Sat Apr 22 12:58:58 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Lawyer <dave at lafn.org> writes:

> I just installed kernel 2.6.15 on my 11-year-old PC and it takes over
> 3 min. to boot. ... I could track down the delays ....

2.6.16 (and maybe 2.6.15 as well?) has a new configuration parameter
PRINTK_TIME described as follows.

	bool "Show timing information on printks"
	help
	  Selecting this option causes timing information to be
	  included in printk output.  This allows you to measure
	  the interval between kernel operations, including bootup
	  operations.  This is useful for identifying long delays
	  in kernel startup.

See linux-source-2.6.16/lib/Kconfig.debug.  While researching this, I
also noticed this comment in linux-source-2.6.16/scripts/show_delta:

   This program parses the output from a set of printk message lines which
   have time data prefixed because the CONFIG_PRINTK_TIME option is set, or
   the kernel command line option "time" is specified. When run with no
   options, the time information is converted to show the time delta between
   each printk line and the next.  When run with the '-b' option, all times
   are relative to a single (base) point in time.

suggesting that kernel command line option "time" might provide more
of the information you're looking for here, even if PRINTK_TIME is not
set.

This came to my attention while configuring a 2.6.16 kernel, something
that I wouldn't have been doing at all but for this SGVLUG thread --
thanks, David!

- -- 
 John E. Kreznar jek at ininx.com 9F1148454619A5F08550 705961A47CC541AFEF13
  Operating a computer with a GUI is like driving a car with
   an animated cartoon in place of the clear front window.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFESor3YaR8xUGv7xMRAoulAJ9FxJ4ixdYbS9Xr5IXlINqlcgkYnACeM/o3
HePAG3Ck0r39m8hbER6OLpg=
=+XNm
-----END PGP SIGNATURE-----



More information about the SGVLUG mailing list