Re: How to debug kernel startup time?

From: Corrado Zoccolo
Date: Tue Mar 31 2009 - 02:06:45 EST


On Sun, Mar 29, 2009 at 6:59 PM, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Sun, 29 Mar 2009 18:45:36 +0200
> Corrado Zoccolo <czoccolo@xxxxxxxxx> wrote:
>
>> On Sun, Mar 29, 2009 at 5:51 PM, Arjan van de Ven
>> <arjan@xxxxxxxxxxxxx> wrote:
>> > On Sun, 29 Mar 2009 17:40:10 +0200
>> > Corrado Zoccolo <czoccolo@xxxxxxxxx> wrote:
>> >
>> >> Hi,
>> >> I'm seeing around 2 s "lost" during kernel boot, that are not
>> >> accounted for any init call (excerpt of dmesg with initcall_debug
>> >> follows, kernel is 2.6.29).
>> >> What's the suggested way to investigate such problems?
>> >
>> > I take it you don't have an initrd ?
>>
>> You guessed right.
>>
>> >
>> > If so I know what you are hitting; I have a patch to solve it but
>> > it's a bit convoluted and not ready for mainline.... let me know if
>> > you want to try it, I suspect it'll solve your issue ;)
>> >
>>
>> Sure. I'd like to test it.
>>
>
> attached...

They worked fine. With fastboot enabled + some ACPI patch that alexei
is working on, I can now boot the kernel in 1.7s.

Corrado

>
> --
> Arjan van de Ven    ÂIntel Open Source Technology Centre
> For development, discussion and tips for power savings,
> visit http://www.lesswatts.org
>



--
__________________________________________________________________________

dott. Corrado Zoccolo mailto:czoccolo@xxxxxxxxx
PhD - Department of Computer Science - University of Pisa, Italy
--------------------------------------------------------------------------
The self-confidence of a warrior is not the self-confidence of the average
man. The average man seeks certainty in the eyes of the onlooker and calls
that self-confidence. The warrior seeks impeccability in his own eyes and
calls that humbleness.
Tales of Power - C. Castaneda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/