Leap 15.4 Beta - Shave 30 seconds off boot time (WAIT_FOR_INTERFACES="1")
All, My 15.0 would boot from off to full desktop in 12 seconds (kdm3/kde3). I installed 15.4 Beta and boot times were a little over 43 seconds. I wanted 15.4 to boot like 15.0. Going back to my notes, checked the same /etc/sysconfig/network/config setting and reduced the timeout from 30 to 1 and presto 15.4 beta boots from off to full desktop (kdm3/kde3) in 13 seconds! (I'll find that extra second yet) The /etc/sysconfig/network/config setting at issue is: ## Type: integer ## Default: 30 # # Some interfaces need some time to come up or come asynchronously via hotplug. # WAIT_FOR_INTERFACES is a global wait for all mandatory interfaces in # seconds. If empty no wait occurs. # #WAIT_FOR_INTERFACES="30" WAIT_FOR_INTERFACES="1" I'm not sure why there is a full 30 second default used, (one of the devs in the know will have to chime in), but I suspect it is related to dongles and non-built in hardware. For builtin hardware you ethernet and wifi hardware, you can check dmesg and locate how much time is needed to find and initialize yours. At any rate this will be done well before the OS boots to the point sysconfig is involved. It's worth tinkering with if you are a boot-time conscious user... -- David C. Rankin, J.D.,P.E.
participants (1)
-
David C. Rankin