SlideShare a Scribd company logo
가상 메모리 살펴보기




                      http://chortle.ccsu.edu/assemblytutorial/Chapter-04/ass04_6.html

아꿈사: http://cafe.naver.com/architect1
김태우: codevania@gmail.com
Index 1
•   시스템 정보
•   가상 메모리 상태
•   NUMA 머신에서의 메모리 관리
•   주소 공간의 상태 확인하기
시스템 정보




Related to Memory   Not Related to Memory
시스템 정보




Related to Memory   Not Related to Memory
시스템 정보




Related to Memory   Not Related to Memory
가상 메모리 상태
가상 메모리 상태
Member Name    Description


dwLength       The size of the MEMORYSTATUS data structure, in bytes.


               A number between 0 and 100 that specifies the approximate percentage of physical
dwMemoryLoad
               memory that is in use (0 indicates no memory use and 100 indicates full memory use).


dwTotalPhys    The amount of actual physical memory, in bytes.


dwAvailPhys    The amount of physical memory currently available, in bytes.
가상 메모리 상태
Member Name       Description

                  The current size of the committed memory limit, in bytes.
dwTotalPageFile
                  ( = physical memory + page file - small overhead )

                  The maximum amount of memory the current process can commit, in bytes.
dwAvailPageFile
                  This value should be smaller than the system-wide available commit.

                  The size of the user-mode portion of the virtual address space of the calling process, in
dwTotalVirtual    bytes. This value depends on the type of process, the type of processor, and the
                  configuration of the operating system.

                  The amount of unreserved and uncommitted memory currently in the user-mode portion
dwAvailVirtual
                  of the virtual address space of the calling process, in bytes.
NUMA 머신에서의 메모리 관리
프로세서

코어         코어             코어

캐시         캐시             캐시


           공유 캐시


             메모리                          CMP 메모리 구조
프로세서                      프로세서

코어         코어             코어         코어

캐시         캐시             캐시         캐시


     공유 캐시                     공유 캐시


     메모리                       메모리

                   네트워크                   NUMA 메모리 구조
NUMA 머신에서의 메모리 관리
http://msdn.microsoft.com/en-us/library/windows/desktop/aa965225(v=vs.85).aspx
주소 공간의 상태 확인하기
14 virtual memory
Index 2
•   가상 메모리 개요
•   요구 페이징
•   페이지 교체
•   쓰레싱
•   페이지 부재율
물리 메모리보다 큰 가상 메모리




    http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
가상 메모리를 사용할 때의 공유 라이브러리




      http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
요구 페이징




http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
페이지 부재를 처리하는 과정




   http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
페이지 교체 필요




http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
페이지 교체 과정




http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
쓰레싱




http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
메모리 참조 패턴의 지역성




   http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
페이지 부재 빈도




http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
시간에 따른 페이지 부재율




      작업 집합
  1


페이지
부재율


  0
        시간
              http://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/9_VirtualMemory.html
참조
• Windows via C++ 5th Edition
• Operating System Concepts 7th Edition
• http://www.cs.uic.edu/~jbell/CourseNotes/Operati
  ngSystems/9_VirtualMemory.html
• http://chortle.ccsu.edu/assemblytutorial/Chapter-
  04/ass04_6.html
14 virtual memory
Lisence

More Related Content

PPTX
Mongo db 복제(Replication)
PPTX
2014 윈도우 메모리구조
PDF
Operating system #1
PDF
Mongodb2.2와 2.4의 신 기능 소개
PDF
Hadoop engineering v1.0 for dataconference.io
PDF
Redis edu 3
PDF
NoSQL 간단한 소개
PDF
MongoDB 모바일 게임 개발에 사용
Mongo db 복제(Replication)
2014 윈도우 메모리구조
Operating system #1
Mongodb2.2와 2.4의 신 기능 소개
Hadoop engineering v1.0 for dataconference.io
Redis edu 3
NoSQL 간단한 소개
MongoDB 모바일 게임 개발에 사용

What's hot (20)

PPTX
HeadFisrt Servlet&JSP Chapter 6
 
KEY
Mongodb cluster
PDF
Cassandra 멘붕기 | Devon 2012
PDF
Mongo db로 배우는 nosql
PPTX
Cassandra education material
PPTX
mongodb와 mysql의 CRUD 연산의 성능 비교
PPTX
몽고디비교육1일차
PDF
NoSQL 위에서 MMORPG 개발하기
PPTX
Ch3,4. Pod, Replication and Controllers
PDF
PDF
하둡 (Hadoop) 및 관련기술 훑어보기
PDF
cassandra overview & spark to cassandra
PPT
구글의 공룡화
PPTX
Windows viac cpp_15장_16장
PDF
Social game programming footage 6 setting up db cache system
PPTX
Mongodb 관리
PPTX
7부. 애플리케이션 입장에서의 성능 튜닝 (1~8장)
PDF
Soft delete momoris
PDF
FIFA 온라인 3의 MongoDB 사용기
PDF
HeadFisrt Servlet&JSP Chapter 6
 
