Is there a difference between page caches and disk caches?

490 Views Asked by At

I apologize if this has already been answered, I just came across some textbook references that seem to be using the terms "page cache" and "disk cache" as separate entities, but I always was under the impression that they were the same thing.

2

There are 2 best solutions below

0
OlasojiAmujo On
0
NIXEL On

A page cache is used to speed up access to images and data on disk. It is used to cache the logical contents of a file a page at a time and is accessed via the file and offset within the file. As pages are read into memory from disk, they are cached in the page cache.