Operating SystemsIntroductionAbout this course…Expect (Some) PainWhat Works & Doesn’tWhy So Many Grades?Some ReliefThere Is No MagicMechanics – InfoMechanics – GradingMechanics - PeopleMechanics – ReadingsMechanics - ProjectsSend Me Your DetailsWhat Is an OS?Slide 16Slide 17Slide 18Slide 19Slide 20Slide 21Mechanism & PolicyIs There a Perfect OS?Is Any OS Complete?History LessonsHistorical ComparisonConstant Employment?May You Live in Interesting Times…Send To vivek@cs…And Now For Something Completely Different…Operating SystemsVivek PaiLecture 1Sep 12, 2002Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 2IntroductionWho I amVivek PaiPhD 99/00, RiceResearch: OS, networking, high-performance appsWhy I do thisFunInterestingDesign opportunities“Profitable”Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 3About this course…PrinciplesOS designSome theoryRationalePracticeNot trade schoolGoalsUnderstand OS decisionsBasis for future learningGet hands dirtyNot “elite hacker”Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 4Expect (Some) PainFast paceLots of projects (programming)Hard materialCourse changing based on feedbackNot the end of the world – course favorably received last year, under much more trying circumstancesSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 5What Works & Doesn’tWorksSolid C backgroundFlexible approachGrasping PrereqsOpen mindEinsteinFeedback sheetsDoesn’tSchedule overloadMissing backgroundMathematical precisionSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 6Why So Many Grades?Programming projectsMidterm & final examsQuizzes (see me about health/school absences)Intended to reduce pressure/anxietyMore data points = less noiseSomewhat generous extra creditSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 7Some ReliefGrades based on mean/deviationPeople have done generally well in the past25 / 38 As17 / 11 Bs4 / 7 CsHonor SystemUse common senseAsk for clarificationCooperation OKWork is your own(pairs for labs)Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 8There Is No MagicThis Is EngineeringTradeoffsConstraintsOptimizationsImperfectionNothing’s PermanentHigh rate of changeLots of inertiaCost/benefit analysesHuman errorSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 9Mechanics – InfoMy home pageCourse home pageNewsgroupPreceptsDesign reviewsSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 10Mechanics – GradingAssigned readings20% quizzes20% midterm20% final40% projects – some extra creditLate policy: 6 hours: 91%12 hours: 84%24 hours: 71%48 hours: 50%Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 11Mechanics - PeopleSee web site – it’s up to date!Basically–Me – quizzes, exams–TAs – precepts, labs–Office hours – T, W, Th or by ApptSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 12Mechanics – ReadingsModern Operating SystemsTannenbaumDifferent from last timeAvailable at UstoreVarious readings – will be available from my home page (course web site)Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 13Mechanics - Projects6 projects, 2 themes–Build parts of a mini-OS–Write applications that interact with OS2 weeks eachUses Linux, sort ofPartners – be decent to each otherOption – one big project – only for the braveSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 14Send Me Your DetailsNameYearMajorE-mail addressPhone #Picture via URLWhy you’re taking the classWhat you’d like/hope to learnSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 15What Is an OS?Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 16What Is an OS?“Code” that:Sits between programs & hardwareSits between different programsSits betweens different usersBut what does it do?Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 17What Is an OS?ResourcesAllocationProtectionReclamationVirtualizationServicesAbstractionSimplificationConvenienceStandardizationMakes computers simplerSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 18What Is an OS?ResourcesAllocationProtectionReclamationVirtualizationFinite resourcesCompeting demandsExamples:CPUMemoryDiskNetworkSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 19What Is an OS?ResourcesAllocationProtectionReclamationVirtualizationYou can’t hurt meI can’t hurt youImplies some degree of safety & securitySep 12, 2002 COS 318 - Operating Systems, Vivek Pai 20What Is an OS?ResourcesAllocationProtectionReclamationVirtualizationThe OS givethThe OS taketh awayVoluntary at run timeImplied at terminationInvoluntaryCooperativeSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 21What Is an OS?ResourcesAllocationProtectionReclamationVirtualizationIllusion of infinite, private resourcesMemory versus diskTimeshared CPUMore extreme cases possible (& exist)Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 22Mechanism & PolicyMechanism – tool to achieve some effectPolicy – decisions on how to use toolExamples:All users treated equallyAll program instances treated equallyPreferred users treated betterNo deterministic behavior at allSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 23Is There a Perfect OS?Sep 12, 2002 COS 318 - Operating Systems, Vivek Pai 24Is Any OS Complete?PortabilitySecurityFairnessRobustnessEfficiencyInterfacesSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 25History Lessons60’s-70’s - MainframesRise of IBM70’s - 80’s – MinicomputersRise of Digital Equipment80’s - 90’s – PCsRise of Intel, MicrosoftNow – Post-PCDistributed applicationsSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 26Historical ComparisonMainframe Mini MicroSystem $/worker10:1 – 100:110:1 – 1:11:10-1:100Goal System utilizationOverall costProductivityTarget Capacity Features Ease of UseSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 27Constant Employment?New hardwareNew featuresNew approachesExamples: Palm, Java, WWWSep 12, 2002 COS 318 - Operating Systems, Vivek Pai 28May You Live in Interesting Times…Processors double in 18 monthsDisk doubling every 12 monthsGlobal bandwidth every 6 months“Sweet spot” constantly decayingDo people ever double?Sep 12, 2002 COS 318 - Operating Systems,
View Full Document