Who am I Professor Anthony D Joseph CS162 Operating Systems and Systems Programming Lecture 1 465 Soda Hall RAD Lab adj AT cs berkeley edu Office hours M 1pm Tu 2pm in 413 Soda Background What is an Operating System MIT undergrad and grad student January 23 2008 Prof Anthony D Joseph http inst eecs berkeley edu cs162 Research areas Current Network security OS security building a large security testbed attacks against machine learning algorithms Other Mobile computing wireless networking cellular telephony 1 23 08 Goals for Today Joseph CS162 UCB Spring 2008 Lec 1 2 Rapid Underlying Technology Change What is an Operating System And what is it not Examples of Operating Systems design Why study Operating Systems Oh and How does this class operate Interactive is important Ask Questions Note Some slides and or pictures in the following are adapted from slides 2005 Silberschatz Galvin and Gagne Slides courtesy of Kubiatowicz AJ Shankar George Necula Alex Aiken Eric Brewer Ras Bodik Ion Stoica Doug Tygar and David Wagner 1 23 08 Joseph CS162 UCB Spring 2008 Cramming More Components onto Integrated Circuits Gordon Moore Electronics 1965 1 23 08 Lec 1 3 Page 1 Joseph CS162 UCB Spring 2008 Lec 1 4 Computing Devices Everywhere Computer System Organization Computer system operation One or more CPUs device controllers connect through common bus providing access to shared memory Concurrent execution of CPUs and devices competing for memory cycles 1 23 08 Joseph CS162 UCB Spring 2008 Lec 1 5 1 23 08 People to Computer Ratio Over Time Joseph CS162 UCB Spring 2008 Lec 1 6 Increasing Software Complexity From MIT s 6 033 course From David Culler 1 23 08 Joseph CS162 UCB Spring 2008 1 23 08 Lec 1 7 Page 2 Joseph CS162 UCB Spring 2008 Lec 1 8 But Latency Improves Slowly Heat is a Major Problem From MIT s 6 033 course 1 23 08 Joseph CS162 UCB Spring 2008 From MIT s 6 033 course Lec 1 9 1 23 08 Complexity Example Some Mars Rover Requirements Many issues and many tradeoffs Need a global view of systems Decompose into components Need a global understanding of systems Applications networks databases operating systems security software engineering Joseph CS162 UCB Spring 2008 Lec 1 10 Serious hardware limitations complexity 20Mhz powerPC processor 128MB of RAM cameras scientific instruments batteries solar panels and locomotion equipment Many independent processes work together Can t hit reset button very easily Must reboot itself if necessary Always able to receive commands from Earth Individual Programs must not interfere Suppose the MUT Martian Universal Translator Module buggy Better not crash antenna positioning software Further all software may crash occasionally Automatic restart with diagnostics sent to Earth Periodic checkpoint of results saved Certain functions time critical Need to stop before hitting something Must track orbit of Earth for communication How to manage complexity at all levels 1 23 08 Joseph CS162 UCB Spring 2008 1 23 08 Lec 1 11 Page 3 Joseph CS162 UCB Spring 2008 Lec 1 12 How do we tame complexity OS Tool Virtual Machine Abstraction Application Every piece of computer hardware different Different CPU Pentium PowerPC ColdFire ARM MIPS Operating System Different amounts of memory disk Different types of devices Hardware Mice Keyboards Sensors Cameras Fingerprint readers Turn hardware software quirks what programmers want need Optimize for convenience utilization security reliability etc Cable DSL Wireless Firewalls Questions Does the programmer need to write a single program that performs many independent activities Does every program have to be altered for every piece of hardware Does a faulty program crash everything Does every program have access to all hardware Joseph CS162 UCB Spring 2008 For Any OS area e g file systems virtual memory networking scheduling What s the hardware interface physical reality What s the application interface nicer abstraction Lec 1 13 1 23 08 Interfaces Provide Important Boundaries hardware Why do interfaces look the way that they do History Functionality Stupidity Bugs Management CS152 Machine interface CS160 Human interface CS169 Software engineering management Should responsibilities be pushed across boundaries RISC architectures Graphical Pipeline Architectures Joseph CS162 UCB Spring 2008 Lec 1 14 Instructor Anthony D Joseph adj cs 465 Soda Hall RAD Lab Office Hours TBA 413 Soda Hall TAs Barret Rhoden cs162 tj cory Manu Srivastava cs162 tk cory Man Kit Leung cs162 tl cory Labs Second floor of Soda Hall poll Website http inst eecs berkeley edu cs162 Webcast Podcast 3 day delay http webcast berkeley edu courses index php Newsgroup ucb class cs162 use authnews berkeley edu Course Email cs162 cory Reader Available from TBA Are you on the waitlist See Michael David in 379 Soda instruction set 1 23 08 Joseph CS162 UCB Spring 2008 Course Administration software Physical Machine Interface Software Engineering Problem Different networking environment 1 23 08 Virtual Machine Interface 1 23 08 Lec 1 15 Page 4 Joseph CS162 UCB Spring 2008 Lec 1 16 Class Schedule Textbook Class Time M W 4 5 30pm 277 Cory Please come to class Lecture notes do not have everything in them The best part of class is the interaction Sections Important information is in the sections The sections assigned to you by Telebears are temporary Every member of a project group must be in same section Section Time Location 101 Th 10 00 11 00A 45 Evans Barret 102 Th 11 00 12 00P 85 Evans Barret 103 Th 4 00 5 00P 3102 Etcheverry 104 F 2 00 3 00P 310 Soda Manu 105 F 3 00 4 00p 405 Soda Manu 1 23 08 Joseph CS162 UCB Spring 2008 Text Operating Systems Concepts 7th Edition Silbershatz Galvin Gagne Online supplements See Information link on course website Includes Appendices sample problems etc Question need 7th edition No but has new material that we may cover Completely reorganized Will try to give readings from both the 6 th and 7th editions on the lecture page TA Man Kit Lec 1 17 1 23 08 Joseph CS162 UCB Spring 2008 Grading Topic Coverage Textbook Silberschatz Galvin and Gagne Operating Systems Concepts 7th Ed 2005 1 week 1 5 weeks 2 5 weeks 2 week 1 week 1 week 2 5 weeks 1 week 1 week 1 23 08 Rough Grade Breakdown Two Midterms 15 each One Final 15 Four Projects 50 i e 12 5 each Participation 5 Fundamentals Operating Systems Structures Process Control and Threads Synchronization and scheduling Protection Address translation Caching Demand Paging File Systems Networking and Distributed
View Full Document
Unlocking...