Operating Systems I
Tutorial 6
- What is the meaning of the term 'working set'?
- Describe how an OS might simulate 'accessed' and 'dirty' bits for a page, if the hardware does not directly support them.
- Say how the NRU (Not Recently Used page replacement algorithm) uses the accessed and dirty bits to decide which pages to evict.
- What would be the advantage in a memory management unit supporting 'context IDs' for processes' address spaces?
- What are the respective pros and cons of bitmap and linked list memory allocation schemes?
- The Amiga OS uses the linked-list method of heap allocation. It uses a single list of memory holes. It does not explicitly keep track of allocated memory, but when memory is deallocated, a new hole is created, and added to the end of the list of holes. Think of one advantage and one disadvantage of this method.
- What happens to a memory block in the buddy system when it is deallocated?