Thought about speeding up startup...

Matt Zimmerman mdz at canonical.com
Fri Oct 22 17:44:02 UTC 2004


On Fri, Oct 22, 2004 at 09:28:50AM +0200, Oliver Grawert wrote:

> Am Donnerstag, den 21.10.2004, 16:38 -0700 schrieb Matt Zimmerman:
> > On Fri, Oct 22, 2004 at 12:26:21AM +0100, Colin Watson wrote:
> > 
> > > On Thu, Oct 21, 2004 at 04:11:27PM -0700, Matt Zimmerman wrote:
> > > > In Oxford, I did some primitive profiling of this, and a huge part of the
> > > > delay is actually parsing out the (large) pcimap file using only the shell.
> > > > I believe it was about 300ms per PCI device, which adds up to a significant
> > > > amount of time.  Most of the modules are actually fairly quick to load.
> > > > The whole pipeline is started up and stopped again for each device; I have
> > > > 17 PCI devices in my laptop, and 11 in my desktop.
> what about splitting the up pci database in categories, hotplug as well
> and then run the different categorized hotplugs as threads in parallel ?

Parallelizing the loading of modules into the kernel strikes me as
unnecessarily risky.  I'm not sure that the kernel can actually load two
modules simultaneously either.

-- 
 - mdz




More information about the ubuntu-users mailing list