Re: Slow booting on x15

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

 



On Fri, Sep 25, 2020 at 02:51:47PM +0300, Tony Lindgren wrote:
> * Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> [200924 13:31]:
> > Hi Tony,
> > 
> > On Thu, Sep 24, 2020 at 09:08:26AM +0300, Tony Lindgren wrote:
> > > * Tomi Valkeinen <tomi.valkeinen@xxxxxx> [200924 06:05]:
> > > > On 24/09/2020 08:53, Tony Lindgren wrote:
> > > > >>>>> On Fri, Sep 18, 2020 at 06:25:02PM +0300, Tomi Valkeinen wrote:
> > > > >>>>>> v5.9-rc5
> > > > >>>>>> [    0.706165] cpuidle: using governor menu
> > > > >>>>>> [    6.761812] No ATAGs?
> > > > >>>>>>
> > > > >>>>>> [   19.522536] Run /sbin/init as init process
> > > > > 
> > > > > Hmm v5.9-rc1 here with NFSroot shows this for me:
> > > > > 
> > > > > [   11.704511] Run /sbin/init as init process
> > > > > 
> > > > > And v5.9-rc6 shows:
> > > > > 
> > > > > [   13.120913] Run /sbin/init as init process
> > > > > 
> > > > > With at least two seconds spent on waiting for Ethernet PHY to
> > > > > negotiate the speed. This is with omap2plus_defconfig.
> > > > 
> > > > I'm also using nfsroot, so I didn't put too much weight on the "Run /sbin/init as init process"
> > > > line, as it could also be caused the network or the nfs server. But the "No ATAGs" lines already
> > > > show an increase from 0.8s to 6.7s from v5.7 to v5.9-rc5.
> > 
> > Yes, that's the main issue.
> > 
> > > That's strange, I'm seeing this with v5.9-rc6:
> > > 
> > > [    2.357585] No ATAGs?
> > 
> > What's your test platform ?
> 
> This is from beagle x15. I wonder how Tomi is seeing over six seconds
> at that point though while I'm seeing two something.

And I see 10s on the same platform.

> > Still, 1.5s spent there is quite a lot.
> 
> Probably that's when module_init runs and we probe almost everything.
> Might be worth profiling to see if we can optimize out some full dtb
> tree searches for example.

As far as I can tell, module_init() runs later than that. If we probed
everything there would be lots of messages printed during that period of
time.

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux