Dale - Computer Science Illuminated 367

Dale Computer - 340 Chapter 10 Operating Systems the operating system to be in main memory The partition approach divides memory into several

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
340 Chapter 10 Operating Systems the operating system to be in main memory. The partition approach divides memory into several partitions into which processes are loaded. Fixed partitions have a set size, and dynamic partitions are determined by the needs of the processes loaded. Paging divides memory into frames and programs into pages. The pages of a program need not be contiguous in memory. Demand paging allows for only a portion of a program to be in memory at any given time. An operating system manages a process’s life states, which are the stages a program goes through during its execution. The process control block stores the necessary information for any process. CPU scheduling algorithms determine what process gets priority to use the CPU next. First-come, first-served CPU scheduling gives priority to the earliest arriving job. The shortest-job-next algorithm gives priority to jobs with short running times. Round-robin scheduling rotates the CPU among active processes, giving a little time to each. Privacy Invasion
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online