[systemd-devel] [PATCH] systemd: record the userspace timestamp early
Harald Hoyer
harald.hoyer at gmail.com
Wed Apr 24 09:44:01 PDT 2013
On 04/24/2013 05:19 PM, harald at redhat.com wrote:
> From: Harald Hoyer <harald at redhat.com>
>
> The time for systemd initialization and selinux policy loading
> is accounted to the initrd or the kernel, which is wrong.
>
> Instead of:
>
> Startup finished in 5.559s (firmware) + 36ms (loader) + 665ms (kernel) +
> 975ms (initrd) + 1.410s (userspace) = 8.647s
>
> the more correct output is:
>
> Startup finished in 5.559s (firmware) + 36ms (loader) + 665ms (kernel) +
> 475ms (initrd) + 1.910s (userspace) = 8.647s
> ---
> src/core/main.c | 5 +++++
> 1 file changed, 5 insertions(+)
[0.981706] lenovo systemd[1]: Switching root.
...
[1.559459] lenovo systemd[1]: Successfully loaded SELinux policy in 457.451ms.
[1.604309] lenovo systemd[1]: Relabelled /dev and /run in 18.301ms.
More information about the systemd-devel
mailing list