[systemd-devel] udev took too long to start

microcai microcai at fedoraproject.org
Fri May 20 09:58:35 PDT 2011


于 2011年05月21日 00:50, Harald Hoyer 写道:
> Am 20.05.2011 18:49, schrieb microcai:
>> 于 2011年05月20日 23:35, Kay Sievers 写道:
>>> On Fri, May 20, 2011 at 17:32, microcai<microcai at fedoraproject.org> 
>>> wrote:
>>>
>>>> Now I've full relized that, the problem is fsck-root.service.
>>>>
>>>> udev.service stay idle as soon as fsck-root.service exit.
>>>>
>>>> It is fsck-root.service that took so long to do the job.
>>>
>>> Check that the clock is right, that rtc is set by the kernel:
>>>    [    0.851573] rtc_cmos 00:07: setting system clock to 2011-05-20
>>> 15:24:49 UTC (1305905089)
>>>
>>> so that fsck does not think it needs to check?
>>>
>>> Kay
>>
>> It's some kinds wired strange.
>>
>> When I disable readahead, fsck-root.service done in less than 1s.
>>
>> But when I enable readahead, fsck-root.service took more thatn 8s to
>> finish.
>>
>> It's that strange?
> 
> No.. it isn't... both do heavy I/O and share the same slow disk :)

No, I've change the fsck-root.service to use /sbin/fsck -p /dev/sda2
directly

systemd-anaylz shows that systemd started fsck-root.service very early.

But I notice fsck's  ouput only at the end of the boot process.

Wired strange thing!

It means, fsck speed 8s more to initialize it self!

> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110521/9437da16/attachment-0001.pgp>


More information about the systemd-devel mailing list