CSMC 412
Operating Systems
- Prof. Ashok K Agrawala
Memory Management - III Online Set3
April 2020 1
CSMC 412 Operating Systems Prof. Ashok K Agrawala Memory - - PowerPoint PPT Presentation
CSMC 412 Operating Systems Prof. Ashok K Agrawala Memory Management - III Online Set3 April 2020 1 Memory Management Schemes from II Segmentation Desirable Features: Very large address space Paging Ability to execute
Memory Management - III Online Set3
April 2020 1
April 2020 2
April 2020 3
April 2020 4
Editor
1100
2000 2000 1000 1100
5100
4000 5000 5100
5100
7000
April 2020 5
alone
April 2020 6
April 2020 7
April 2020 8
page of the inner page table
April 2020 9
April 2020 10
April 2020 11
April 2020 12
contiguous and scattered)
April 2020 13
April 2020 14
April 2020 15
April 2020 16
April 2020 17
(LDT))
descriptor table (GDT))
April 2020 18
April 2020 19
April 2020 20
April 2020 21
April 2020 22
32-bit address limits led Intel to create page address extension (PAE), allowing 32-bit apps access to more than 4GB of memory space Paging went to a 3-level scheme Top two bits refer to a page directory pointer table Page-directory and page-table entries moved to 64-bits in size Net effect is increasing address space to 36 bits – 64GB of physical memory
April 2020 23
Current generation Intel x86 architecture 64 bits is ginormous (> 16 exabytes) In practice only implement 48 bit addressing Page sizes of 4 KB, 2 MB, 1 GB Four levels of paging hierarchy Can also use PAE so virtual addresses are 48 bits and physical addresses are 52 bits
April 2020 24