Mobile and Desktop Memory Management

Slides:



Advertisements
Similar presentations
Module 10: Virtual Memory
Advertisements

Background Virtual memory – separation of user logical memory from physical memory. Only part of the program needs to be in memory for execution. Logical.
Paging: Design Issues. Readings r Silbershatz et al: ,
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Allocation of Frames Each process needs minimum number of pages
Operating Systems Prof. Navneet Goyal Department of Computer Science & Information Systems BITS, Pilani.
Page 15/4/2015 CSE 30341: Operating Systems Principles Allocation of Frames  How should the OS distribute the frames among the various processes?  Each.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Lecture 15: Background Information for the VMWare ESX Memory Management.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 10: Virtual Memory Background Demand Paging Process Creation Page Replacement.
Module 9: Virtual Memory
Module 10: Virtual Memory Background Demand Paging Performance of Demand Paging Page Replacement Page-Replacement Algorithms Allocation of Frames Thrashing.
Virtual Memory Background Demand Paging Performance of Demand Paging
Virtual Memory Introduction to Operating Systems: Module 9.
Memory Management Design & Implementation Segmentation Chapter 4.
1 Operating Systems and Protection CS Goals of Today’s Lecture How multiple programs can run at once  Processes  Context switching  Process.
Instructor: Umar KalimNUST Institute of Information Technology Operating Systems Revisiting Virtual Memory.
03/29/2004CSCI 315 Operating Systems Design1 Page Replacement Algorithms (Virtual Memory)
RESOURCE MANAGEMENT System Resources. What resources are managed in a computer system?
OPERATING SYSTEMS AND SYSTEMS SOFTWARE. SYSTEMS SOFTWARE Systems software consists of the programs that control the operations of the computer and its.
The Operating System The operation system (OS) is a set of programs that coordinates: Hardware functions Interaction between application software and computer.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Virtualization. ABCs Special software: hypervisors or virtual machine managers Guest OS (virtual machine) sits on top of host OS (Win 7 in our case) We.
Palm OS Jeremy Etzkorn Paul Rutschky Adam Lee Amit Bhatia Tony Picarazzi.
Software GCSE COMPUTING.
Problems in Memory Management CS 1550 Recitation October 9 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 264.
Operating System Basics section 6A. This lesson includes the following sections: Running Programs Managing Files Managing Hardware Utility Software.
CS533 Concepts of Operating Systems Jonathan Walpole.
How computers work The CPU & Memory. The parts of a computer.
Memory Management COSC 513 Presentation Jun Tian 08/17/2000.
Computer Systems Week 14: Memory Management Amanda Oddie.
Virtual Memory The memory space of a process is normally divided into blocks that are either pages or segments. Virtual memory management takes.
4.3 Virtual Memory. Virtual memory  Want to run programs (code+stack+data) larger than available memory.  Overlays programmer divides program into pieces.
CS6502 Operating Systems - Dr. J. Garrido Memory Management – Part 1 Class Will Start Momentarily… Lecture 8b CS6502 Operating Systems Dr. Jose M. Garrido.
Virtual Memory (Section 9.3). The Need For Virtual Memory Many computers don’t have enough memory in RAM to accommodate all the programs a user wants.
Operating System Simulator
Virtual Memory.
Virtualization.
SLC/VER1.0/OS CONCEPTS/OCT'99
Vivek Seshadri 15740/18740 Computer Architecture
Presented by Yoon-Soo Lee
Day 08 Processes.
Day 09 Processes.
Memory Management References text: Tanenbaum ch.4.
Architecture Background
What is an Operating System?
Who’s in charge in there?
Module 9: Virtual Memory
Process Virtualization. Process Process is a program that has initiated its execution. A program is a passive entity; whereas a process is an active entity.
Lecture 28: Virtual Memory-Address Translation
Memory Management Activity
O.S Lecture 13 Virtual Memory.
Memory Management References text: Tanenbaum ch.4.
Multistep Processing of a User Program
Module IV Memory Organization.
5: Virtual Memory Background Demand Paging
So far… Text RO …. printf() RW link printf Linking, loading
Main Memory Background Swapping Contiguous Allocation Paging
Chapter 8: Memory management
Outline Module 1 and 2 dealt with processes, scheduling and synchronization Next two modules will deal with memory and storage Processes require data to.
Java Programming Introduction
Software - Operating Systems
Lecture 41 Syed Mansoor Sarwar
Virtual Memory: Working Sets
Virtual Memory: Beyond the Physical Memory
Module 9: Virtual Memory
COMP755 Advanced Operating Systems
Memory Management Memory management is the art and the process of coordinating and controlling the use of memory in a computer system Why memory management?
Parts of the Computer
Presentation transcript:

Mobile and Desktop Memory Management What did you see? Mobile and Desktop Memory Management

Virtual Memory When the programs do not all fit in RAM, pages of the program not currently being used are stored on disk If the system needs memory for an active program, it may page out parts of other programs

Page Faults When a program attempts to use a page that is not in RAM, a page fault interrupt occurs The operating system will suspend the program while it copies the needed page into RAM If there are lots of page faults, the program has little time to run and CPU utilization with drop

Execution Time vs. Program Size

Chart Explanation The following chart shows the execution time for programs of different size Multiple copies of the program were run at different sizes All programs, regardless of size, executed exactly same number of instructions, the same CPU processing Differences in time are caused by OS overhead managing the memory

Windows Memory Stress

Android Test Running the experiment on Android phones produces varying results on different phones Running the experiment on the Android emulator may take a very long time

Android Performance

Android Performance