Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Lecture 16: Processes Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Processes James Harland
James Harland COSC1078 Introduction to Information Technology Lecture 12 System Fundamentals James Harland
Lecture 12: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 12 Machine Processing James Harland
CSC 501 Lecture 2: Processes. Von Neumann Model Both program and data reside in memory Execution stages in CPU: Fetch instruction Decode instruction Execute.
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 2 Overview James Harland
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Lecture 10: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 10 System Fundamentals James Harland
Lecture 14: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Revision and Review James Harland
Lecture 6: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 6 Audio James Harland
Architectural Support for Operating Systems. Announcements Most office hours are finalized Assignments up every Wednesday, due next week CS 415 section.
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Operating Systems Concepts Professor Rick Han Department of Computer Science University of Colorado at Boulder.
OS Spring’03 Introduction Operating Systems Spring 2003.
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
Operating system Part three Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Lecture 14: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 15 Operating Systems James Harland
OS Spring’04 Introduction Operating Systems Spring 2004.
Lecture 9: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 9 System Fundamentals James Harland
Lecture 24: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Review James Harland
Introduction to Operating Systems
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Lecture 14: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Operating Systems James Harland
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Lecture 24: Future of IT Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Future of IT James Harland
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Lecture 11: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 11 Machine Processing James Harland
Lecture 17: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 17 Memory and Deadlock James Harland
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
CSC 501 Lecture 2: Processes. Process Process is a running program a program in execution an “instantiation” of a program Program is a bunch of instructions.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Lecture 7: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
CS 346 – Chapter 1 Operating system – definition Responsibilities What we find in computer systems Review of –Instruction execution –Compile – link – load.
Lecture 18: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Operating Systems James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Chapter 1: Introduction. What Operating Systems Do Computer-System Organization Operating-System Structure Operating-System functionalities Process Management.
Revision Lecture Intro to IT COSC1078 Introduction to Information Technology Extra Lecture Review James Harland
Lecture 11: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 11 System Fundamentals James Harland
Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 3: Operating Systems
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
Lecture 1: Review of Computer Organization
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
CT101: Computing Systems Introduction to Operating Systems.
Chapter 1: Introduction
Chapter 3: Operating Systems
Computer System Structures
Chapter 3: Operating Systems
Chapter 3: Operating Systems
CS149D Elements of Computer Science
Processes David Ferry CSCI 3500 – Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Presentation transcript:

Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland

Lecture 8: VideoIntro to IT Introduction to IT 1 Introduction 2 Images 3 Audio 4 Video 5 Binary Representation WebTest 1, Assignment 1 6 Data Storage 7 Review/Machine Processing 8 Operating Systems WebLearn Test 1 9 Processes Assignment 2 10 Internet 11 Internet Security WebLearn Test 3 12 Future of ITAssignment 3, Peer and Self Assessment

Lecture 16: Operating SystemsIntro to IT Overview  Questions?  Assignments 1 & 2  WebTest 2  Operating Systems  Questions?

Lecture 16: Operating SystemsIntro to IT WebTest 2  Now open  Based on Computer Fundamentals material  Some questions slightly different to what we have covered

Lecture 16: Operating SystemsIntro to IT Where to begin? How do you start an operating system? Boot it! (or bootstrap)  Turn on power ( )  Machine loads bootstrap program from ROM (non-volatile memory)  Bootstrap program loads OS  OS takes over

Lecture 16: Operating SystemsIntro to IT Initial State When Turned On Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Load Bootstrap Program Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Bootstrap program loads OS Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Bootstrap program loads OS Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Bootstrap program has loaded OS Program Counter Instruction Register AA ROM RAM ProcessorMemory Disk Bootstrap Program 00 AA

Lecture 16: Operating SystemsIntro to IT OS takes over execution Program Counter Instruction Register AA ROM RAM ProcessorMemory Disk Bootstrap Program 00 AA

Lecture 16: Operating SystemsIntro to IT Starting Up Operating Systems Program Counter Instruction Register AA ROM RAM ProcessorMemory Disk Bootstrap Program 00 AA

Lecture 16: Operating SystemsIntro to IT Starting Up Operating Systems Program Counter Instruction Register AA ROM RAM ProcessorMemory Disk Bootstrap Program 00 AA

Lecture 16: Operating SystemsIntro to IT Starting Up Operating Systems Program Counter Instruction Register AA ROM RAM ProcessorMemory Disk Bootstrap Program 00 AA

Lecture 16: Operating SystemsIntro to IT Multiple boot scenario … Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Multiple boot scenario … Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Multiple boot scenario … Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT Multiple boot scenario … Program Counter Instruction Register 00 ROM RAM ProcessorMemory Disk Bootstrap Program 00

Lecture 16: Operating SystemsIntro to IT OS Software Classification Software SystemApplication Utility Kernel Operating System Shell

Lecture 16: Operating SystemsIntro to IT Processes

Lecture 16: Operating SystemsIntro to IT Processes A program is a static set of instructions A processes is the execution of a program, which changes state over time.

Lecture 16: Operating SystemsIntro to IT Processes Executing in Context Program Counter Instruction Register CC ROM RAM ProcessorMemory Disk 00 CC

Lecture 16: Operating SystemsIntro to IT Processes Executing in Context Program Counter Instruction Register DD ROM RAM ProcessorMemory Disk 00 CC DD

Lecture 16: Operating SystemsIntro to IT Processes Switching Ready Waiting Scheduler maintains process table

Lecture 16: Operating SystemsIntro to IT Processes Switching

Lecture 16: Operating SystemsIntro to IT Interrupts  Signals to the CPU  Often generated by timing circuits  CPU reacts by jumping to appropriate memory location  Dispatcher  selects a ready process  resets timing circuit  starts process  CPUs often designed to switch process states efficiently

Lecture 16: Operating SystemsIntro to IT Processes Executing in Context Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: Operating SystemsIntro to IT Processes Executing in Context Program Counter Instruction Register 11 ROM RAM Processor Memory Disk 00 BB

Lecture 16: Operating SystemsIntro to IT Processes Executing in Context Program Counter Instruction Register FF ROM RAM Processor Memory Disk 00 FF

Lecture 16: Operating SystemsIntro to IT Interrupts  Provide mechanism to switch processes  CPU doesn’t have to wait for I/O transfers  Switching leads to faster throughput  `Save document’ means CPU does something else while the save takes place

Lecture 15: Operating SystemsIntro to IT Conclusion  Work on Assignment 2  Web Quizzes and Web Test 2  Finish reading book!