Paging
Computer Science: OCR A Level, topic 2.1.3
Paging
Operating systems are responsible for managing memory for the user. Managing memory can be done by paging or by segmentation.

Paging
- Paging splits the main memory (RAM) into 4 kb sections known as pages.
- When programs run they are allocated a set number of pages to run in.
- Programs can be split across lots of pages that are non-contiguous (not all together).
- This is managed by a table map.

Performance
- Performance is not affected by having non-contiguous pages for your program.
- Any pages being used that are not active can be sent to virtual memory to free pages up for other tasks.
- Performance may be affected if some programs are split (e.g. when parts of a looping function are split across pages)
Test yourself on Paging
Which of the following is used to manage pages?