Movatterモバイル変換


[0]ホーム

URL:


Virtual memory ppt

The document discusses virtual memory, including its needs, importance, advantages, and disadvantages. Virtual memory allows a computer to use more memory for programs than is physically installed by storing unused portions on disk. This allows processes to exceed physical memory limits. Page replacement algorithms like FIFO, LRU, and OPT are used to determine which pages to swap in and out between memory and disk.

Embed presentation

VIRTUAL MEMORYPresent by: -Ravisha Sethi
CONTENTS virtual memory Needs of virtual memory Importance of virtual memory Advantage of virtual memory Disadvantage of virtual memory Address space & memory space Page replacement algorithms FIFO LRU OPT
VIRTUAL MEMORY   Virtual memory is a common part of operating system on desktop    computers.   The term virtual memory refers to something which appears to be present    but actually it is not.   The virtual memory technique allows users to use more memory for a    program than the real memory of a computer.                                               present                           Mapper   CPU           (1)                           (3) Page                                 (4)           frame + x Logical               Not present                                 Page page + x                                 frames Virtual                                              (5) address                                                      Page framesSecondarystorage
NEED OF VIRTUAL MEMORY Virtual memory is a imaginary memory which we are  assuming. If we have a material that exceed your  memory at that time we need to use the concept of virtual  memory. virtual memory is temporary memory which is used  along with the ram of the system.
IMPORTANCE OF VIRTUAL MEMORY When your computer runs out of physical memory it  writes what it needs to remember to the hard disc in a  swap file as virtual memory. If a computer running Windows requires more  memory/RAM then there is installed in the system to run  a program, etc, it uses a small section of the hard drive  for this purpose
ADDRESS SPACE AND MEMORY SPACE Virtual memory is the address used by the programmer  and the set of such addresses is called address space. An address in main memory is called a physical address. The set of such locations in main memory is called the  memory space. Thus the memory space consist of the actual main  memory locations directly addressable for processing.
PAGE REPLACEMENT ALGORITHMS In a computer operating system that uses paging for  virtual memory management, page replacement  algorithm decide which memory pages to page out.  When a page of memory need to be allocated. FIFO (first in first out) LRU (Least Recently used) OPT (Optimal)
FIFO   First in first out is very easy to implement.   The fifo algorithm select the page for replacement   that has been in memory the longest time.time 1     2     3     4     5      6    7      8    9      10     11     12page P2    p3    p2    p1    p5    p2    p4    p5    p3     p2     p5     p2     p2*   p2*   p2*   p2*   P5    p5    p5*   p5*    P3    P3      P3    P3*           p3    p3    P3    p3*   P2    P2    P2     p2*   P2*     P5    P5                                                      p4                       P1    p1    P1*   p4    p4           p4      P4*   p2                 hit                           hit           hit
LRU The least recently used page replacement algorithm  keeps track page uses over a short period of time. The LRU algorithm can be implemented by associating a  counter with every page that is n main memory.time 1    2     3     4     5      6    7      8     9      10    11     12pag P2    p3    p2    p1    p5    p2    p4    p5     p3     p2    p5     p2e    p2*   p2*   P2    P2    p2*   P2    P2    p2*     P3    P3     P3*   P3*          p3    p3*   p3*   P5    P5    p5*   P5      P5    P5*    P5    P5                                                      p4*                      P1    P1    P1*   p4    P4            P2     P2    p2                hit               hit          hit                 hit   hit
OPT   The optimal policy selects that page for replacement for    which the time to the next reference is longest.   This algorithm result is fewest number of page faults.time   1    2    3     4    5     6    7     8     9      10   11     12page P2     p3   p2    p1   p5   p2    p4   p5     p3     p2   p5     p2       p2   p2   P2    P2   P2   P2    P4   P4      P4    P2    P2    P2            p3   p3    p3   P3   P3    P3   P3      P3    P3    P3    P3                                                    p5                       P1   P5   P5    p5   P5            P5    P5    P5                 hit             hit         hit    hit         hit   hit
ADVANTAGES OF VIRTUAL MEMORY Allows processes whose aggregate memory requirement  is greater than the amount of physical memory, as  infrequently used pages can reside on the disk. Virtual memory allows speed gain when only a particular  segment of the program is required for the execution of  the program. This concept is very helpful in implementing  multiprogramming environment.
DISADVANTAGES OF VIRTUAL MEMORY Applications run slower if the system is using virtual  memory. It Takes more time to switch between applications. Less hard drive space for your use. It reduces system stability.
Virtual memory ppt

