HiveBrain v1.2.0
Get Started
← Back to all entries
patternModerate

CPU Cache is managed by which software component?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
managedcomponentcachesoftwarewhichcpu

Problem

CPU caches are used by exploiting temporal and spatial locality. My question is who is responsible for managing these caches? Is this Operating system that identifies a particular access pattern and then manages (i.e store the data in) cache, using low level OS function calls?

Solution

The CPU caches are operational from the very moment on when the CPU is powered up. Neither the BIOS nor an OS are strictly speaking “necessary” to control the caches. The BIOS and the OS can change cache configuration settings in the CPU but they don’t control the normal operation, this is all built into the CPU itself.

Context

StackExchange Computer Science Q#10043, answer score: 13

Revisions (0)

No revisions yet.