Pergunta de entrevista da empresa Microsoft

What is a cache? How is it different from Virtual Memory?

Resposta da entrevista

Sigiloso

5 de dez. de 2019

Cache is small and fast storage that is placed near processor and hide the access latency of the memory accesses using the temporal and spatial locality of data. Virtual memory is a memory management scheme that maps the available limited storage(main memory and disk) to the larger existing address space. Virtual memory allow different processes to have different address spaces isolating them from each other. Improve memory usage by mapping the same shared physical location to different address spaces.