Recommended

PPT
Virtual memory
PPT
Virtual memory
PPS
Virtual memory
PPTX
Computer architecture virtual memory
PPTX
Virtual memory management in Operating System
PPTX
Page replacement algorithms
PPTX
Virtual Memory
PPT
Virtual memory
PPTX
Memory Management in OS
PPTX
Memory Hierarchy
PPTX
Memory management ppt
PDF
Von Neumann Architecture
PPTX
Interrupts
PPTX
Paging and segmentation
PPT
Computer architecture pipelining
PPTX
Concurrency Control in Database Management System
PPTX
Context switching
PPTX
8 queens problem using back tracking
PPTX
Memory Organization
PPTX
DeadLock in Operating-Systems
PPTX
Disk Scheduling Algorithm in Operating System
PPTX
Process synchronization
PPS
Cache memory
PPT
Thrashing allocation frames.43
PPT
TCP/IP Network ppt
PPTX
CPU Scheduling in OS Presentation
PPTX
System call
PPTX
System calls
PPT
Memory management
PDF
Virtual memory

More Related Content

PPT
Virtual memory
PPT
Virtual memory
PPS
Virtual memory
PPTX
Computer architecture virtual memory
PPTX
Virtual memory management in Operating System
PPTX
Page replacement algorithms
PPTX
Virtual Memory
PPT
Virtual memory
Virtual memory
Virtual memory
Virtual memory
Computer architecture virtual memory
Virtual memory management in Operating System
Page replacement algorithms
Virtual Memory
Virtual memory

What's hot

PPTX
Memory Management in OS
PPTX
Memory Hierarchy
PPTX
Memory management ppt
PDF
Von Neumann Architecture
PPTX
Interrupts
PPTX
Paging and segmentation
PPT
Computer architecture pipelining
PPTX
Concurrency Control in Database Management System
PPTX
Context switching
PPTX
8 queens problem using back tracking
PPTX
Memory Organization
PPTX
DeadLock in Operating-Systems
PPTX
Disk Scheduling Algorithm in Operating System
PPTX
Process synchronization
PPS
Cache memory
PPT
Thrashing allocation frames.43
PPT
TCP/IP Network ppt
PPTX
CPU Scheduling in OS Presentation
PPTX
System call
PPTX
System calls
Memory Management in OS
Memory Hierarchy
Memory management ppt
Von Neumann Architecture
Interrupts
Paging and segmentation
Computer architecture pipelining
Concurrency Control in Database Management System
Context switching
8 queens problem using back tracking
Memory Organization
DeadLock in Operating-Systems
Disk Scheduling Algorithm in Operating System
Process synchronization
Cache memory
Thrashing allocation frames.43
TCP/IP Network ppt
CPU Scheduling in OS Presentation
System call
System calls

Viewers also liked

PPT
Memory management
PDF
Virtual memory
PDF
Memory management
PPTX
Memory management
PPTX
Paging and Segmentation in Operating System
PPT
Os Swapping, Paging, Segmentation and Virtual Memory
PPTX
Operating System-Memory Management
PPT
Chapter 9 - Virtual Memory
PPT
04 Cache Memory
PDF
8 memory management strategies
PDF
Virtual Memory and Paging
PPT
Paging
Memory management
Virtual memory
Memory management
Memory management
Paging and Segmentation in Operating System
Os Swapping, Paging, Segmentation and Virtual Memory
Operating System-Memory Management
Chapter 9 - Virtual Memory
04 Cache Memory
8 memory management strategies
Virtual Memory and Paging
Paging

Similar to Virtual memory ppt

