문제
- What is the maximum support for HugePages on my system?
- What is the maximum size HugePages that I can use?
- Is there a limit to the HugePages size that I can use?
환경
- Red Hat Enterprise Linux 5
- x86_64 architecture
해결
How does the kernel interpret hugepage size?
- The system will read the HugePage size as 2MB by default. There are only a
few architectures that have the ability to change this (powerpc for example)
- The system will read the HugePage size as 2MB by default. There are only a
Does having more HugePages equal better performance?
The HugePage amount will be relevant to the the amount of
memory that you want to allocate to your system to operate your oracle application.The Linux kernel has support for multiple HugePage sizes and allows for use of multiple different
sizes at the same time; however, the available sizes are dependent on the architecture.The x86(_64) system size of each HugePage will be in /proc/meminfo; i.e. 2 MiB.
Example:
# grep -i hugepage /proc/meminfo
HugePages_Total: 500
HugePages_Free: 500
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
NUMBER_OF_HUGEPAGES = ( SGA + PGA + (20k * #_of_Oracle_processes)) / 2MB
Enabling hugepages for use with Oracle Database:
https://access.redhat.com/knowledge/solutions/69306Tuning Red Hat Enterprise Linux for Oracle and Oracle RAC:
https://access.redhat.com/knowledge/solutions/39188Oracle Tuning Guide:
Red Hat Enterprise Linux 5 for Oracle 9i and 10g Databases:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/Red Hat Enterprise Linux 5 for Oracle Database 11g Release 2:
http://www.redhat.com/rhecm/rest-rhecm/jcr/repository/collaboration/jcr:system/jcr:versionStorage/ee6fe0000a0526020f35498ae39e9939/12/jcr:frozenNode/rh:resourceFile
'OS > Linux' 카테고리의 다른 글
[RHEL] HugeTLB (Huge Translation Lookaside Buffer) (RHEL6) (0) | 2014.03.10 |
---|---|
[RHEL] 가상 메모리 튜닝 (0) | 2014.03.09 |
[RHEL] 이슈 : Page out activity when there is no current VM load (0) | 2014.03.08 |
[RHEL] Memory management and tuning options in Red Hat Enterprise Linux. (0) | 2014.03.08 |
[RHEL] Tuning Red Hat Enterprise Linux for Oracle and Oracle RAC performance (0) | 2014.03.08 |
[RHEL] What is an approprite memlock value in limits.conf when using hugepages for an Oracle DB on RHEL (0) | 2014.03.08 |
[RHEL] Enabling hugepages for use with Oracle Database (0) | 2014.03.08 |
[RHEL] Linux HugePages and virtual memory (VM) tuning (0) | 2014.03.08 |
[RHEL] hugetlbpage.txt (0) | 2014.03.08 |
[RHEL] Large Memory Optimization, Big Pages, and Huge Pages (0) | 2014.03.08 |