[PATCH] Speed up modprobe and MAKEDEV

Bill Nottingham notting at redhat.com
Wed Oct 1 17:26:24 UTC 2008


Kyle McMartin (kyle at 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.

Bill




More information about the fedora-devel-list mailing list