PPT
Virtual memory ppts
PPTX
Virtual Memory in Operating System
PPTX
Virtual memory and page replacement algorithm
DOCX
virtual memory
PDF
virtualmemory-111228090333-phpapp02 (1).pdf
PPTX
TAHREEM KOUSAR Operating System ASSIGNMENT.pptx
PPTX
Virtual memory, operating system pptx.pptx
PPTX
Virtual Memory in Windows
PPT
NOV11 virtual memory.ppt
PPTX
coafinal1-copy-150430204758-conversion-gate01.pptx
PPT
virtual memory.ppt
PPT
Virtual memory
PDF
Virtual memory
PDF
CSI-503 - 9. Virtual Memory
PPTX
VIRTUAL 2.pptx
PPTX
Abhaycavirtual memory and the pagehit.pptx
PPT
NOV11 virtual memory.ppt
PPT
Chapter 09 - Virtual Memory.ppt
PPTX
Virtual memory (testing)
PDF
ikh311-06
Virtual memory ppts
Virtual Memory in Operating System
Virtual memory and page replacement algorithm
virtual memory
virtualmemory-111228090333-phpapp02 (1).pdf
TAHREEM KOUSAR Operating System ASSIGNMENT.pptx
Virtual memory, operating system pptx.pptx
Virtual Memory in Windows
NOV11 virtual memory.ppt
coafinal1-copy-150430204758-conversion-gate01.pptx
virtual memory.ppt
Virtual memory
Virtual memory
CSI-503 - 9. Virtual Memory
VIRTUAL 2.pptx
Abhaycavirtual memory and the pagehit.pptx
NOV11 virtual memory.ppt
Chapter 09 - Virtual Memory.ppt
Virtual memory (testing)
ikh311-06

More from Punjab College Of Technical Education

Recently uploaded

PDF
DEFINITION OF COMMUNITY Sociology. .pdf
PDF
AI Workflows and Workflow Rhetoric - by Ms. Oceana Wong
PDF
Digital Electronics – Registers and Their Applications
PDF
AI Chatbots and Prompt Engineering - by Ms. Oceana Wong
PDF
Integrated Circuits: Lithography Techniques - Fundamentals and Advanced Metho...
PDF
AI and ICT for Teaching and Learning, Induction-cum-Training Programme, 5th 8...
PDF
Unit 4_ small scale industries & Entrepreneurship
PDF
Conferencia de Abertura_Virgilio Almeida.pdf
PPTX
Prelims - History and Geography Quiz - Around the World in 80 Questions - IITK
PPTX
Photography Pillar 1 The Subject PowerPoint
PDF
UGC NET Paper 1 Syllabus | 10 Units Complete Guide for NTA JRF
PDF
Hybrid Electric Vehicles Descriptive Questions
PPTX
Time Series Analysis - Method of Simple Moving Average 3 Year and 4 Year Movi...
PPTX
Masterclass on Cybercrime, Scams & Safety Hacks.pptx
PDF
Unit 2: Functions of Management (POSDC.)
PPTX
Time Series Analysis - Weighted (Unequal) Moving Average Method
PPTX
Quarter 3 lesson 2 of English Grade 8.pptx
PPTX
Declaration of Helsinki Basic principles in medical research ppt.pptx
PDF
Unit 1- Basics of Management Cha. of Magmt
PPTX
LYMPHATIC SYSTEM.pptx it includes lymph, lymph nodes, bone marrow, spleen
DEFINITION OF COMMUNITY Sociology. .pdf
AI Workflows and Workflow Rhetoric - by Ms. Oceana Wong
Digital Electronics – Registers and Their Applications
AI Chatbots and Prompt Engineering - by Ms. Oceana Wong
Integrated Circuits: Lithography Techniques - Fundamentals and Advanced Metho...
AI and ICT for Teaching and Learning, Induction-cum-Training Programme, 5th 8...
Unit 4_ small scale industries & Entrepreneurship
Conferencia de Abertura_Virgilio Almeida.pdf
Prelims - History and Geography Quiz - Around the World in 80 Questions - IITK
Photography Pillar 1 The Subject PowerPoint
UGC NET Paper 1 Syllabus | 10 Units Complete Guide for NTA JRF
Hybrid Electric Vehicles Descriptive Questions
Time Series Analysis - Method of Simple Moving Average 3 Year and 4 Year Movi...
Masterclass on Cybercrime, Scams & Safety Hacks.pptx
Unit 2: Functions of Management (POSDC.)
Time Series Analysis - Weighted (Unequal) Moving Average Method
Quarter 3 lesson 2 of English Grade 8.pptx
Declaration of Helsinki Basic principles in medical research ppt.pptx
Unit 1- Basics of Management Cha. of Magmt
LYMPHATIC SYSTEM.pptx it includes lymph, lymph nodes, bone marrow, spleen
In this document
Powered by AI

Introduction to virtual memory and table of contents, outlining key topics like needs, importance, advantages, and disadvantages.

Virtual memory allows users to utilize more memory than physical RAM, functioning alongside it for efficient memory management.

Virtual memory is crucial when the system runs out of physical memory, allowing space on the hard drive to be used as temporary memory.

