Re: Page cache behaviour



On 2012-05-13, yoxoman <invalid@xxxxxxxxxxxxxxx> wrote:
Hi,

The page cache works well on my system, caching disk data for faster
subsequent accesses. It is easily seen by launching the same process
twice.

However, stopping a process on my system also free a certain amount of
the system page cache (as reported by the Cached section of free).

Thus, it seems that some sort of page cache entries are not considered
necessary by the kernel to be kept after process exit. What are these
kind of pages?

Thanks.

At least some of the pages freed from the page cache when you
terminate a process might be temporary files that the program
deletes as it exits, or a temporary file it held open but had
unlinked from its directory.

HTH

--
Robert Riches
spamtrap42@xxxxxxxxxxxxxx
(Yes, that is one of my email addresses.)
.



Relevant Pages

  • Re: Disk Cleanup -- Windows Temporary Files
    ... Where do I find a list of these temporary files, rather than just deleting the whole lot in Disk Cleanup? ... it just compresses files that windows thinks are not used to save space. ... Its like emptying the recycle bin. ... But this is your cache that is there to make web pages paint faster for those frequently visited sites. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Web Client Temporary Files Cache leeren
    ... Nutzer des Computers lassen sich die WebClient Temporary Files nicht löschen. ... Dort lässt sich der Cache ...
    (microsoft.public.de.german.windowsxp.networking)
  • Web Client Tempory Files Cache leeren
    ... Nutzer des Computers lassen sich die WebClient Temporary Files nicht löschen. ... Dort lässt sich der Cache ...
    (microsoft.public.de.german.allgemein)
  • =?Utf-8?Q?Web_Client_Temporary_Files_lasse?= =?Utf-8?Q?n_sich_nicht_l=C3=B6schen?=
    ... Nutzer des Computers lassen sich die WebClient Temporary Files nicht löschen. ... Dort lässt sich der Cache ...
    (microsoft.public.de.german.windowsxp.sonstiges)
  • Re: back-up disk anomalies
    ... SuperDuper!, when backing up, doesn't copy such as temporary files, some ... cache files, and swap files. ...
    (comp.sys.mac.system)