RFC: Removing hpt* drivers from GENERIC

Colin Percival cperciva at tarsnap.com
Tue Dec 19 10:02:03 UTC 2017

On 10/25/17 15:56, O'Connor, Daniel wrote:
>> On 26 Oct 2017, at 08:13, Colin Percival <cperciva at tarsnap.com> wrote:
>> [Proposal for removing hpt* drivers since hpt27xx and hptnr take a long
>> time to in DEVICE_PROBE.]
> Seems sensible to me, but also worth contacting the blob authors if
> possible and asking them what gives (and if they can fix it).

Turns out that they were indeed able to fix it, with startling rapidity.
delphij@ committed r325683 (MFCed as r32600[56]) which reduces the time
spent in these DEVICE_PROBE routines from ~150 ms down to ~37 *us* on my
laptop.  So my immediate desire for faster booting has been satisfied with
regard to these drivers.

I know some people (CCed) were enthusiastic about removing these from GENERIC
on the basis that we shouldn't have binary blobs in GENERIC; while I'm
certainly sympathetic to this, I'd suggest that it should be done by someone
who has time to look at the other binary blobs in the tree and formulate a
general policy rather than just picking on the hpt* drivers.  Unfortunately,
that person is not me; I have 12 days left to submit a talk to AsiaBSDCon
about my work on profiling the kernel boot (which is how I noticed the slow
probing originally) and then a long list of other places to speed up the
boot performance.

Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

More information about the freebsd-current mailing list