Running programs in cache and registers
Posted
by
OSX NINJA
on Super User
See other posts from Super User
or by OSX NINJA
Published on 2010-09-03T18:34:28Z
Indexed on
2012/12/17
5:05 UTC
Read the original article
Hit count: 361
In my operating systems class we were shown a picture depicting a hierarchy of memory starting from most expensive and fastest at the top and least expensive and slowest at the bottom. At the very top was registers and underneath it was cache. The professor said that the best place to run programs is in cache. I was wondering why programs can't be run in registers? Also, how can a program load itself into cache? Isn't the cache something that's controlled by the CPU and works automatically without software control?
© Super User or respective owner