Download CSCI1412 - Introduction & Overview

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Burroughs MCP wikipedia , lookup

Object storage wikipedia , lookup

Unix security wikipedia , lookup

RSTS/E wikipedia , lookup

Process management (computing) wikipedia , lookup

Copland (operating system) wikipedia , lookup

Spring (operating system) wikipedia , lookup

Distributed operating system wikipedia , lookup

CP/M wikipedia , lookup

VS/9 wikipedia , lookup

Transcript
phones off (please)
CSCI2413
Lecture 1
Operating Systems (OS)
Introduction and Overview
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 !?
© De Montfort University, 2004
CSCI2413 - L1
2
Personal Introduction
•
– Morteza Safavi
• Room
• Tel
• email
GH5.10
207 8477
[email protected]
• http://www.cse.dmu.ac.uk/~msaf
© De Montfort University, 2004
CSCI2413 - L1
3
Overview of Computer Systems
– Computer System Architecture and operation
– Interrupts a DMA
– Storage
– Operating System definitions
© De Montfort University, 2004
CSCI2413 - L1
4
Weekly Topics – Term 1
Week no
1
3
5
7
9
11
© De Montfort University, 2004
Lecture Title
Introduction and Overview
Operating System Overview
Concept of a “Process”
Process Management
Concurrency
Memory Management 1
CSCI2413 - L1
5
Weekly Topics – Term 2
Week no Lecture Title
16
18
20
22
24
29
Memory Management 2
Process Scheduling Techniques
The IO management
The File System
File Management Techniques
Security and Protection
30
Exam ??
© De Montfort University, 2004
CSCI2413 - L1
6
Assessment
• Assessment by
– Coursework:
• Phase test-1
10% (Thursday 16th December,4.00 pm)
• Assignment (program or written report), 25%,
• Phase test-2
15% (Thursday 3rd March,4.00 pm)
– Exam
50%
• time and date will be announced in good time
© De Montfort University, 2004
CSCI2413 - L1
7
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
© De Montfort University, 2004
CSCI2413 - L1
8
Overview of
Computer Systems
Computer-System Architecture
© De Montfort University, 2004
CSCI2413 - L1
10
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.
© De Montfort University, 2004
CSCI2413 - L1
11
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.
© De Montfort University, 2004
CSCI2413 - L1
12
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
© De Montfort University, 2004
CSCI2413 - L1
13
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.
© De Montfort University, 2004
CSCI2413 - L1
14
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.
© De Montfort University, 2004
CSCI2413 - L1
15
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
© De Montfort University, 2004
CSCI2413 - L1
16
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.
© De Montfort University, 2004
CSCI2413 - L1
17
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).
© De Montfort University, 2004
CSCI2413 - L1
18
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
© De Montfort University, 2004
CSCI2413 - L1
19