ECE344-Lecture2-fundamentals

ECE344-Lecture2-fundamentals - Lecture 2: OS Fundamentals...

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

View Full Document Right Arrow Icon
1 Lecture 2: OS Fundamentals David Lie ECE344 University of Toronto
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 ECE344: Operating Systems Overview Principles in the design of systems software – Problems in computer systems – Design principles for coping with these problems – Reasoning behind an operating system
Background image of page 2
3 ECE344: Operating Systems Problems in Systems Software Systems are large: – As parts interact, the interactions grow quadratically: – This means that change to a large system is much harder to do correctly than a change in a small system
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 ECE344: Operating Systems Problems in Systems Software Systems change for various reasons: – New applications and programs – Change in requirements – Bug fixes/Security fixes/updates – New users, change in use habits – … Solution: Abstraction/isolation Isolation: Break system into components Abstraction: Each component hides information from other components to reduce these interactions. A simplified interface is exported to other components.
Background image of page 4
5 ECE344: Operating Systems Coping With These Problems Example: – Size of system ~ N (nr of lines of code) – debug time ~ # of interactions = N 2 – Now suppose code is broken into k modules of size N/k – debug time ~ (N/k) 2 * k modules = N 2 /k!
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

ECE344-Lecture2-fundamentals - Lecture 2: OS Fundamentals...

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

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