On Tue, 09.10.12 14:55, Allmeroth, Robert ([email protected]) wrote:

heya,

> If I do the modprobe on console it's much faster than from within systemd.
> The measurements show that the call to
> int kmod_setup(void) {
>   ...
>   return wait_for_terminate_and_warn(cmdline[0], pid);
> }
> consumes nearly exactly 1 second.
> [    4.990000] <30>systemd[1]: TIME: after exec_spawn: usec: 4990072
> [    5.910000] <30>systemd[1]: TIME: after kmod setup: usec: 5918865
> 
> Since in the end waitid() is called blocking, my only guess is that this 
> function sets up a timer which runs at minimum 1 second.
> (We currently use eglibc from code sourcery)

Umm. We directly call into libkmod for this since a long long
time. Please update your installation to something more recent.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to