分类: Oracle
2009-05-10 22:52:05
:
317141.1
Type:
HOWTO
Modified Date :
20-FEB-2009
Status:
PUBLISHED
In this Document
where oracle is the Oracle owner and oinstall is the group for Oracle owner account. If with your configuration rc.local is disabled or you are starting your Oracle database instance using a Linux service script (under /etc/init.d) then you can add those lines in your service script.umount /dev/shm
mount -t ramfs ramfs /dev/shm
chown oracle:oinstall /dev/shm
6. Check permissions of /dev/shm# mount | grep shm
ramfs on /dev/shm type ramfs (rw)
#
# ls -ld /dev/shm
drwxr-xr-x 3 oracle oinstall 0 Jul 13 12:12 /dev/shm
#
8. Logon to oracle* soft memlock 3145728
* hard memlock 3145728
$ ulimit -l
3145728
$
a. ConvertDB_CACHE_SIZE, DB_xK_CACHE_SIZE parameters to DB_BLOCK_BUFFERS12. Startup instance
b. Add parameter USE_INDIRECT_DATA_BUFFERS=TRUE
c. Configure SGA size according to the needs
d. Remove SGA_TARGET if set
e. Remove MEMORY_TARGET / MEMORY_MAX_TARGET parameters if set (see )
14. Configure hugepages$ ls -l /dev/shm
...
$ ipcs -m
...
$
a. Get Hugepagesize from15. Check available hugepages:
$ grep Hugepagesize /proc/meminfo
Hugepagesize: ..... kB
$
b. Compute nr_hugepages using
c. Set kernel parameter:
# sysctl -w vm.nr_hugepages=
...
#
d. Set parameter for every boot.Edit/etc/sysctl.conf for vm.nr_hugepages=
$ grep Huge /proc/meminfo
HugePages_Total: ...
HugePages_Free: ...
Hugepagesize: ..... kB
$
$ grep Huge /proc/meminfo
HugePages_Total: ...
HugePages_Free: ... (1/2)
Hugepagesize: ..... kB
$