Distinction between address space (programmer's view) and memory space (physical memory locations directly accessible).

Explains page replacement algorithms used in virtual memory management, including FIFO, LRU, and OPT.

The FIFO algorithm replaces the oldest page in memory, introducing a simple mechanism for page replacement.

The LRU algorithm tracks page usage to replace the least recently used page, optimizing memory.

The optimal algorithm chooses the page that will not be referenced for the longest period, minimizing page faults.

Benefits of virtual memory include enabling larger process execution and improved multiprogramming through efficient memory management.

Drawbacks include potential slowdowns in application performance, increased switch times, and possible system instability.

Virtual memory ppt

  • 1.
  • 2.
    CONTENTS virtual memoryNeeds of virtual memory Importance of virtual memory Advantage of virtual memory Disadvantage of virtual memory Address space & memory space Page replacement algorithms FIFO LRU OPT
  • 3.
    VIRTUAL MEMORY Virtual memory is a common part of operating system on desktop computers. The term virtual memory refers to something which appears to be present but actually it is not. The virtual memory technique allows users to use more memory for a program than the real memory of a computer. present Mapper CPU (1) (3) Page (4) frame + x Logical Not present Page page + x frames Virtual (5) address Page framesSecondarystorage
  • 4.
    NEED OF VIRTUALMEMORY Virtual memory is a imaginary memory which we are assuming. If we have a material that exceed your memory at that time we need to use the concept of virtual memory. virtual memory is temporary memory which is used along with the ram of the system.
  • 5.
    IMPORTANCE OF VIRTUALMEMORY When your computer runs out of physical memory it writes what it needs to remember to the hard disc in a swap file as virtual memory. If a computer running Windows requires more memory/RAM then there is installed in the system to run a program, etc, it uses a small section of the hard drive for this purpose
  • 6.
    ADDRESS SPACE ANDMEMORY SPACE Virtual memory is the address used by the programmer and the set of such addresses is called address space. An address in main memory is called a physical address. The set of such locations in main memory is called the memory space. Thus the memory space consist of the actual main memory locations directly addressable for processing.
  • 7.
    PAGE REPLACEMENT ALGORITHMSIn a computer operating system that uses paging for virtual memory management, page replacement algorithm decide which memory pages to page out. When a page of memory need to be allocated. FIFO (first in first out) LRU (Least Recently used) OPT (Optimal)
  • 8.
    FIFOFirst in first out is very easy to implement. The fifo algorithm select the page for replacement that has been in memory the longest time.time 1 2 3 4 5 6 7 8 9 10 11 12page P2 p3 p2 p1 p5 p2 p4 p5 p3 p2 p5 p2 p2* p2* p2* p2* P5 p5 p5* p5* P3 P3 P3 P3* p3 p3 P3 p3* P2 P2 P2 p2* P2* P5 P5 p4 P1 p1 P1* p4 p4 p4 P4* p2 hit hit hit
  • 9.
    LRU The leastrecently used page replacement algorithm keeps track page uses over a short period of time. The LRU algorithm can be implemented by associating a counter with every page that is n main memory.time 1 2 3 4 5 6 7 8 9 10 11 12pag P2 p3 p2 p1 p5 p2 p4 p5 p3 p2 p5 p2e p2* p2* P2 P2 p2* P2 P2 p2* P3 P3 P3* P3* p3 p3* p3* P5 P5 p5* P5 P5 P5* P5 P5 p4* P1 P1 P1* p4 P4 P2 P2 p2 hit hit hit hit hit
  • 10.
    OPT The optimal policy selects that page for replacement for which the time to the next reference is longest.  This algorithm result is fewest number of page faults.time 1 2 3 4 5 6 7 8 9 10 11 12page P2 p3 p2 p1 p5 p2 p4 p5 p3 p2 p5 p2 p2 p2 P2 P2 P2 P2 P4 P4 P4 P2 P2 P2 p3 p3 p3 P3 P3 P3 P3 P3 P3 P3 P3 p5 P1 P5 P5 p5 P5 P5 P5 P5 hit hit hit hit hit hit
  • 11.
    ADVANTAGES OF VIRTUALMEMORY Allows processes whose aggregate memory requirement is greater than the amount of physical memory, as infrequently used pages can reside on the disk. Virtual memory allows speed gain when only a particular segment of the program is required for the execution of the program. This concept is very helpful in implementing multiprogramming environment.
  • 12.
    DISADVANTAGES OF VIRTUALMEMORY Applications run slower if the system is using virtual memory. It Takes more time to switch between applications. Less hard drive space for your use. It reduces system stability.

[8]ページ先頭

©2009-2025 Movatter.jp