[Bug 369550] Re: /etc/init.d/virtualbox-ose wastes 10 seconds with find /lib/modules

Daniel Hahler launchpad at thequod.de
Thu Apr 30 19:37:01 UTC 2009


Thank you for your investigation and proposed solution. This sounds like
a great improvement in boot time.

I'm looking into getting it fixed in Karmic and forwarded to Debian.


My results (please note that you should use "sudo" for the modprobe call):

$ echo 3 |sudo tee /proc/sys/vm/drop_caches
3
daniel at base { ~ }
$ time sudo modprobe -n -q vboxdrv

real    0m2.076s
user    0m0.008s
sys     0m0.004s
daniel at base { ~ }
$ echo 3 |sudo tee /proc/sys/vm/drop_caches
3
daniel at base { ~ }
$ time find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv

real    0m9.875s
user    0m0.028s
sys     0m0.072s


** Changed in: virtualbox-ose (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: virtualbox-ose (Ubuntu)
       Status: New => Triaged

** Tags added: boottime performance

-- 
/etc/init.d/virtualbox-ose wastes 10 seconds with find /lib/modules
https://bugs.launchpad.net/bugs/369550
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list