Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSCI2413 Lecture 1 Operating Systems (OS) Introduction and Overview phones off (please)

Similar presentations


Presentation on theme: "CSCI2413 Lecture 1 Operating Systems (OS) Introduction and Overview phones off (please)"— Presentation transcript:

1 CSCI2413 Lecture 1 Operating Systems (OS) Introduction and Overview phones off (please)

2 © De Montfort University, 2004CSCI2413 - L12 Introduction Personal introduction Module outline Learning Plan, Weekly Topics Assessment Resources, Books, Web-Sites. Background Revision Architecture; general components Interrupt systems Addressing memory locations Representation of Data !?

3 © De Montfort University, 2004CSCI2413 - L13 Personal Introduction –Morteza Safavi RoomGH5.10 Tel207 8477 emailmsaf@dmu.ac.ukmsaf@dmu.ac.uk http://www.cse.dmu.ac.uk/~msaf

4 © De Montfort University, 2004CSCI2413 - L14 Overview of Computer Systems –Computer System Architecture and operation –Interrupts a DMA –Storage –Operating System definitions

5 © De Montfort University, 2004CSCI2413 - L15 Weekly Topics – Term 1 Week noLecture Title 1 Introduction and Overview 3 Operating System Overview 5 Concept of a “Process” 7 Process Management 9 Concurrency 11 Memory Management 1

6 © De Montfort University, 2004CSCI2413 - L16 Weekly Topics – Term 2 Week noLecture Title 16Memory Management 2 18Process Scheduling Techniques 20The IO management 22The File System 24File Management Techniques 29Security and Protection 30 Exam ??

7 © De Montfort University, 2004CSCI2413 - L17 Assessment Assessment by – Coursework: Phase test-1 10% (Thursday 16 th December,4.00 pm) Assignment (program or written report), 25%, Phase test-2 15% (Thursday 3 rd March,4.00 pm) –Exam50% time and date will be announced in good time

8 © De Montfort University, 2004CSCI2413 - L18 Resources Web Sites (linked from module home page) http://www.cse.dmu.ac.uk/~msaf/#Useful_site Books –Operating Systems 5th Edition – William Stallings – Prentice Hall, 2005 –Modern Operating Systems (2nd Ed.) – Andrew S Tanenbaum - Prentice Hall, 2001 –Operating Systems 4th Edition – Colin Ritchie – Continuum, 2003 –Operating Systems 3rd Edition – Nutt GJ Pearson 2004 –Structured Computer Organization - (4th Ed.) – Andrew S Tanenbaum - Prentice Hall, 1999

9 Overview of Computer Systems

10 © De Montfort University, 2004CSCI2413 - L110 Computer-System Architecture

11 © De Montfort University, 2004CSCI2413 - L111 Computer-System Operation I/O devices and the CPU can execute concurrently. Device controller is in charge of own device. Each device controller has a local buffer. CPU moves data from main memory to local buffers, or vice versa Device controller informs CPU of its operation by causing an interrupt.

12 © De Montfort University, 2004CSCI2413 - L112 Common Functions of Interrupts Interrupt transfers control to ISR, through the interrupt vector, which contains the addresses of all the service routines. Address of the interrupted instruction is saved on stack. Other interrupts are disabled An operating system is interrupt driven.

13 © De Montfort University, 2004CSCI2413 - L113 Interrupt Handling OS preserves the state of the CPU by storing registers and the program counter on stack. Determines which type of interrupt has occurred: –polling –vectored interrupt system Determine what action should be taken for each type of interrupt

14 © De Montfort University, 2004CSCI2413 - L114 Direct Memory Access Used for high-speed I/O devices able to transmit information at close to memory speeds. Device controller transfers blocks of data from buffer storage directly to main memory without CPU intervention. Only one interrupt is generated per block, rather than the one interrupt per byte.

15 © De Montfort University, 2004CSCI2413 - L115 Storage Hierarchy Storage systems organized in hierarchy. –Speed –Cost –Volatility Caching – copying information into faster storage system; main memory can be viewed as a last cache for secondary storage.

16 © De Montfort University, 2004CSCI2413 - L116 Caching High-speed memory to hold recently-accessed data. Requires a cache management policy. Caching introduces another level in storage hierarchy. This requires data that is simultaneously stored in more than one level to be consistent

17 © De Montfort University, 2004CSCI2413 - L117 What is an Operating System? A program that acts as an intermediary between a user and the computer hardware. OS goals: –Execute user programs and make solving user problems easier. –Make the computer system convenient to use. Use the computer hardware in an efficient manner.

18 © De Montfort University, 2004CSCI2413 - L118 OS Definitions Resource allocator – manages and allocates resources. Control program – controls the execution of user programs and operations of I/O devices. Kernel – the one program running at all times (all else being application programs).

19 © De Montfort University, 2004CSCI2413 - L119 Summary Personal introduction Module outline –topics –assessment –resources the module web site Computer System Overview – Architecture and operation –Interrupts a DMA –Storage –Operating System definitions


Download ppt "CSCI2413 Lecture 1 Operating Systems (OS) Introduction and Overview phones off (please)"

Similar presentations


Ads by Google