Re: Large initramfs slows kernel boot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le Wed, 22 Aug 2007 18:46:56 +0000 (UTC),
David Wuertele <dave-gmane@xxxxxxxxx> a écrit :

> My 2.6.12 kernel boots to a shell in 10 seconds if the initramfs is
> small (~5MB).  It takes 30 seconds if the initramfs is large
> (~11MB).  The strange thing is that everything gets slower, even
> subsystems like PCI enumeration or network device enumeration that
> don't seem to have anything to do with the initramfs.
> 
> I enabled CONFIG_PRINTK_TIME, and compared how long each step of the
> boot takes. I've appended a list of the boot steps and the RATIO of
> time it took to complete on the slow system versus the fast system.
> For example, "F=153.9" means that between the timestamp on this
> step's printk and the timestamp on the next step's printk, the slow
> system took 153.9 times longer.

Huh, interesting. I have absolutely no idea what could cause this.
However, I think it would be interesting to know if the steps that
takes longer are always the same, or whether they vary for each reboot.

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux