Presentation is loading. Please wait.

Presentation is loading. Please wait.

Operating Systems ECE344 Ashvin Goel ECE University of Toronto Introduction.

Similar presentations


Presentation on theme: "Operating Systems ECE344 Ashvin Goel ECE University of Toronto Introduction."— Presentation transcript:

1 Operating Systems ECE344 Ashvin Goel ECE University of Toronto Introduction

2 About the Instructor  Instructor – Ashvin Goel  Contact information o  Good way to contact me o Webpage: o Office: SF2001B o Office Hour: Fri, 2-3pm, starting next week  Research Interests o Operating systems 2

3 What is an Operating System? 3

4  Layer of software between hardware and applications o Application is usually dedicated to a single task o OS serves all applications, also called systems software  OS manages h/w resources, providing o Abstraction  OS simplifies interface to hardware (e.g., access disk as files)  What problems occur otherwise? o Isolation and security  OS isolates applications from each other, itself and hardware  OS isolates users from each other  What problems occur otherwise?  What resources are being managed? 4

5 Aren’t Operating Systems Dead?  The OS I use has already been written, I doubt it will be my job to write another one  Why should I study operating systems as an undergraduate? o Haven’t OS developers figured everything already? o What more is there to do?

6 Why Study Operating Systems?  Studying OS design IS studying design of large software systems … its fun too?  OS hacking will make you a better programmer/thinker o OS is really large (Windows is 50 million lines+) o OS manages concurrency  Concurrency leads to interesting programming challenges  Interesting challenges can lead to deep thoughts, wisdom? o OS manages raw hardware  Programming raw hardware is challenging: timing dependent behavior, undocumented behavior, h/w bugs o OS must be efficient  Applications can use resources maximally o OS fails  machine fails  Basis of system security, helps focus on reliability, availability

7 Why Won’t Operating Systems Go Away?  Consider the design of MP3 player o Involves many OS issues: OS implements file system for storing music files, reads music from disc and buffers it in memory, controls volume, display, wireless network access, communication with PC  Operating system ideas applicable to all large application software … why? o Virtualization software (e.g., vmware, kvm), manages virtual machine “hardware” o Batch processing software (e.g., Hadoop) manages cluster o Cloud software (e.g., Amazon S3, Google drive) manages geographically distributed hardware o Browser manages?

8 8

9 OS in the News  nytimes.com/2014/08/26/technology/26iht-chinatech26.html nytimes.com/2014/08/26/technology/26iht-chinatech26.html o China Developing an Operating System to Take on Microsoft, Google and Apple  o Rivals to Google’s Android and Apple’s iOS operating systems have emerged in Asia, suggesting that a fierce global war over dominance in mobile computing is imminent o The first contender for shaking up the world’s $341.4-billion mobile handset market is the China Operating System (COS), developed jointly by the Chinese Academy of Sciences and … o The second up-and-comer is Tizen, developed by South Korean electronics giant Samsung with … Samsung not only wants Tizen to become as big a brand name as Google’s Android and Apple’s iOS, it also wants to see its software used in cars, smart appliances, and televisions. 9

10 Goals of the Course  Learn about operating systems o Understand the principles behind the design of an OS  Understand the requirements, and challenges  Space of possible solutions  Build simple software that helps clarify OS concepts o Real systems are more difficult to build than to explain o The devil is often in the details  Other benefits o Gain significant implementation and debugging experience o Learn to use software management tools 10

11 Course Contents  Introduction to OS concepts  Threads and processes  Synchronization and concurrency  Memory management, virtual memory  Disk management and file systems  Time permitting o Atomicity and consistency o Virtualization o Intro to cloud computing 11

12 Lab Assignments  There will be 5-6 labs in the course  Labs will focus on learning OS concepts o Lab 1: Review of C, simple data structures o Lab 2: Cooperative Threads o Lab 3: Preemptive Threads (builds on Lab 2) o Lab 4: Concurrent Web Server o Lab 5: Caching Web Server (builds on Lab 4) o Lab 6: Undecided 12

13 What to Expect From Lab Assignments  Expect to spend a lot of time on the lab assignments o The labs give specifications, not implementations o Allows for imagination o Allows for errors and frustration o It will be good to think of your design, before you code o Assume that you will do the design/coding outside lab hours  You will work individually for the lab assignments o Can’t complain about partners inactivity! 13

14 Suggested Textbooks Modern Operating Systems, 3nd Edition A. Tannenbaum Operating System Concepts, 8th Edition A. Silberschatz, P. Galvin, G. Gagne Principles of Computer System Design J. Saltzer, M. Frans Kaashoek 14

15 Class Web Site  Class web site available from instructor’s home page o o Provides course outline, instructor’s lecture notes, lab info  Piazza web site o Announcements o Forum  UoT Portal o Past exams o Grades 15

16 Grading  Labs - 25%  Mid-term - 25% o Location: SF2202, SF3202 o Date: Wed, Oct 29 o Time: 18:30-19:45  Final - 50%  Policies o No extensions to deadlines o Questions should be addressed on Piazza web site o Read course webpage 16

17 About the Instructor  Instructor – Ashvin Goel  Contact information o  Good way to contact me o Webpage: o Office: SF2001B o Office Hour: Fri, 2-3pm 17


Download ppt "Operating Systems ECE344 Ashvin Goel ECE University of Toronto Introduction."

Similar presentations


Ads by Google