Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Calculating System Parameters for UNIX and Linux<br />
Huge pages must be allocated contiguously, which may require a reboot. Therefore, to guarantee<br />
the allocation, as well as to make the change permanent, do the following:<br />
a. Enter a line in /etc/sysctl.conf file:<br />
echo "vm.nr_hugepages=2056" >> /etc/sysctl.conf<br />
b. Reboot the system.<br />
c. Verify meminfo after reboot; for example:<br />
[root woodcrest grub]# tail -4 /proc/meminfo<br />
HugePages_Total: 2056<br />
HugePages_Free: 2056<br />
HugePages_Rsvd: 0<br />
Hugepagesize: 2048 KB<br />
3. Verify the use of Huge Pages by <strong>Caché</strong>.<br />
Allocated 3580MB shared memory: 3000MB global buffers, 226MB routine buffers<br />
The amount of memory available in Huge Pages should be greater than the total amount of shared<br />
memory to be allocated; if it is not greater, Huge Pages are not used.<br />
After <strong>Caché</strong> is started, meminfo should be checked again to verify that the HugePages_Rsvd:<br />
value is close to the total amount of shared memory.<br />
Note:<br />
It is not advisable to specify HugePages_Total much higher than the shared memory<br />
amount because the unused memory will not be available to other components.<br />
B.1.2 Calculate Swap Space<br />
The amount of swap space available on your system should never be less than the amount of real<br />
memory plus 256 KB.<br />
With this minimum in mind, <strong>InterSystems</strong> recommends the following value as the minimum amount<br />
of swap space needed for <strong>Caché</strong>:<br />
((# of processes + 4)† * (1024 KB)‡<br />
+ total global buffer space<br />
+ total routine buffer space<br />
_____________________________________<br />
= Minimum swap space<br />
† Add 4 to the # of processes for the <strong>Caché</strong> Control Process, the Write daemon, the Garbage Collector,<br />
and the Journal daemon. Also add 1 for each slave Write daemon. The # of processes must include all<br />
user and jobbed processes which might run concurrently. If you are running networking, add 1 for the<br />
RECEIVE system process plus the number of DMNNET daemons you have running (2 per port). If<br />
your system is a server, add the number of DCP processes that will be created when all potential clients<br />
access the server.<br />
86 <strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong>