Answer the question
In order to leave comments, you need to log in
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
Register.
The cache is slower, it has a different structure, speed, manufacturing technology and purpose.
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 memoriesThe 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 questionAsk a Question
731 491 924 answers to any question