[Mageia-dev] Boot on Mageia Cauldron is damn slow! RFC

Pascal Terjan pterjan at gmail.com
Tue Jan 24 18:25:09 CET 2012


On Tue, Jan 24, 2012 at 16:54, Colin Guthrie <mageia at colin.guthr.ie> wrote:
> 'Twas brillig, and Damien Lallement at 24/01/12 14:06 did gyre and gimble:
>> Hi,
>>
>> Since my laptop (HDD) is running Cauldron, it needs 5 minutes to boot
>> whereas it was taking 1 minute under Mageia 1.
>> And on my working desktop (SSD), Mageia 1 was booting in 3 seconds and
>> now it takes 1 minute.
>>
>> Here are my bootcharts:
>> - Lenovo X220 with HDD :
>> http://damsweb.net/trash/bootchart-mga_cauldron-lenovo_x220.png
>>
>> - Homemade core i3 + SSD :
>> http://damsweb.net/trash/bootchart-mga_cauldron-ssd.png
>>
>> Does anyone encounter the same issue?
>> Any advice on this and how to fix it?
>
> One obvious issue (which is on my todo list) is that prefdm.service
> currently has a hard dep on network-up. We need this if the user has
> network based auth (e.g. ldap, NIS etc.)
>
> In your SSD case, this accounts for at least 25s delay.
>
> We need to have a little service (or something in drakauth) that
> adds/removes the dependency on network-up when a network authentication
> mechanism is detected.
>
> Not sure how we handled this in mga1 (possibly not at all!).

There is /etc/init.d/network-auth which is enabled if needed (probably
in drakauth code)


More information about the Mageia-dev mailing list