6 3ULQFLSOHV RI 2SHUDWLQJ 6 VWHPV DOO Lecture 1 Course Introduction Geoffrey M Voelker HFWXUH 2YHUYLHZ Class overview What is an operating system Operating system modules interfaces structure September 19 2001 CSE 120 Lecture 1 Course Intro 2 1 6 ODVV 2YHUYLHZ Course material taught through class lectures textbook readings and handouts Course assignments are Homework questions from the book Three large programming projects Discussion sections are a forum for asking questions Primarily about lecture material and homework But also guest discussions from the project TAs Will have mailing list and online discussion forums too September 19 2001 CSE 120 Lecture 1 Course Intro 3 RPHZRUNV There will be approximately five homeworks throughout the quarter Reinforce lecture material no better practice Collaboration vs cheating I encourage you to discuss homework problems with others You can learn a lot from each other But there is a distinction between collaboration and cheating Rule of thumb Discuss together in library walk home and write up answers independently Cheating is copying from other student s homeworks or solution sets searching for answers on the Web etc Suspicious homeworks will be flagged for review by me September 19 2001 CSE 120 Lecture 1 Course Intro 4 2 1DFKRV Nachos is an instructional operating system It is a user level operating system and a machine simulator Not unlike the Java runtime environment Will become abundantly clear or not so clear very soon Programming environment will be C on Unix Linux Solaris The projects will require serious time commitments This is not an understatement You will do three projects using Nachos more later Concurrency and synchronization Multiprogramming Virtual memory You will work in groups of four on the projects Start identifying partners now September 19 2001 CSE 120 Lecture 1 Course Intro 5 DEV We will have access to two labs in the AP M basement uAPE sparc Solaris OSTL x86 Linux access is combo controlled You can use either platform for your project Or even your home machine Helps if everyone in your group is using the same platform September 19 2001 CSE 120 Lecture 1 Course Intro 6 3 DPV Midterm Thursday October 25 Covers first half of class Final Friday December 7 Covers second half of class plus selected material from first half I will be explicit about the material covered Crib sheet You can bring one double sided 8 5x11 page of notes to each exam to assist you in answering the questions Note Not a substitute for thinking September 19 2001 CSE 120 Lecture 1 Course Intro 7 UDGLQJ Homeworks 20 Think of these collectively as a take home midterm Midterm 20 Final 25 Projects 35 September 19 2001 CSE 120 Lecture 1 Course Intro 8 4 RZ 1RW 7R 3DVV 6 Do not come to lecture It s too early the slides are online and the material is in the book anyway Lecture material is the basis for exams and directly relates to the projects Do not do the homework It s only 20 of the grade Excellent practice for the exams and some homework problems are exercises for helping with the project 20 is actually a significant fraction of your grade difference between an A and a C September 19 2001 CSE 120 Lecture 1 Course Intro 9 RZ 1RW 7R 3DVV Do not ask questions in lecture office hours or email It s scary I don t want to embarrass myself Asking questions is the best way to clarify lecture material at the time it is being presented Office hours and email will help with homeworks projects Wait until the last couple of days to start a project We ll have to do the crunch anyways why do it early The projects cannot be done in the last couple of days Some groups last time learned that starting early meant finishing all of the project on time and some didn t September 19 2001 CSE 120 Lecture 1 Course Intro 10 5 6 RXUVH 0DWHULDO This course addresses classic OS concepts The services provided by the OS OS implementation on modern hardware Co evolution of hardware and software Techniques for implementing software systems that are Large and complex Long lived and evolving Concurrent Performance critical System software tends to be mysterious Our goal is to reveal all mysteries September 19 2001 CSE 120 Lecture 1 Course Intro 11 XQGDPHQWDO 26 VVXHV The fundamental issues questions in this course are Structure how is an operating system organized Sharing how are resources shared among users Naming how are resources named by users and programs Protection how are users programs protected from each other Security how can information access flow be restricted Communication how to exchange data Reliability and fault tolerance how to mask failures Extensibility how to add new features September 19 2001 CSE 120 Lecture 1 Course Intro 12 6 XQGDPHQWDO 26 VVXHV Concurrency how to control parallel activities Performance how to make efficient use of resources reduce OS overhead Scale and growth how to handle increased demand Compatibility can we ever do anything new Distribution how to coordinate remote operations Accountability how to charge for restrict use of resources And the principles in this course are the design methods approaches solutions to these issues September 19 2001 CSE 120 Lecture 1 Course Intro 13 KDW LV DQ RSHUDWLQJ V VWHP The operating system is the software layer between user applications and the hardware Applications Operating System Hardware The OS is all the code that you didn t have to write to implement your application September 19 2001 CSE 120 Lecture 1 Course Intro 14 7 7KH 26 DQG DUGZDUH The OS abstracts controls mediates access to hardware resources Computation CPUs Volatile storage memory and persistent storage disk etc Communication network modem etc Input output devices keyboard display printer camera etc The OS defines a set of logical resources objects and a set of well defined operations on those objects interfaces Physical resources CPU and memory Logical resources files programs names September 19 2001 CSE 120 Lecture 1 Course Intro 15 7KH 26 DQG DUGZDUH Benefits to applications Simpler no tweaking device registers Device independent all network cards look the same Portable same program on Windows95 98 ME NT 2000 Transportable same program across different OSes Java September 19 2001 CSE 120 Lecture 1 Course Intro 16 8 7KH 26 DQG SSOLFDWLRQV The OS defines a logical well defined environment Virtual machine each program thinks it owns the computer For users and programs to safely coexist cooperate share resources Concurrent execution of
View Full Document
Unlocking...