[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407849: script for /usr/bin/preloadkde



On Sunday 21 January 2007, Tobias Lorenz wrote:
> I found, that the current /etc/kde3/kdm/kdmrc specifies an
> option "Preloader=/usr/bin/preloadkde". Why don't we use this option? This
> could probably speed up KDE after login.
>
> Unfortunately I did not find this script in Debian, so I searched the KDE
> homepage and found this:
> http://wiki.kde.org/tiki-index.php?page=Performance+Tips&highlight=optimize
>#_Directory_prescanning_in_KDM
>
> For Debian the script should look like this:
> <<< snip
> #!/bin/sh
>
> exec find /etc/kde3 /home/user/.kde /usr/share/applications \
>     /usr/share/applnk /usr/share/mimelnk /usr/share/services \
>     /usr/share/servicetypes /usr/share/config.kcfg \
>     /usr/share/icons /usr/lib/kde3/
> <<< snap
>
> Where "/home/user/.kde" is the main user's KDE folder and should probably
> be removed or changed against "/home/*/.kde".

Have you tested tihs?
Does it gain anything?
How much?
(remember you have to clear your memory between logins to test it properly)

It might be accomplished with echo 1 > /proc/sys/vm/drop_caches

/Sune
-- 
How can I unlink a directory of a POP3mail password from the tools inside 
X-Windows?

The point is that from Explorer NT you need not to send to the parallel 
printer for exploring the analogic cache over a ISDN controller.

Attachment: pgpPV9SRBuGBC.pgp
Description: PGP signature


Reply to: