|
Registered Member
|
Hello
![]() I'm wondering how i can have a quicker "boot" time, it actually takes me 2 minutes to have my desktop ready for use (when i hear the music from the kde desktop). I'm not trying to understand in depth the boot sequence/process (boot / autologin/desktop) but i'm wondering which part of it i can optimize to have my pc ready for use (if possible). Is there anything i can do in kde to gain speed ? (nepomuk is already off) i'm actually using kde 4.9.2 "release 511" Thanks ![]()
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
|
Manager
|
have you considered hibernating or sleeping instead of shutting down?
you actually have 2 q's here - 1) optimizing the Linux boot and 2) optimizing the time till KDE is usable - optimizing boot might be better asked on the openSUSE forum - 10sec of boot are for NX server and Avahi daemon, are these needed? when KDE starts are there a number of autostart processes? are you restoring the previous session? I always thought installing a small ssd for the OS (everything but /home) would be a good solution |
|
Manager
|
have you seen:
For Boot: "Optimizing a boot time, aka 2 second boot" http://lizards.opensuse.org/2012/07/26/ ... cond-boot/ "systemd Optimizations" http://freedesktop.org/wiki/Software/sy ... imizations "Optimize Fedora Booting Process" http://bsriram.wordpress.com/2012/10/22 ... g-process/ For KDE: "KDE rather slow to start" viewtopic.php?f=66&t=101038&start=15 |
|
Registered Member
|
hi,
1- actually i need to find whereis set the auto login to be sure if the boot process is ok or not (i did nit tick the option in system config) i've got no clue what avahi daemon is used for 2- i don't think i have autostart processes, though i'm not sure of this yes i'm restoring the previous session, isn't this default ? i'm going to check the links you gave thank you
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
|
Manager
|
1) auto login - you mean bypass the KDE login?and automatically start your session, if so in systemsettings -> login manager -> convenience
2) - restoring the previous session is convenient but will take longer because all the apps previously running will be automatically started. Widgets and system tray apps also are being loaded. - autostart processes can be started in a multitude of places, check ~/.config/autostart and ~/.kde4/share/autostart , systemsettigns -> startup & shutdown -> autostart should display both |
|
Registered Member
|
hello,
about autologin i edited /etc/systemconfig/displaymanager i may switch off avahi and postix daemons i have almost nothing in autostart : ~/.config/autostart # ls rundbus.desktop ~/.kde4/share/autostart> is empty i'm gonna try to begin with an empty session to see what it actually does.
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
|
Registered Member
|
i'm still reading the above links, i already gained more than 20 seconds disabling services ...
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
|
Registered Member
|
i'm actually with this
systemd-analyze Startup finished in 5659ms (kernel) + 30590ms (userspace) = 36250ms which is quite better compared to previous 115secs !! i'm disturbed by the fact i can't always see grub screen , how can i boot on a different kernel then ? (i've some tests to do skipping ram disk and turning off plymouth also)
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
|
Manager
|
when you say "can't always see grub" is there any correlation to how you sign out? init 0 or halt or restart or shut down?
only time I don't see grub screen is when I hibernate did you change boot loader in Yast or grub.conf or menu.lst ? what do you mean by different kernel? desktop vrs default? when done how about posting what you did to get the speed up |
|
Registered Member
|
sorry i did not update everyhting here, i changed the timeout in menu.lst to 1 second , but had forgottent about it, 5 seconds is better. Different kernels meant versions ( 3.5, 3.6 ...) of the desktop one.
from the boot process view point : in fact i stopped services in yast/runlevel or with systemctl according to what i'm not using : postfix, avahi... i also follewed the uls you gave above, for example trying results with and without plymouth, or initrd. I'm still trying the option without initrd And plymouth, this shall be great for without initrd "blame" shows that plymouth takes 16secs out of 40 (!) from the gui viewpoint : i'm not there yet
manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ... |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]