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

Re: [PATCH] Speed up modprobe and MAKEDEV



On Wed, Oct 01, 2008 at 01:26:24PM -0400, Bill Nottingham wrote:
> Kyle McMartin (kyle mcmartin ca) said: 
> > > MAKEDEV sources almost 500KB of config files on every invocation, and the
> > > inner loop is terribly inefficient.  The second patch allows it to shrink
> > > the files to 55KB while expressing the same info and makes the inner loop
> > > more efficient.  Depending on how many modprobe and MAKEDEV invocations
> > > are done on your box during bootup, this can or might not make meassurable
> > > difference.
> > 
> > Definitely. The biggest win by far for MAKEDEV is profiling the often
> > hit devices, and prioritizing things. Dave Airlie moved a bunch of the
> > cciss and other almost never-seen devices to be sourced last and ended
> > up with a huge win.
> 
> Well, the biggest win for MAKEDEV would be to not run it at all on boot -
> we shouldn't have to.
> 

Agreed. ;-)


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