RESOURCE MANAGEMENT System Resources. What resources are managed in a computer system?

Slides:



Advertisements
Similar presentations
Hardware Lesson 3 Inside your computer.
Advertisements

Lesson 4 0x Operating Systems.
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Chapter 101 Virtual Memory Chapter 10 Sections and plus (Skip:10.3.2, 10.7, rest of 10.8)
Operating systems This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License. Skills: none IT concepts: popular.
Operating Systems: Software in the Background
Operating System Support Focus on Architecture
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Word Processing, Web Browsing, File Access, etc. Windows Operating System (Kernel) Window (GUI) Platform Dependent Code Virtual Memory “Swap” Block Data.
System Software, functions of an operating system
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
CS364 CH08 Operating System Support TECH Computer Science Operating System Overview Scheduling Memory Management Pentium II and PowerPC Memory Management.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Layers and Views of a Computer System Operating System Services Program creation Program execution Access to I/O devices Controlled access to files System.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Week 6 Operating Systems.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Types of Operating System
Operating Systems.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Tutorial 6 Memory Management
Operating Systems Who’s in charge in there?. Types of Software Application Software : Does things we want to do System Software : Does things we need.
Chapter 4 System Software.
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
Chapter 4: operating systems. What is an operating system? A program or collection of programs that coordinate computer usage among users and handle common.
Basic Computer Components. What’s inside your computer?
Operating Systems  A collection of programs that  Coordinates computer usage among users  Manages computer resources  Handle Common Tasks.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Software GCSE COMPUTING.
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Operating Systems JEOPARDY Computer Repair NetworkOS OS Tasks ConceptsComponentsMisc
Chapter 8: Operating Systems and Utility Programs Catherine Gifford Dan Falgares.
PPT Slides by Dr. Craig Tyran & Kraig Pencil Information Systems Software MIS 320 Kraig Pencil Summer 2013.
Processes and OS basics. RHS – SOC 2 OS Basics An Operating System (OS) is essentially an abstraction of a computer As a user or programmer, I do not.
Operating System (OS) Basics. Operating System Basics Software (applications) Operating System (OS) Hardware.
6 Memory Management and Processor Management Management of Resources Measure of Effectiveness – On most modern computers, the operating system serves.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
Computer Systems Mrs. Butera. Computer Systems Hardware Software.
Computer Systems Week 14: Memory Management Amanda Oddie.
Parts of the Computer System
© 2006 Pearson Education Chapter 1: Computer Systems.
By Ellen Glennie & Bella Pearce. The motherboard The motherboard is the main compartment of the computer. The motherboard is the source that everything.
Virtual Memory By CS147 Maheshpriya Venkata. Agenda Review Cache Memory Virtual Memory Paging Segmentation Configuration Of Virtual Memory Cache Memory.
OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
Lesson Objectives Aims Key Words Paging, Segmentation, Virtual Memory
Operating Systems What an Operating System is.
Lesson 4 0x Operating Systems.
Processes and threads.
Resource Management IB Computer Science.
Types of Operating System
Installing OS.
Linux Operating System Architecture
William Stallings Computer Organization and Architecture
Who’s in charge in there?
Systems Software Keywords Operating Systems
OPERATING SYSTEMS.
Mobile and Desktop Memory Management
Chapter 8: Memory management
Software - Operating Systems
Introduction to Operating Systems
COMP755 Advanced Operating Systems
Presentation transcript:

RESOURCE MANAGEMENT System Resources

What resources are managed in a computer system?

Primary memory (RAM) Secondary storage (hard drive/disk storage) Central Processing Unit (CPU) Graphical Processing Unit (GPU) Network bandwidth/connectivity Screen resolution Sound processor

How do resources differ on different systems?

Cost vs. Performance No need to spend money on extra hardware if it is not needed Examples: Screens for mainframes and servers Hard drives for cell phones GPU for an e-book

What problems could occur from limited resources?

Limited memory  use of secondary storage as memory Secondary storage is slower  time lost Limited CPU  programs run slower or system stalls Limited GPU  choppy, undetailed graphics Limited network connectivity  constant buffering and delays

Operating System Roles Hardware management Communicating with all hardware Resource monitoring processor time, memory usage, etc. Coordinating concurrent processing multiple programs (processes) running at the same time Memory management each program has their own space in memory **Operating system hides the complex activities above from the user!**

Multi-processing/Multi-tasking Memory allocation Load program from hard drive into a section of memory (RAM) Time-slicing (sharing CPU time across programs) Giving a particular program a “slice” of time to run Priority A program can be given “priority” if it’s more important e.g. window in focus, streaming services

Virtual Memory What happens when you run too many programs and all of the memory is used up? What other storage is there? How do we keep some memory free at all times?

Virtual Memory Terms Paging / Swapping Moving program data between memory and disk Where do you see this stuff? pagefile.sys in windows /swap space in linux Whenever you use up all your RAM and your hard drive goes crazy. Optimizations Whole programs do not have to fit in memory contiguously (all in one section) Prevents memory segmentation Pre-emptive paging

Discussion: Why are there different operating systems? Mac OS X vs. iOS Ubuntu Linux vs. Android Advantages? (Hint: think in terms of design)

How does the OS represent hardware devices? Hardware complexities are hidden from the user by the OS Hardware is simplified and represented virtually by the OS Examples Mouse pointer File tree and drive letters Others?

OS  Hardware Communication How does the OS know “when” to communicate with hardware? Interrupt vs. Polling What do you think they mean?