comments on KDE performance tips

Thiago Macieira thiagom at wanadoo.fr
Wed Jan 15 17:00:41 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Kellett wrote:
><rant>
>well "inappropriately" fits just perfect given the fact
>that mdk seem to care more about standards than
>kde (aka mdk) startup speed.
></rant>
>
>"incorrectly" otoh wouldn't have fitted.

Think of the following scenario: to make /tmp access even faster, I put it in 
my RAM (tmpfs filesystem on Linux). That makes all accesses there faster, 
since there is no disk I/O involved, right?

But that also means that, at every boot up, /tmp is spit clean. To support the 
ksycoca file being there when KDE is loaded, the scripts would have to copy 
the files out of /tmp during shutdown and copy them back in during boot up. 
And that's not going into the case of crashes.

That's just to prove my point that /tmp is the wrong location, at least on 
Linux and probably on other systems where /tmp is a virtual filesystem or is 
usually cleaned up during boot up (I've seen Solaris do that).

So, answering Waldo's question, IMHO, all caches and similar files should be 
in /var/tmp. And maybe there should be a symlink for that inside $KDEHOME, 
like the current $KDEHOME/tmp-$HOSTNAME (that points to /tmp).

- -- 
  Thiago Macieira - UFOT Registry number: 1001
 thiagom at mail.com
   ICQ UIN: 1967141  PGP/GPG: 0x6EF45358
     Registered Linux user #65028
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+JZO/M/XwBW70U1gRAuklAKCR6qJNPV1WVmxSttWN9/T8Q9CgbACeMv1Z
GS1V41hi9RV3+cMbuF/lptY=
=ZZ2X
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list