MTRR
Memory Type Range Registers (MTRR) are a set of x86 model-specific registers that govern the caching behavior of physical memory ranges. By associating different physical address ranges with specific memory types, MTRRs help the processor apply appropriate caching rules to regular RAM, memory-mapped I/O, and device memory, balancing performance with data integrity. They work alongside the processor’s caching architecture and are complemented by mechanisms such as the Page Attribute Table (PAT).
There are two kinds of MTRRs: fixed and variable. Fixed MTRRs control a small number of predefined
Setting MTRRs is typically the responsibility of the operating system or firmware. The processor enforces consistency
In modern systems, MTRRs are often supplemented or superseded by PAT and related mechanisms, and virtualization