On 20-10-15 15:01:27, Bryan Quigley wrote:
> 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).
Yes, I think so, at least for fglrx and for nvidia.
On 20-10-15 15:01:27, Bryan Quigley wrote: $(uname -r) -name '%s*.ko' -print", $(uname -r)/updates/dkms -name '%s*.ko' -print",
> Find seems to be the other big time culprit:
> - "find /lib/modules/
> + "find /lib/modules/
>
> 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).
Yes, I think so, at least for fglrx and for nvidia.