[root@yyxxdb01 ~]# /opt/app/11.2.0/grid_home/bin/orion -run oltp -testname mytest
ORION: ORacle IO Numbers -- Version 11.2.0.4.0
************************ Large Pages Information *******************
Parameter use_large_pages = onlyPer process system memlock (soft) limit = 64 KB
Large Pages unused system wide = 0 (0 KB)
Large Pages configured system wide = 0 (0 KB)
Large Page size = 2048 KB
ERROR:
Failed to allocate shared global region with large pages, unix errno = 12.
Aborting the run of Orion. ORA-27137: unable to allocate Large Pages to create a shared memory segment
ACTION:
Total Orion I/O Buf Area size is 6144 KB. Prior to next instance restart:
1. Increase the number of unused large pages (page size 2048 KB)
to at least 3 (6144 KB) to allocate 100% Orion I/O Buf Area
with large pages.
2. Large pages are automatically locked into physical memory.
Increase the per process memlock (soft) limit to at least 8192 KB to lock
100% Orion I/O Buf Area's large pages into physical memory
*******************************************************************
Increase huge pages as suggested or set -hugenotneeded flag on command line
Failed to create shared memory of size 1051296 (orion_setup_shmem:skgmcreate)
Linux-x86_64 Error: 12: Cannot allocate memory
Additional information: 2097152
orion_parse_args: orion_setup_shmem failed
出现报错,从报错上看是由于hugepages设置的太小
使用hugepages_settings.sh脚本计算大小
修改sysctl.conf文件,添加:
vm.nr_hugepages = 10244
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29123031/viewspace-2121973/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29123031/viewspace-2121973/