CSCE 3612 ch6-2

CSCE 3612 ch6-2 - Processes and operating systems Operating...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
© 2000 Morgan Kaufman Overheads for Computers as Components Processes and operating systems Operating systems.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2000 Morgan Kaufman Overheads for Computers as Components Operating systems The operating system controls resources: who gets the CPU; when I/O takes place; how much memory is allocated. The most important resource is the CPU  itself. CPU access controlled by the scheduler.
Background image of page 2
© 2000 Morgan Kaufman Overheads for Computers as Components Process state A process can be in  one of three states: executing  on the CPU; ready  to run; waiting  for data. executing ready waiting gets data and CPU needs data gets data needs data preempted gets CPU
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2000 Morgan Kaufman Overheads for Computers as Components Operating system structure OS needs to keep track of: process priorities; scheduling state; process activation record. Processes may be created: statically before system starts; dynamically during execution.
Background image of page 4
© 2000 Morgan Kaufman Overheads for Computers as Components Embedded vs. general-purpose scheduling Workstations try to avoid starving  processes of CPU access. Fairness = access to CPU. Embedded systems must meet deadlines. Low-priority processes may not run for a long  time.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
© 2000 Morgan Kaufman Overheads for Computers as Components Priority-driven scheduling Each process has a priority. CPU goes to highest-priority process that 
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 23

CSCE 3612 ch6-2 - Processes and operating systems Operating...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online