I would like to know the exact meaning and significance of Linux's Disk caching Mechanisms. In one of the articles I have read, page cache and dentry cache are two forms of them.
Could somebody explain to me these concepts?
|
I would like to know the exact meaning and significance of Linux's Disk caching Mechanisms. In one of the articles I have read, page cache and dentry cache are two forms of them. Could somebody explain to me these concepts? |
|||||||||
|
|
Page cache, sometimes referred to as disk cache, is a transparent RAM buffer for access to and from on-disk files. In general any memory not allocated to running applications is used for page cache space. /proc/meminfo contains information about, among other things, page cache. Executing Dentry cache serves to improve performance access to the file system by storing entries representing the directory levels which comprise the representation of a path. Also contained in the dentry cache is an inode representing the object. Dentry cache resides opposite, or along side depending on perspective, the inode cache. The inode cache is comprised of two lists containing used and unused inodes respectively as well as a hash table of inodes in use. Every entry in the dentry cache contains an entry in the inode cache. |
|||
|
|