You are not logged in.
Hi,
I wanted to make my system a little bit faster by tuning the swappiness of the kernel:
vm.swappiness = 10
vm.vfs_cache_pressure = 50
and by using preload.
But I have a problem with this daemon. It sure starts user applications faster, BUT it slows down the boot a lot.
I added KDM to the end of the DAEMON list, and removed the "start in background" option, so that the preload daemon will start after KDM is ready.
DAEMONS=(syslog-ng net-profiles hal !bluetooth @crond !cpufreq !cups @autofs @alsa @pommed kdm preload)
But it doesn't help.
I'd like to start preload after I am logged into KDM / KDE. So when the actual desktop is visible, preload should start and load everything I need for my daily work. Is this possible? If so, how?
digiKam developer - www.digikam.org
Offline
Add it to KDE's autostart?
Offline
Doesn't it have to run as root?
digiKam developer - www.digikam.org
Offline
Use sudo.
I have added NOPASSWD:/etc/rc.d/preload using visudo, created a file in .kde4/Autostart with
#!/bin/bash
sudo /etc/rc.d/preload start
made it executable, set it to start on startup in System Settings -> Autostart and it works.
Last edited by lucke (2009-05-01 18:29:04)
Offline
Ok, I will try this... thanks.
digiKam developer - www.digikam.org
Offline