3
votes
Accepted
When a CPU copies instructions from storage into RAM how does it jump to instructions no longer in RAM?
You have many memory pages - thousands 20 years ago, possibly millions today.
When the next instruction is not in RAM, it is loaded for example from disk. Some other page of memory will be thrown out. ...
2
votes
LRU vs FIFO page replacement
For anyone visiting this thread in the future, FIFO can have less page faults in some scenarios.
In this one ( <2, 6, 5, 7, ..., ..., ...> ), it can be completed with 2, 8, 6.
The access of 2 ...
1
vote
How is an OS page stored in a k-way set-associative cache?
There are few things to be cleared first.
Lets assume a away set associative cache with bwide cache-lines and ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
memory-hierarchy × 7computer-architecture × 4
cpu-cache × 3
algorithms × 2
cache × 2
complexity-theory × 1
optimization × 1
runtime-analysis × 1
operating-systems × 1
space-complexity × 1
complexity-classes × 1
cpu × 1
memory-access × 1
paging × 1
storage × 1
page-replacement × 1