Starting APs earlier during boot

John Baldwin jhb at freebsd.org
Wed Feb 17 19:20:57 UTC 2016


On Wednesday, February 17, 2016 09:46:51 AM Poul-Henning Kamp wrote:
> --------
> In message <CANCZdfqRiEb=fEV1fiE8E9Lr=KYPxDcs5jS2iDW-OowwgoFL3Q at mail.gmail.com>, Warner Losh writes:
> 
> >> what is the goal?  cleaner  code? faster boot?
> >
> >Two goals were in his original email.
> 
> And I hope that in the longer term we also aim to configure I/O
> in parallel ?

I'm a bit leery of doing this fully parallel.  In particular, users currently
depend on the behavior of deterministic names in new-bus (so em0 is always em0
and not sometimes em1).  OTOH, I think that we could eventually allow drivers
to start doing some of the background scans sooner and only harvest the
results at the interrupt config hooks instead of starting the scans and
timers at the interrupt config hook (and this is a step towards that).  From
what I understand, most of our boot time start up delay isn't the new-bus
device probe but userland startup.  Nevertheless, I think the changes I've
proposed here are a prerequisite for even thinking about possibly making
device probe more parallel.

-- 
John Baldwin


More information about the freebsd-arch mailing list