TimesTen Installation
33
Replication
For replication, TCP send and receive buffers should be increased to
a
minimum
of 512KB. You may need to embed the following commands
into a script that can be run at system boot time:
# /usr/sbin/ndd -set /dev/tcp tcp xmit_hiwat=524288
# /usr/sbin/ndd -set /dev/tcp tcp_recv_hiwat=524288
Tru64 UNIX
Semaphores
On Tru64 UNIX systems, to view existing kernel parameter settings, log
in as user
root
, and use the command:
# /sbin/sysconfig -q ipc
For each data store, TimesTen consumes 100 SEMMSL if the
Connections attribute is set to the default value (64), and one additional
SEMMSL for each estimated connection above the default.We
recommend that you increase the number of semaphores:
1.
Log in as user
root
.
2.
To view the current limits, use:
% sysconfig -q ipc
This command displays all the parameters of the IPC subsystem.
3.
If the broadcast_wakeup semaphore parameter exists on your system, it
must be set to one:
sem_broadcast_wakeup = 1
4.
Run the Tru64 UNIX
dxkerneltuner
:
% dxkerneltuner
5.
Double-click
IPC
.
6.
Scroll down the list of parameters and change the values of the
following parameters to at least the values indicated here:
sem_mni = 20
sem_msl = 512
sem_opm = 100
sem_ume = 100
Note:
The values in this step
are the minimum number of required
semaphores. You can increase these numbers as needed.
Shared
memory
To increase the maximum address space a process may use, change the
kernel values
per_proc_address_space
and
max_per_proc_address_space