CSE 120 Principles of Operating Systems Winter 2007 Lecture 1 Course Introduction Keith Marzullo and Geoffrey M Voelker Lecture 1 Overview z z Class overview What is an operating system January 9 2007 CSE 120 Lecture 1 Course Intro 2 1 Personnel z Instructors Keith Marzullo Section A00 A00 T Th 6 30pm Geoff Voelker Section B00 T Th 8am Sections equivalent coursework shared Office hours Tue 11am 12n Fri 10 11am Office hours Mon 3 4pm Wed 4 5pm z TAs Michael Vrable Discussion A01 Wed 10a Jeremy Lau Discussion B01 Wed 3pm Office hours TBD Lead sections support and grade homework projects January 9 2007 CSE 120 Lecture 1 Course Intro 3 CSE 120 Class Overview z z Course material taught through class lectures textbook readings and handouts Course assignments are z Discussion sections are a forum for asking questions z Homework questions mostly from the book Three large programming projects in groups Lecture material and homework Additional OS topics e g e g how does an OS boot Other forums Mailing list cse120 cs ucsd edu Discussion board http webboard ucsd edu January 9 2007 CSE 120 Lecture 1 Course Intro 4 2 Homeworks z There will be 4 5 homeworks throughout the quarter z Reinforce lecture material material no 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 January 9 2007 CSE 120 Lecture 1 Course Intro 5 Textbook z Silberschatz Galvin and Gagne Operating System Concepts John Wiley and Sons 7th Edition ISBN 0 47169466 6 January 9 2007 CSE 120 Lecture 1 Course Intro 6 3 Nachos Project January 9 2007 CSE 120 Lecture 1 Course Intro 7 Nachos z Nachos is an instructional operating system It is a user level operating p g system y 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 Waiting until the last minute is not an option z You will do three projects using Nachos z Concurrencyy and synchronization y Multiprogramming Virtual memory You will work in groups of 1 4 on the projects Start identifying partners now January 9 2007 CSE 120 Lecture 1 Course Intro 8 4 Labs z We will use the uAPE B230 lab in the EBU3B basement z Linux running on Dell x86 machines You can also use your home machine The same project source will work on Linux but not Windows Note We will test and grade on uAPE machines Be sure to test your projects there as well January 9 2007 CSE 120 Lecture 1 Course Intro 9 Exams z Midterm z Thursday Febuary 8 C Covers fifirstt half h lf off class l Final A Tue 3 20 7 10pm B Thu 3 22 8 11am Covers second half of class selected material from first part I will be explicit about the material covered z No makeup p exams z Unless dire circumstances Crib sheet You can bring one double sided 8 5x11 page of notes to each exam to assist you in answering the questions Not a substitute for thinking January 9 2007 CSE 120 Lecture 1 Course Intro 10 5 Grading z Homeworks 15 z z z Think of these collectively as a take take home home midterm Midterm 25 Final 30 Projects 30 Each project is 10 of your grade January 9 2007 CSE 120 Lecture 1 Course Intro 11 How Not To Pass CSE 120 z Do not come to lecture z It ss nice out It out the slides are online 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 15 of the grade Excellent practice for the exams and some homework problems are exercises for helping with the project 15 is actually a significant fraction of your grade difference between an A and a C January 9 2007 CSE 120 Lecture 1 Course Intro 12 6 How Not To Pass 2 z Do not ask questions in lecture office hours or email z It s scary It s scary I don t 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 p projects j cannot be done in the last few days y Repeat The projects cannot be done in the last few days Some groups last time learned that starting early meant finishing all of the projects on time and some didn t January 9 2007 CSE 120 Lecture 1 Course Intro 13 Class Web Page http www cse ucsd edu classes wi07 cse120 b z Serves many roles roles Course syllabus and schedule updated over quarter Lecture slides z Homework handouts Project handouts tons of info on Nachos start now Supplemental readings on Unix monitors and threads e g g seminal research paper p p describing g the early y Unix system y FYI only but you might find it interesting Concepts in paper might seem obvious and familiar but they were new at one time January 9 2007 CSE 120 Lecture 1 Course Intro 14 7 Questions z Before we start the material any questions about the class structure contents etc January 9 2007 CSE 120 Lecture 1 Course Intro 15 Why Operating Systems z Why are we making you sit here today having to suffer through a core course in operating systems z Understand what you use z Understanding how an OS works helps you develop apps System functionality performance efficiency etc Pervasive abstractions z It s not like everyone will become OS developers after all Concurrency Threads and synchronization are common modern programming abstractions Java NET etc Complex software systems Many of you will go on to work on large software projects OSes serve as examples of an evolution of complex systems January 9 2007 CSE 120 Lecture 1 Course Intro 16 8 CSE 120 Course Material z This course addresses classic OS concepts Services provided by the OS OS implementation on modern hardware Co evolution of hardware and software Techniques for implementing software systems that are z System software tends to be mysterious z Large and complex Long lived and evolving Concurrent Performance critical Virtual memory Wazzat Our goal is to reveal all mysteries January 9 2007 CSE 120 Lecture 1 Course Intro 17 Fundamental OS Issues z The fundamental
View Full Document
Unlocking...