CPUs and architecture

In a multicore CPU, which mechanism keeps data consistent when the caches of several cores hold data for the same address?

  1. ABranch prediction
  2. BTLB
  3. CCache coherence control
Show answer and explanation

Answer: C. Cache coherence control

If one core modifies cached data while another core's cache still holds the old copy, the other core may use a stale value. Coherence protocols such as MESI tag each cache line with states like Modified, Shared or Invalid and invalidate other copies on writes to keep data consistent. With many cores the traffic grows, so directory-based schemes are used to scale.

Related calculators

Books on CPUs and architecture Ad

As an Amazon Associate I earn from qualifying purchases.

More CPUs and architecture questions

  1. Which technique reduces CPU power consumption by dynamically changing operating frequency and supply voltage according to the load?
  2. Which is an example of vulnerabilities revealing attacks that exploit traces of speculative execution left in the cache to infer data that should not be accessible?
  3. Which metric indicates the heat output (heat per unit time, expressed in watts) under a standard heavy load, used as a guide for CPU cooling design?
  4. Which metric indicates the number of instructions executed per clock?
  5. What is the problem called in which power and heat constraints prevent all circuits on a chip from running at full performance at the same time?

Comparisons in this topic