메모리 관리
주소 공간 Address Space
주소 공간의 크기
물리 주소 Physical Address
가상 주소 Logical Address Virtual Address
초창기의 주소 관리
컴파일 시 가상 주소 (compile time)
링크 시 가상 주소 (link time)
로드 시 가상 주소 (load time)
실행 시 가상 주소 (execution time)
주소 변환 방법
1. Physical Relative Address
2. Virtual Address
Physical Relative Address
절대 주소 = 시작 주소 + 상대 주소의 합
가상 주소 Virtual Address
MMU Memory Management Unit
가상 메모리 Virtual Memory
가상 메모리 구현
페이징 Paging
1. 프레임 Frame
2. 페이지 Page
주소 = Page 번호 + Page 주소
1. Page 번호
2. Page 주소
데이터 단위
1. Byte
2. KB
3. MB
4. GB
5. TB
페이지 테이블 Page Table
1. Index
1. PTBR 페이지 테이블 기준 레지스터
2. PTLR 페이지 테이블 깊이 레지스터
PTE Page Table Entry
1. Flag Bits
a. Accessed Bit
b. Dirty Bit
c. Present Bit
d. Read/Write Bit
페이징 순서
TLB in MMU
1. TLB Hit Ration
다단계 페이지 테이블 Multilevel Page Table
Two Level Page Table = Outer Page Table + page of page table + offset
12KB Process Mapping
Inverted Page Table
Demand Paging
Page Fault
Page Fault Handler
Page Fault Locality
1. 일반적인 경우
2. VOD
Working Set
Trashing
'소프트웨어학부 > 운영체제' 카테고리의 다른 글
13. 파일 시스템 (File System) (0) | 2024.11.18 |
---|---|
12. 메모리 관리 (Memory Management) (2) (0) | 2024.11.18 |
10. 동기화 (2) (0) | 2024.11.18 |
09. 동기화 (1) (0) | 2024.11.18 |
08. Thread (0) | 2024.11.18 |