There is no way to load modules in parallel, but it would be possible to read the .ko files from disk in parallel. I think that's what happens when you call multiple instances of modprobe in parallel.
Posted Dec 17, 2012 15:05 UTC (Mon) by khim (subscriber, #9252)
[Link]
Why would you want that? If it's spinning rust then it's not a good idea at all and if it's an SSD then speedup will be unnoticeable.
The eudev project launches
Posted Dec 17, 2012 17:00 UTC (Mon) by gidoca (subscriber, #62438)
[Link]
I'm not sure. Presumably you could read a module from disk while another is being init_module()d, which might make things slightly faster. I don't have enough insights into the inner workings of udev, kmod, modprobe and the kernel to tell if that would work, though. Also, it wouldn't have asymptotically better complexity, as was claimed by Richard.
The eudev project launches
Posted Dec 17, 2012 17:23 UTC (Mon) by s0f4r (subscriber, #52284)
[Link]
Readahead already takes care of this, so there is little to no gain from duplicating the same functionality in udev.