Mongodb cluster
Cassandra 멘붕기 | Devon 2012
Mongo db로 배우는 nosql
Cassandra education material
mongodb와 mysql의 CRUD 연산의 성능 비교
몽고디비교육1일차
NoSQL 위에서 MMORPG 개발하기
Ch3,4. Pod, Replication and Controllers
하둡 (Hadoop) 및 관련기술 훑어보기
cassandra overview & spark to cassandra
구글의 공룡화
Windows viac cpp_15장_16장
Social game programming footage 6 setting up db cache system
Mongodb 관리
7부. 애플리케이션 입장에서의 성능 튜닝 (1~8장)
Soft delete momoris
FIFA 온라인 3의 MongoDB 사용기
Ad

Viewers also liked (7)

PPTX
프로젝트 아나키로 Rpg 만들기 프로그래밍
PPTX
Streaming of Huxley
PPTX
[KGC2014] 두 마리 토끼를 잡기 위한 C++ - C# 혼합 멀티플랫폼 게임 아키텍처 설계
PPTX
5장 그래프의 비밀 (Programming Game AI by Example)
PDF
그로스 해킹 - Growth Hacking
PDF
NDC 2016 김정주 - 기계학습을 활용한 게임어뷰징 검출
PDF
Storybreeze
프로젝트 아나키로 Rpg 만들기 프로그래밍
Streaming of Huxley
[KGC2014] 두 마리 토끼를 잡기 위한 C++ - C# 혼합 멀티플랫폼 게임 아키텍처 설계
5장 그래프의 비밀 (Programming Game AI by Example)
그로스 해킹 - Growth Hacking
NDC 2016 김정주 - 기계학습을 활용한 게임어뷰징 검출
Storybreeze
Ad

Similar to 14 virtual memory (17)

PPTX
Windows system - memory개념잡기
PPTX
System+os study 5
 
PDF
(111217) #fitalk windows system structure
PDF
프로그래머가 알아야 하는 메모리 관리 기법
PPTX
Ch9 프로세스의 메모리 구조
PPTX
Gpg2 2 1_10_드롭인디버그메모리관리자
PDF
[2013 CodeEngn Conference 09] wh1ant - various tricks for linux remote exploits
PPTX
Memtracer
PPTX
면접 대비 벡터, CS 개념과 사례
PDF
Segmentation and Paging
PPTX
운영체제 Chapter 8
PPTX
윈도우 메모리맵파일
PPTX
Virtual memory
PPTX
Chapter 17
PDF
[2013 CodeEngn Conference 08] manGoo - Windows 8 Exploit
PDF
From Java code to Java heap_SYS4U I&C
PDF
실무로 배우는 시스템 성능 최적화 8부 - 1,2,3장
Windows system - memory개념잡기
System+os study 5
 
(111217) #fitalk windows system structure
프로그래머가 알아야 하는 메모리 관리 기법
Ch9 프로세스의 메모리 구조
Gpg2 2 1_10_드롭인디버그메모리관리자
[2013 CodeEngn Conference 09] wh1ant - various tricks for linux remote exploits
Memtracer
면접 대비 벡터, CS 개념과 사례
Segmentation and Paging
운영체제 Chapter 8
윈도우 메모리맵파일
Virtual memory
Chapter 17
[2013 CodeEngn Conference 08] manGoo - Windows 8 Exploit
From Java code to Java heap_SYS4U I&C
실무로 배우는 시스템 성능 최적화 8부 - 1,2,3장

More from codevania (16)

PPTX
Taocp 2_4
PDF
Taocp 2_3_1
PPT
Taocp 1 2-2
PPTX
Gstar gossip
PPT
Deferred rendering transparency
PPT
테스트 자동화의 원칙
PPT
3장 자동적으로 움직이는 게임 에이전트 생성법
PPT
Spin locks 추가 자료
PPT
Texture bombing
PPT
Memory corruption stack
PPTX
Mathematical Structures for CS [Chapter3]456
PPT
Optimizing The Content Pipeline
PPT
시간 있으면 설계나 합시다
PPT
Memory Corruption Heap
PPT
Generic Refraction Simulation
PPT
Interactive Refractions And Caustics Using Image Space Techniques
Taocp 2_4
Taocp 2_3_1
Taocp 1 2-2
Gstar gossip
Deferred rendering transparency
테스트 자동화의 원칙
3장 자동적으로 움직이는 게임 에이전트 생성법
Spin locks 추가 자료
Texture bombing
Memory corruption stack
Mathematical Structures for CS [Chapter3]456
Optimizing The Content Pipeline
시간 있으면 설계나 합시다
Memory Corruption Heap
Generic Refraction Simulation
Interactive Refractions And Caustics Using Image Space Techniques

14 virtual memory