Hugepages 설정 방법

# Hugepage 란?

일반적인 컴퓨팅 시스템은 물리적 메모리 크기를 극복하기 위해 가상메모리 기법을 사용하며, 상이한 두 메모리를 매핑하기 위해 Page Table이 존재하고 Page 단위로 관리됩니다. 리눅스 시스템의 경우 보통 4k로 되어있습니다.

대용량 메모리를 장착한 시스템의 효율적인 Page Table 관리를 위해 Kernel 2.6부터는 HugePage 기술이 도입되어 더 큰 Page 크기(예 : 2M ~ 256M)로 관리 할 수 있게 되었습니다.


# 설정 방법

1. 서버에 있는 모든 인스턴스를 뛰웁니다. 단 AMM 설정은 되어 있으면 안됩니다.

2. MOS에서 Note 401749.1의 스크립트를 이용하여 필요한 Hugepages 값을 찾습니다.

$ sh
Recommended setting: vm.nr_hugepages = 9222

3 . 값을 설정 합니다.

sysctl –w vm.nr_hugepages=9222

4. 서버가 Reboot 되더라도 설정값을 유지하기 위해서는 /etc/sysctl.conf에 vmm.nr_hugepages
= 9222 를 설정합니다.

5. DBMS 파라미터에서 USE_LARGE_PAGES=ONLY 로 설정 후 DB를 Restart 합니다.

6. “$ grep Huge /proc/meminfo” 명령어로 Huge Page사용량을 확인합니다.




오라클 DBA 박용석 입니다. 으로 문의 주세요.

Hugepages 설정 방법”의 12개의 댓글

  • 2018년 9월 19일 5:38 오전

    I was suggested this web site by my cousin. I am not sure
    whether this post is written by him as no one else know such detailed about my trouble.

    You are amazing! Thanks!

  • 2018년 9월 29일 8:31 오전

    Hi there, just became alert to your blog through Google,
    and found that it’s truly informative. I’m going to watch out for brussels.
    I’ll be grateful if you continue this in future.
    Lots of people will be benefited from your writing.

    creditos rapidos sin papeles [Antonetta]

  • 2018년 10월 24일 5:36 오전

    What’s up to all, how is everything, I think every one is getting more from this web site, and your views are fastidious in favor of new users.

  • 2018년 11월 22일 12:33 오전

    Howdy just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different internet browsers and both show the same results.

  • 2018년 12월 3일 8:55 오전

    I’m not sure exactly why but this site is loading very slow
    for me. Is anyone else having this issue or is it a problem
    on my end? I’ll check back later on and see if the problem still exists.

  • 2018년 12월 22일 4:22 오전

    It’s appropriate time to make some plans for the future and it is time to be happy.
    I’ve learn this publish and if I may just I want to counsel you few
    fascinating issues or suggestions. Perhaps you could write
    subsequent articles relating to this article.
    I wish to learn even more things approximately it!

  • 2018년 12월 22일 4:15 오후

    Hello, this weekend is pleasant designed for me, as this occasion i am reading
    this fantastic educational article here at my house.

  • 2019년 2월 1일 4:51 오후

    I’m really inspired along with your writing abilities as smartly
    as with the format to your blog. Is this a paid subject or did you customize it your self?
    Either way keep up the nice high quality writing, it’s uncommon to peer a great weblog like this one these days..

  • 2019년 2월 5일 12:02 오후

    This is the perfect web site for anybody who wishes to understand this topic.

    You understand so much its almost tough to argue with you (not that I personally would want to…HaHa).
    You certainly put a brand new spin on a subject that’s been discussed for many years.
    Wonderful stuff, just wonderful!

  • 2019년 5월 29일 8:26 오후

    Fascinating blog! Is your theme custom made or did you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog jump out. Please let me know where you got your theme. With thanks

  • 2019년 8월 15일 11:48 오전

    I simply want to tell you that I’m new to blogging and honestly liked your web-site. Most likely I’m want to bookmark your blog . You certainly come with wonderful writings. Thanks for sharing with us your blog.


댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다