Resources: Caching Flashcards

1
Q

what is caching

A

a popular principle whereby a small subset of a larger set is copied for faster and more convenient access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what principles does caching work on

A

temporal and special locality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

give examples of caching

A

cache, TLB, virtual memory, write buffer, page cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is cache

A

the memory cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

give the three levels of cache

A

1,2,3 working further from the processor, growing in size and slower in speed.

level 1 cache works on virtual addresses directly. will require flushing

level 2/3 use physical addresses.

a multiprocessor machine will share level 3 across all its processors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

describe cacheability

A

something that can be stored in cache.

It is a property of a page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly