thp_transparent_huge_pages_기능과_설정_방법

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
thp_transparent_huge_pages_기능과_설정_방법 [2020/03/03 00:37] – [참조링크] koovthp_transparent_huge_pages_기능과_설정_방법 [2020/11/29 09:09] (현재) – [참조링크] koov
줄 116: 줄 116:
 THP는 커널 설정과 tuned 설정에 의해 활성화되므로 이 2가지를 모두 비활성화 시킬 필요가 있습니다. THP는 커널 설정과 tuned 설정에 의해 활성화되므로 이 2가지를 모두 비활성화 시킬 필요가 있습니다.
  
-Step 1: Initially, we should create a customized version of the currently running profile. The customized version will disable THP. Find out which profile is active, create a copyIn the following example we currently use the throughput-performance profile:+==== tuned Profile 설정 ==== 
 +새로운 tuned profile을 만든 뒤 active 상태로 설정 합니다아래와 같이 명령어를 입력하여 현재 active 상태인 tuned profile을 확인합니다.
  
- 
-  * 새로운 tuned profile을 만든 뒤 active 상태로 설정  
- 
- 
-아래와 같이 명령어를 입력하여 현재 active 상태인 tuned profile을 확인합니다. 
 <code> <code>
 [root@host]# tuned-adm active  [root@host]# tuned-adm active 
줄 162: 줄 158:
 </code> </code>
  
-  * 커널 파라미터 추가+==== 커널 파라미터 추가 ==== 
  
-/etc/sysconfig/grub 파일에 다음과 같이 transparent_hugepage=never 커널 파라미터를 추가합니다.+''/etc/sysconfig/grub'' 파일에 다음과 같이 ''transparent_hugepage=never'' 커널 파라미터를 추가합니다.
  
 <code vim /etc/sysconfig/grub> <code vim /etc/sysconfig/grub>
줄 177: 줄 174:
 </code> </code>
  
-grub2-mkconfig를 통해 grub.cfg 파일을 재생성합니다.+''grub2-mkconfig''를 통해 grub.cfg 파일을 재생성합니다.
 <code> <code>
 [root@host]# grub2-mkconfig -o /boot/grub2/grub.cfg [root@host]# grub2-mkconfig -o /boot/grub2/grub.cfg
줄 194: 줄 191:
 ===== 참조링크 ===== ===== 참조링크 =====
   * https://access.redhat.com/solutions/1578873   * https://access.redhat.com/solutions/1578873
-  * http://lunatine.net/thp-and-page-allocation-error/+  * https://lunatine.net/2014/10/29/thp-and-page-allocation-error/
   * http://bloodguy.tistory.com/entry/Linux-%EC%8B%9C%EC%8A%A4%ED%85%9C%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EC%82%AC%EC%9A%A9%EB%9F%89-%ED%99%95%EC%9D%B8-check-systemprocess-memory-usage   * http://bloodguy.tistory.com/entry/Linux-%EC%8B%9C%EC%8A%A4%ED%85%9C%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EC%82%AC%EC%9A%A9%EB%9F%89-%ED%99%95%EC%9D%B8-check-systemprocess-memory-usage
  • thp_transparent_huge_pages_기능과_설정_방법.1583195868.txt.gz
  • 마지막으로 수정됨: 2020/03/03 00:37
  • 저자 koov