“What goes around comes
around whether you are
giving respect to someone
or deceiving them”
Objective
• What is Memory?
• Memory Hierarchy
• Swapping
• Paging Fragmentation
• Defragmentation
• Segmentation
What is memory?
Memory store the programs & these programs
are used by CPU for processing.
Memory Hierarchy
Primary memory:-
Main memory(Hard disk,RAM)
Connected through data buses to CPU
Expensive & Smaller
Faster
Secondary memory:-
Extrenal Devices(CD , Floppy Disk etc)
Connected through data cables to CPU
Cheaper & larger
Slower
Memory Management
It’s a term used to describes how handle the
memory.
MMU(Memory Management Unit)
MMU of the operating system handle the
memory hierarchy.
How MMU Work?
• Keep track what part of memory are in use
• Memory Allocate
• Memory Deallocate
• Swapping b/w main memory & Disk
Swapping
• Paging
• Fragmentation
Defragmentation
• Defragmentation is like cleaning
house for your PC, it picks up all of
the pieces of data that are spread
across your hard drive and puts
them back together again.
Segmentation
Segmentation is a memory management
technique in which each job is divided
into several segments of different sizes,
one for each module that contains
pieces that perform related functions.
Data structure
Data structure

Data structure

  • 3.
    “What goes aroundcomes around whether you are giving respect to someone or deceiving them”
  • 4.
    Objective • What isMemory? • Memory Hierarchy • Swapping • Paging Fragmentation • Defragmentation • Segmentation
  • 5.
    What is memory? Memorystore the programs & these programs are used by CPU for processing.
  • 6.
    Memory Hierarchy Primary memory:- Mainmemory(Hard disk,RAM) Connected through data buses to CPU Expensive & Smaller Faster Secondary memory:- Extrenal Devices(CD , Floppy Disk etc) Connected through data cables to CPU Cheaper & larger Slower
  • 7.
    Memory Management It’s aterm used to describes how handle the memory. MMU(Memory Management Unit) MMU of the operating system handle the memory hierarchy.
  • 8.
    How MMU Work? •Keep track what part of memory are in use • Memory Allocate • Memory Deallocate • Swapping b/w main memory & Disk
  • 9.
  • 10.
  • 11.
    Defragmentation • Defragmentation islike cleaning house for your PC, it picks up all of the pieces of data that are spread across your hard drive and puts them back together again.
  • 14.
    Segmentation Segmentation is amemory management technique in which each job is divided into several segments of different sizes, one for each module that contains pieces that perform related functions.