 |
 |
 |
|
Scaling the memory size impacts the shared memory
usage which is adapted by the onconfig parameter BUFFERS.
When using the ext2 file systems on FCP disks, we
got the best results with the following rules:
|
BUFFERS
|
0.6 * memory size
|
|
exceptions:
|
|
1 CPU
|
0.5 * memory size
|
|
for 16GB and
Database cache hit ratio >99%
|
0.75 * memory size
|
|
further parameters:
|
|
SHMVIRTSIZE
|
0.2 * memory size
|
|
SHMADD
|
0.2 * memory size
|
Note:
-
The SHMVIRTSIZE was sized appropriately so that in any case no additional
segment was needed. Therefore it might be oversized.
-
We locked all shared memory segments in storage. To achieve this, the specification
of the RESIDENT parameter with a value of 1 is not sufficient. It is necessary
to specify at least a value of 2 to fix the BUFFER pool segment and the
virtual segment.
-
For buffer pools bigger than 4GB, Informix will allocate several segments.
The best way to lock all segments is to set the RESIDENT value to the number
of shared memory segments displayed from the LINUX command 'ipcs -m', as
far as they belong to the Informix database.
-
For buffer pools bigger than 8GB you need the Informix version 9.40.FC3
or higher.
|
|
 |
|
 |