IT lexicon › Infra & Ops › Dcache

Dcache

Infra & Ops På svenska → Updated: 2026-11-16

The Linux kernel's in-memory cache of directory entries and path-to-inode mappings.

Dcache (directory cache) stores recently resolved paths from root to file, avoiding repeated inode reads from disk. Each directory entry becomes a dentry (directory entry object) held in RAM and linked to its inode. Path lookups are much faster from dcache than from disk.

Dcache is sensitive to memory pressure—on a full system, the kernel may need to empty it to free RAM for other uses. Negative dcache entries (paths that don't exist) are also cached to avoid repeated lookups of nonexistent files.

← Back to the lexicon