[systemd-devel] Switch root slowness

Jan Synacek jsynacek at redhat.com
Thu Oct 30 07:13:50 PDT 2014


Dave Reisner <d at falconindy.com> writes:
> On Thu, Oct 30, 2014 at 01:18:24PM +0100, Jan Synáček wrote:
>> Hello,
>> 
>> commit 539618a0ddc2dc7f0fbe28de2ae0e07b34c81e60
>> Author: Lennart Poettering <lennart at poettering.net>
>> Date:   Wed Oct 29 17:06:32 2014 +0100
>> 
>>     util: make use of the new getrandom() syscall if it is available when needing entropy
>> 
>>     Doesn't require an fd, and could be a bit faster, so let's make use of
>>     it, if it is available.
>> 
>> Beginning from this commit, switch root takes about a minute on my machine.
>
> ...
>
> Probably fixed by:
>
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=74a550c5d8228

Nope, still slow.

-- 
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141030/b134fee0/attachment.sig>


More information about the systemd-devel mailing list