Dynamic Relocation2 Memory Management(2)-메모리 관리 Noncontiguous Allocation Paging Process의 virtual memory를 동일한 사이즈(보통 4KB)의 page 단위로 나눔 Virtual memory의 내용이 page 단위로 noncontiguous 하게 저장됨 일부는 backing storage에, 일부는 physical memory에 저장 Basic Method physical memory를 동일한 크기의 frame으로 나눔 logical memory를 동일 크기의 page로 나눔 (frame과 같은 크기) 모든 가용 frame들을 관리 page table을 사용하여 logical address를 physical address로 반환 External fragmentation 발생 안 함 Internal fragmenta.. 2022. 3. 21. Memory Management(1)-메모리 관리 Logical vs. Physical Address Logical address, 논리 주소(= virtual address, 가상 주소) 프로세스마다 독립적으로 가지는 주소 공간 각 프로세스마다 0번지부터 시간 CPU가 보는 주소는 logical address 임 Physical address, 물리 주소 메모리에 실제 올라가는 위치 Symbolic address 프로그래머 입장에서 사용하는 심벌로 된 주소( 쉽게 생각해서 ‘변수’ ) *주소 바인딩: 프로그램이 물리적인 메모리 어디로 올라갈지 메모리 주소를 결정하는 것 Symbolic Address → Logical Address → Physical Address 주소 바인딩(Address Binding) Compile time binding 물리적 .. 2022. 3. 21. 이전 1 다음