0% found this document useful (0 votes)
23 views5 pages

A Comparison Between Linux and Windows Operating System in Terms of Memory Management Linux Vs Windo

Uploaded by

kr gael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views5 pages

A Comparison Between Linux and Windows Operating System in Terms of Memory Management Linux Vs Windo

Uploaded by

kr gael
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

A Comparison between

Linux and Windows


operating system in
terms of Memory
management: Linux vs.
Windows
This presentation will explore the intricacies of memory
management in two popular operating systems: Linux and
Windows. We will delve into the core principles, key differences,
and their implications for system performance and efficiency.

NP
By Nthabiseng Phelane 215231473
Gael Kapia Kalala 230150438
Tebogo Mashabane 219320926
Linux Memory Management
1 Virtual Memory 2 Page Table
Linux utilizes virtual A page table maps virtual
memory to extend the memory addresses to
available physical physical memory
memory. It allows addresses, enabling
applications to access a efficient allocation and
larger address space than access of memory.
the actual physical RAM.

3 Memory Zones 4 Swap Space


Linux categorizes memory Swap space acts as an
into different zones (e.g., extension of RAM, storing
normal, highmem) based inactive pages on disk for
on access speeds and temporary access. This
usage. allows the system to
handle more processes
than available physical
memory.
Windows Memory Management
Paging Virtual Memory
Manager (VMM)
Windows divides virtual
memory into fixed-size pages, The VMM manages virtual
allowing processes to access memory allocation and
memory in smaller chunks, swapping, ensuring efficient
improving efficiency. use of physical RAM and disk
space.

Memory Protection Memory Allocation


Windows utilizes memory Windows provides different
protection to prevent memory allocation strategies
processes from interfering for applications, including
with each other's memory heap allocation and stack
spaces, ensuring stability and allocation.
security.
Comparison: Memory Protection
Linux Memory Protection Windows Memory Protection

Linux uses a segmentation-based approach, where Windows utilizes a page-based protection mechanism,
each process has its own dedicated memory space. where each page of memory is granted specific
This prevents processes from accessing each other's access rights. This allows for granular control over
data, ensuring security and stability. memory access, enhancing security and allowing for
more flexible memory management.
• Uses access control and memory
protection keys to secure memory. • Uses Data Execution Prevention (DEP).
• Strong security features to prevent • Comprehensive security measures to protect
unauthorized access. against memory-related attacks.
Conclusion: Paging and
Virtual Memory
1 Paging
Both Linux and Windows employ paging, dividing
virtual memory into fixed-size units called pages.

2 Virtual Memory
Virtual memory allows applications to access more
memory than physically available, using disk space
as an extension.

3 Memory Management
Both operating systems utilize page tables to map
virtual addresses to physical memory, enabling
efficient memory management.

You might also like