Per Jessen said the following on 06/13/2011 03:47 AM:
All files are cached, globally.
Yes, I understand about the page-cache, LRU and all that and "load on demand" nature of the file mapping of binaries.
But if that is so good why do we have ~/.cache and ... ~/.fonts.cache ~/.libreoffice/3-suse/user/store/.templdir.cache ~/.xdg_menu_cache ~/.local/share/mime/mime.cache ~/.mozilla/firefox/o7k1u7k5.default/extensions.cache ~/.java/deployment/cache Lots more under ~/.kde4/share/apps
Just a guess - they're holding user/application specific data, perhaps only valid for a current session.
I don't think so, not in all cases. The reason I think this is because there is a per-session cache under /usr/tmp/kdecache-anton/ There's also /usr/tmp/kdecache-kdm/ YMMV if you use Gnome. I have no doubt that the various caches I mentioned previous are _updated_ or rebuilt (if required) each session. But if they are holding session-specific data then WHY? Why not keep it in mapped/paged memory? If it is a per session cache for the application and needs retrieval, then its a candidate for fast storage, isn't it? Which get back to my original point. -- It is the first step of wisdom to recognize that the major advances in civilization are processes which all but wreck the society in which they occur. --Alfred North Whitehead -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org