D
D
DAN_ON2020-09-05 15:21:10
Processors
DAN_ON, 2020-09-05 15:21:10

Which is faster register or cache memory?

Which is faster register or cache memory? And what is the difference between cache memory and other memory?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2020-09-05
@Zoominger

Register.
The cache is slower, it has a different structure, speed, manufacturing technology and purpose.

H
hint000, 2020-09-05
@hint000

Registers are the fastest. If only because access to the cache occurs when accessing RAM, which means you need to convert the virtual address to a physical one, then find out that a piece of memory at this address is in the cache, and only then get into the cache (and even then - from the cache copy to register (!) (or vice versa) ). And for registers, instead of the address, the name of the register, which is contained directly in the command being executed, no extra actions are performed.

how cache memory differs from other memories
The fact that the cache is located on the processor chip (30 years ago it was different, the cache was placed on the motherboard by separate chips).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question