CGS 3763 Operating Systems Concepts Spring 2013

Slides:



Advertisements
Similar presentations
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Advertisements

1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
1: Operating Systems Overview
Figure 1.1 Interaction between applications and the operating system.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
COP 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM.
Systems Security & Audit Operating Systems security.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
1 Advanced Operating Systems - Fall 2009 Lecture 2 – January 12, 2009 Dan C. Marinescu Office: HEC 439 B.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:00-4:00 PM.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
COP 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
CSC322 OPERATING SYSTEM Mr. Dilawar Lecturer, Department of Computer Science, Jahan University Kabul, Afghanistan.
Introduction to Operating Systems Concepts
Introduction to Operating Systems
Operating Systems Lecture 2.
Applied Operating System Concepts
Lecture 1: Operating System Services
Operating Systems CMPSC 473
Chapter 1: Introduction
Operating System Structure
KERNEL ARCHITECTURE.
CGS 3763 Operating Systems Concepts Spring 2013
COP 4600 Operating Systems Fall 2010
Chapter 1: Introduction
CGS 3763 Operating Systems Concepts Spring 2013
COT 5611 Operating Systems Design Principles Spring 2012
Introduction to Operating Systems
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 15, Exploring the Digital Domain
CGS 3763 Operating Systems Concepts Spring 2013
COP 4600 Operating Systems Spring 2011
COT 5611 Operating Systems Design Principles Spring 2014
CGS 3763 Operating Systems Concepts Spring 2013
COT 5611 Operating Systems Design Principles Spring 2014
Computer-System Architecture
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
COP 4600 Operating Systems Spring 2011
Memory Management Tasks
COP 5611 Operating Systems Spring 2010
CGS 3763 Operating Systems Concepts Spring 2013
Process Description and Control
Operating Systems Lecture 2.
Lecture Topics: 11/1 General Operating System Concepts Processes
Process Description and Control
CGS 3763 Operating Systems Concepts Spring 2013
Operating Systems Lecture 3.
Chapter 3: Operating Systems
Introduction to Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Computer System Structures
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Chapter 2 Operating System Overview
COT 5611 Operating Systems Design Principles Spring 2012
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment. Phone:
CGS 3763 Operating Systems Concepts Spring 2013
COT 5611 Operating Systems Design Principles Spring 2012
CGS 3763 Operating Systems Concepts Spring 2013
COT 5611 Operating Systems Design Principles Spring 2014
Presentation transcript:

CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11:30 - 12:30 AM

Lecture 5 – Wednesday, January 16, 2013 Last time: Operating Systems: State and events; Event-driven-software Discussion of problems from the textbook Today: The kernel of an OS Protection – user and kernel mode execution OS services Next time System calls Kernel data structures Reading assignments: Chapter 2 of the text book The computer architecture material 12/7/2018

The main functions of a computer Transform in formation  the interpreter Store information  memory hierarchy Communicate  communication links 12/7/2018

The basic operation of an interpreter 12/7/2018

Privileged and non-privileged instructions To manage the resources of a system the kernel has to operate with a higher level of privileges. Two modes of operation Kernel mode User mode Two types of instructions: Privileged instructions  can only be executed in kernel mode Non-privileged instructions  can be executed in kernel and in user mode System calls Allow a user to communicate with the kernel and request operations that can only be carried out by the kernel. 12/7/2018

Tight coupling between interpreter and storage We need a memory enforcement mechanism; to prevent a thread running the code of one module from overwriting the data of another module. Address space  the range of memory addresses a thread is allowed to access. Close relationship between a thread and an address space. Lecture 15

Virtualization of storage - Virtual memory Address space  the storage a thread is allowed to access. Virtual address space – an address space of a standard size regardless of the amount of physical memory. The physical memory may be too small to fit an application; otherwise each application would need to manage its own memory. The size of the address space is a function of the number of bits in an address. For example, 32 bits addresses allow an address space of 232 (4 Gbytes), 64 bit addresses allow 264 Virtual Memory - a scheme to allow each thread to access only its own virtual address space (collection of virtual addresses). Lecture 15

Memory map of a process Lecture 15

Questions What do we mean by a memory hierarchy? Why do we need a hierarchy of memory? What is virtualization? What is virtual memory? What is an interrupt? What types of interrupts can you identify? 12/7/2018

Kernel functions Program execution: Interrupt handling: Error handling: Job sequencing: Input/Output operations: File system manipulation: Scheduling: Resource Allocation: Accounting of computer resources: Protection: 12/7/2018