290 likes | 358 Views
Operating Systems. Vivek Pai Lecture 1 Sep 14, 2000. Who I am Vivek Pai PhD 99/00, Rice Research: OS, networking, high-performance apps. Why I do this Fun Interesting Design opportunities “Profitable”. Introduction. Principles OS design Some theory Rationale Practice
E N D
Operating Systems Vivek Pai Lecture 1 Sep 14, 2000
Who I am Vivek Pai PhD 99/00, Rice Research: OS, networking, high-performance apps Why I do this Fun Interesting Design opportunities “Profitable” Introduction COS 318 - Operating Systems, Vivek Pai
Principles OS design Some theory Rationale Practice Not trade school Goals Understand OS decisions Basis for future learning Get hands dirty Not 31337 haX0r About this course… COS 318 - Operating Systems, Vivek Pai
Fast pace Lots of projects (programming) Hard material New (junior) professor Textbook not here yet Not the end of the world Expect (Some) Pain COS 318 - Operating Systems, Vivek Pai
Maybe Lots of Pain COS 318 - Operating Systems, Vivek Pai
Same format Same material Same textbook One freebie Honor System Use common sense Ask for clarification Cooperation OK Work is your own Some Analgesics COS 318 - Operating Systems, Vivek Pai
This Is Engineering Tradeoffs Constraints Optimizations Imperfection Nothing’s Permanent High rate of change Lots of inertia Cost/benefit analyses Human error There Is No Magic COS 318 - Operating Systems, Vivek Pai
My home page Course home page Newsgroup Precepts Design review? Mechanics – Info COS 318 - Operating Systems, Vivek Pai
Assigned readings 15% participation (quizzes) 15% midterm 70% projects Some extra credit Late policy TBA Mechanics – Grading COS 318 - Operating Systems, Vivek Pai
Vivek Pai, room 322 8-2086, vivek@cs Office hours: after class Rob Kalnins, room 314 8-5135, rkalnins@cs Office hours: Thu 3-4 Simon Ou, room 401 8-0260, xou@cs Office hours: Mon 4-5 2 precepts Wed 3:00-4:20, Rob Location: 103 Fri 3:00-4:20*, Simon Location: 105 (once on Monday) Mechanics – People COS 318 - Operating Systems, Vivek Pai
Operating System Design & Implementation Tannenbaum & Woodhill, 2nd Edition Not currently in Ustore Expected end of the month Not really a problem Mechanics – Textbook COS 318 - Operating Systems, Vivek Pai
6 projects 1st optional – extra credit 2 weeks each Assigned/due on Tuesdays Build a mini-OS Uses Linux, sort of Option – one big project – only for the brave Mechanics - Projects COS 318 - Operating Systems, Vivek Pai
Name Year Major E-mail address Phone # Picture via URL Why you’re taking the class What you’d like/hope to learn Send Me Your Details COS 318 - Operating Systems, Vivek Pai
What Is an OS? COS 318 - Operating Systems, Vivek Pai
“Code” that: Sits between programs & hardware Sits between different programs Sits betweens different users But what does it do? What Is an OS? COS 318 - Operating Systems, Vivek Pai
Resources Allocation Protection Reclamation Virtualization Services Abstraction Simplification Convenience Standardization What Is an OS? Makes computers simpler COS 318 - Operating Systems, Vivek Pai
Resources Allocation Protection Reclamation Virtualization Finite resources Competing demands Examples: CPU Memory Disk Network What Is an OS? COS 318 - Operating Systems, Vivek Pai
Resources Allocation Protection Reclamation Virtualization You can’t hurt me I can’t hurt you Implies some degree of safety & security What Is an OS? COS 318 - Operating Systems, Vivek Pai
Resources Allocation Protection Reclamation Virtualization The OS giveth The OS taketh away Voluntary at run time Implied at termination Involuntary Cooperative What Is an OS? COS 318 - Operating Systems, Vivek Pai
Resources Allocation Protection Reclamation Virtualization Illusion of infinite, private resources Memory versus disk Timeshared CPU More extreme cases possible (& exist) What Is an OS? COS 318 - Operating Systems, Vivek Pai
Mechanism – tool to achieve some effect Policy – decisions on how to use tool Examples: All users treated equally All program instances treated equally Preferred users treated better No deterministic behavior at all Mechanism & Policy COS 318 - Operating Systems, Vivek Pai
Is There a Perfect OS? COS 318 - Operating Systems, Vivek Pai
Portability Security Fairness Robustness Efficiency Interfaces Is Any OS Complete? COS 318 - Operating Systems, Vivek Pai
60’s-70’s - Mainframes Rise of IBM 70’s - 80’s – Minicomputers Rise of Digital Equipment 80’s - 90’s – PCs Rise of Intel, MicroSoft History Lessons COS 318 - Operating Systems, Vivek Pai
Historical Comparison COS 318 - Operating Systems, Vivek Pai
Constant Employment? • New hardware • New features • New approaches Examples: Palm, Java, WWW COS 318 - Operating Systems, Vivek Pai
May You Live in Interesting Times… • Processors double in 18 months • Disk doubling every 12 months • Global bandwidth every 6 months • “Sweet spot” constantly decaying Do people ever double? COS 318 - Operating Systems, Vivek Pai
Now Go Home COS 318 - Operating Systems, Vivek Pai
Name Year Major E-mail address Phone # Picture via URL Why you’re taking the class What you’d like/hope to learn Send To vivek@cs… COS 318 - Operating Systems, Vivek Pai