Missing item to get KDE start faster
Hi,
While I am trying to get my lovely KDE to start faster, I read that the directive "Preloader" listed under [X-*-Greeter] section in the file /etc/kde3/kdm/kdmrc can fasten KDE startup. The value for this is set to /usr/bin/preloadkde but that file doesn't exist. Searched for it on my box but could not find it. I am not sure what package should I install to get that functionality back. Was this preload thing obsolete ?? I searched the web but it seems to me that I am the only one noticed this !! I am using Kubuntu 6.10 (Edgy). cheers |
Not sure abnout *buntu, but the only thing I can find relating to preload in Debian Sid is:
preload - adaptive readahead daemon ld.so.preload-manager - A utility to manage the libraries in /etc/ld.so.preload Other than actual programs like Konqueror and OpenOffice: /usr/lib/debug/usr/lib/kde3/kded_konqy_preloader.so /usr/lib/kde3/kded_konqy_preloader.la /usr/lib/kde3/kded_konqy_preloader.so /usr/lib/openoffice/program/libpreload680li.so /usr/lib/openoffice/program/resource/preload680en-US.res /usr/lib/preloadable_libintl.so /usr/lib/wine/wine-preloader /usr/share/apps/quanta/templates/scripts/javascript/preload.js /usr/share/autostart/konqy_preload.desktop /usr/share/services/kded/konqy_preloader.desktop Other than maybe prelink - ELF prelinking utility to speed up dynamic linking, which does help programs start a bit faster. You can get KDE to start faster by only having the services you need running. My system is crap and I can cold boot to the KDE desktop in around 30 seconds. I assume you have already tried the suggestions here: KDE Wiki : Performance Tips http://wiki.kde.org/tiki-index.php?p...g_startup_time |
Hi craigevil,
Thanks for trying to help. Actually I am ware of all what you mentioned. Thanks for mentioning that wiki link, coz that is the link started my problem. The problem is Why the file /usr/bin/preloadkde does not exist in my Kubuntu. Where can I find that file? Do you have it on your computer? (try #locate preloadkde) Is there a package that I can install that would get it for me? (I tried apt-file search preloadkde but nothing there). I could've sent this problem to *buntu forum but I wanted other distros to check their packages too. Cheers |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407849
Looks like nobody has been able to prove that it's quicker with preloadkde. It's not available in any repository for debian. |
Um, I just read the WiKi, and, as far as I could see, the preloadkde to which reference was made is a script that you are supposed to write containing the command that was shown in the WiKi. Something like this:
Code:
#!/bin/bash |
Ok interesting...
I wonder what it does in fact :) It initialise the inode cache by making a find or what? :confused: |
Another job for KDE optimization
Thanks everyone,
I created a script file under /usr/bin/preloadkde. Though I am not sure if it helps, hope it has no bad side effects. I think KDE developers should make some -scientific- benchmarking on the effectiveness of such script. If it fasten the process then add it to the package, if not then update their Wiki. @nx5000, I think the find command is used to load those files to RAM not to search for something in them. |
Quote:
While this is somewhat faster, I suspect that the real impact of this step on load time will be almost negligible. But it probably won't hurt anything. medo, did you remember to add the reference to the script to the kdmrc script? (You didn't mention that you'd done that necessary step, although -- if you were getting an error message about a missing script file -- you'd already made that chnage.) And, did you confirm that the script works correctly by executing it "by hand" in a terminal window? When it's run by itself, it should just list the files in its arguments -- with no error messages. |
@nx5000,
Thanks for the reminder. I did not add reference to the script file becuse its already there by default installation. I run the script from a terminal with no errors. Have a nice day |
All times are GMT -5. The time now is 11:39 AM. |