eel 602: operating systemscsajaykr/myhome/teaching/... · eel 602 spring 07 5 course outline...
TRANSCRIPT
EEL 602 Spring 07 1
EEL 602: Operating Systems
Ajay KumarDepartment of Electrical EngineeringIIT Delhi
EEL 602 Spring 07 2
EEL 602Lecture Schedule:
Tuesday (II 325, 8:00-8:55 Hrs)Wednesday (II 325,8:00-8:55 Hrs)Friday (II 325, 8:00-8:55 Hrs)
Course Website: http://web.iitd.ac.in/~ajaykr/eel602/main.htm
Lecture materialsAssignments, SolutionsOnline References and Links
Teaching Assistance:Mr. S. KarthikeyanEmail: [email protected]
EEL 602 Spring 07 3
Who Am I?My Research Interests:
Computer Vision, Pattern RecognitionBiometrics and Vision-based Industrial Inspection
Electrical EngineeringOffice: 202 Block IIEmail: [email protected] hours: by appointment via email
EEL 602 Spring 07 4
Course OutlineObjectives
To introduce the major concepts of operating system design;To study the detailed operation of various components of an operating system;To gain some hands-on experience on operating system concepts.
EEL 602 Spring 07 5
Course OutlineTextbooks and References
A. Silberschatz, P. Galvin, and G. Gagne, Operating System Concepts, 7th Edition, John Wiley & Sons, 2005.
Need 7th Edition?Not necessarily, but has new material that may be coveredCompletely reorganizedLectures may include readings from both 6th and 7th edition
W. Stallings, Operating Systems, 5th Edition, Prentice Hall International Editions, 2005.
EEL 602 Spring 07 6
EEL 358
A conceptual and “thinking” courseNot an easy courseExpect to work hard
A fundamental computer science courseMust know if you claim to be a computer scientistMust know if you want to be a good programmer and designerEssential for many follow up materials
EEL 602 Spring 07 7
Course ContentsIntroductionOperating Systems StructureProcesses & Threads
Process Description and Control, ThreadsConcurrency
Mutual Exclusion and SynchronizationDeadlock and Starvation
MemoryMemory ManagementVirtual Memory
SchedulingUniprocessor Scheduling
Input/ Output and FilesI/O Management and Disk SchedulingFile Management
EEL 602 Spring 07 8
Course PrerequisiteCSL101 or CSL102
Need to know C and UNIX; but if not, assume that you can learn quickly → without any excuseUNIX programming environmentGood programming skillsTranslate pseudo-codes into codesSpeedy review in the 1st week
CSL201Not essentialRecommended to be taken concurrently
Basic mathematical skillsSolving recursive equations, manipulation of symbols, etc.
Computer architectureBasic data structures, computer organization, memory access, etc.
EEL 602 Spring 07 9
Lecture FormatSlides and transparenciesIllustrative examples
Supplement the slides and transparencies
LecturesCome regularlyIt is your responsibility to catch up your missed lectures with your friends
AssignmentsNo Tutorials!Important exercises to supplement the lectures
Programming assignmentsMore rigorous problems to consolidate your knowledge
EEL 602 Spring 07 10
Grading Scheme (Tentative)5 Programming assignments
20% Done and handed in individuallyElectronic submission through CASS (Course Assignment Submission System). Details will be announced later.
5 Unannounced quizzes10% (2% each)No make up quizzes will be givenWill cover material in assigned readings from Silberschatz andMaterial included in the lecture, closed-note and closed-book
Minor I and Minor II20% EachSpring 2007, Dates will be announced later
Major30%
EEL 602 Spring 07 11
Homework and Programming Assignments
Computing AccountEach student must have an UNIX accountUse this account for all demoMaximum number of processes → 50
Your responsibility Ensure checks in your program (use ps –fs)
EEL 602 Spring 07 12
Homework and Programming AssignmentsWritten homework
Due by time specifiedContact TAs directly for re-gradesRe-grade requests will only be entertained within 2 days after the homework are handed backLate policy: 20% reduction, allows only one day late.
Programming assignmentsSubmission using CASS: to be announced laterLate policy : 20% reduction, allows only one day late.Run on PC
EEL 602 Spring 07 13
Minors and MajorIndividually doneClosed-book, closed-notesNo early or late examination
Unless under very unusual circumstances, with letters of proofInstructor informed beforehand
EEL 602 Spring 07 14
Thou Shall Not CheatDo not cheatI encourage you to discuss your assignments with your friends
Put everything in your own wordsBut no copying
It is NOT a shame of not knowing how to doCopying causes damage to your integrity and respectCopying is stealing intellectual propertyTAs will catch cheaters
What if you are caught copying?Both the copier and the originator get 02nd time: Both get 0 and one full downgradeCaught 3rd time: FAILIf it is minor or major, an automatic FAIL
EEL 602 Spring 07 15
Email PolicyEmail is not effective to explain things. Please visit TA’s officesPlease do not expect answers right awayPlease do not send us codes for debugging
We would not debug codes for you
EEL 602 Spring 07 16
Why study OS?May not actually write an OS, however…
One of the largest and most complicated systemMultifaceted areas
Computer architecture, data structure, algorithms, software engineering
Understanding of OS is must to improve/changeThe techniques learned from OS can be applied to other areas
Resource managementConflict resolutionConcurrencyComplex data structures
EEL 602 Spring 07 17
MotivationWhy does Windows invoke this error message frequently?
Why does the printer continue to print, even if the computer has been turned off?
EEL 602 Spring 07 18
Motivation
Why is the web so slow sometimes?
Why is the different PCs with same CPU behave differently?
Should you get Windows XP, 2000, Linux, Mac OS… ?
EEL 602 Spring 07 19
Motivation
Why does Microsoft has such a bad name?
EEL 602 Spring 07 20
MotivationHow can many users work on a single computer simultaneously?
If you study Operating Systems, you can know!