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

Colin Guthrie mageia at colin.guthr.ie
Tue Jan 24 21:13:40 CET 2012


'Twas brillig, and Pascal Terjan at 24/01/12 17:25 did gyre and gimble:
> 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)

Yeah this would be fine I think... a simple "After=network-auth.service"
should do as if it's not enabled, then the After should be a noop.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list