what is caching?
data/instructions in main memory recieved from secondary storage, stay there in case needed later
what is needed for prefetching to work?
algorithms must be designed to predict (high certainty) what data/instructions will be required soon
Pros of caching
Improve speed and efficiency
faster retrieval as data doesn’t need to be fetched from secondary storage
Cons of caching
can be complicated to implement
wrong data often fetched or cached therefore has to be flushed
Last changeda year ago