Awesome, the simple change dmesg | grep, to grep syslog saves me about 1
second in gpu-manager, and possibly 2 in total boot time (from 7 seconds
to 5).   If the changes are proportional for a rotational HDD this will
be a major speed improvement there..

I was thinking about using the journalctl instead, but that didn't work
- seems to take longer.

Find seems to be the other big time culprit:
-             "find /lib/modules/$(uname -r) -name '%s*.ko' -print",
+             "find /lib/modules/$(uname -r)/updates/dkms -name '%s*.ko' 
-print",

Do we always know that the modules will be under updates/dkms or could
they be elsewhere?  With that, it's far under 500ms for me (with strace
on).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307069

Title:
  gpu-manager causing long startup delays

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1307069/+subscriptions

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

Reply via email to