Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does CPI stand for?
Think about the number of cycles needed for a single instruction.
What is a memory stall cycle?
Consider delays caused by waiting for data.
What is a memory stall cycle?
Think about what happens when data isn't immediately available.
What is the main objective of a good page replacement algorithm?
What happens when a memory page is loaded frequently?
Calculate the total CPU time for a program with 100 instructions, with 1.1 CPI, and 20 memory stalls (each costing 50 cycles).
Use the formula for CPU time.
Given a system with 70% modified pages causing a 20 ms wait and 30% unmodified causing a 10 ms wait, calculate the average time to handle a page fault if 1% of memory accesses cause faults.
Break the problem into two parts: handling dirty vs. clean pages.
5 more questions in this section. Enroll free to practise them all.
Enroll free