INTRODUCTION

TO

OPERATING SYSTEMS

Lecture 12: MEMORY MANAGEMENT (3)

CHRIS STAFF
Dept. of Computer Science and Artificial Intelligence
University of Malta

Next Lecture: The Filing System (1)


Lecture Outline


Aims and Objectives
Allocating Memory
Allocation Policies
Placement Strategies
Replacement Strategies
Fetch Policies

Aims and Objectives


Allocating Memory

Issues


Allocation Policies


Placement Strategies

Placement Strategies for Non-Paged Systems

Best Fit

Worst Fit

First Fit

Buddy

Placement Strategies for Paged Systems


Replacement Strategies

Replacement Strategies for Paged Systems

Least Recently Used (LRU)

Least Frequently Used (LFU)

First In First Out (FIFO)

Not Used Recently (NUR)

Replacement Strategies for Non-Paged Systems


Fetch Policies

Fetch on Demand

Anticipatory Fetch

Anticipating Future Behaviour

The Working Set Model

Working out which pages form the Working Set


Next Lecture...

The Filing System (1)