TimesTen Installation
29
When TimesTen uses large pages, the
HugePages_Free
file in
/proc/
meminfo
changes.
Semaphores
To view existing kernel parameter settings, log in as
root
and use:
# /sbin/sysctl -a
Shared
memory
To increase the shared memory size to 2048 MB, for example, as
root
,
edit the
/etc/sysctl.conf
file by adding the line:
kernel.shmmax=2147483648
If your configuration is greater than 8GB, you should also increase the
value of the
shmall
parameter. The value is in KB and should be equal
to
ceil(SHMMAX/PAGE_SIZE)
. Page size is generally 4K on x86 systems
and 16K on Itanium. For example, for a 64GB data store on Itanium,
you should specify the following parameters values:
kernel.shmmax=68719476736
kernel.shmall=4194304
To increase the shared memory size without rebooting, use:
% /sbin/sysctl -w kernel.shmmax=2147483648
If you have your kernel configured with the
/proc
file system and it is
mounted, then the current maximum shared memory segment size (in
bytes) can be viewed by the following command:
% cat /proc/sys/kernel/shmmax
You can also change this value by the following command
% echo 2147483648 > /proc/sys/kernel/shmmax
This command has the same effect as the
sysctl
command.
IPC Client/
Server
On Red Hat Linux systems, to enable more than 6 ShmIpc Client/Server
connections, add the line:
kernel.sem = "250 32000 128 100"
to the
/etc/sysctl.conf
file and reboot.
This sets the parameter values as follows:
SEMMSL=250
SEMMNS=32000
SEMOPM=100
SEMMNI=100
Client/Server
and Cache
Administrator
If you are installing the Cache Connect to Oracle option and plan to use
the web-based Cache Administrator or if you plan to use TimesTen
client/server configurations, install the following RPM packages: