25.01.2015 Views

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Calculating System Parameters for UNIX and Linux<br />

The following Web site details other ZIL specific commands: http://blogs.sun.com/perrin/entry/slog_blog_or_blogging_on<br />

Miscellaneous Solaris Settings<br />

If a driver encounters a request larger than the maximum size of physical I/O requests (maxphys), it<br />

breaks the request into maxphys-size chunks. This value does not need to be specified on Solaris<br />

SPARC implementations, but it should be explicitly configured on Solaris x64 systems.<br />

To configure the maximum size of physical I/O requests, add the following line to the /etc/system file:<br />

set maxphys=1048576<br />

B.2.3.6 SUSE Linux Platform Notes<br />

This topic includes the information on the following adjustments:<br />

• Shared Memory Limits<br />

• Locked-in Memory<br />

Shared Memory Limits<br />

The default shared memory limits (shhmax and shmall) on SUSE Linux 32-bit platforms are too small<br />

for <strong>Caché</strong>, and can be changed in the proc file system without a restart.<br />

Note: The recommendations to change the shared memory limits do not apply to SUSE Linux 64-<br />

bit systems.<br />

If the machine is being used only for <strong>Caché</strong>, <strong>InterSystems</strong> recommends setting the shared memory to<br />

approximately half the total memory.<br />

For example, to allow 512 MB, type the following commands:<br />

#sets shmall and shmmax shared memory<br />

echo 536870912 >/proc/sys/kernel/shmall<br />

echo 536870912 >/proc/sys/kernel/shmmax<br />

#Sets shmall to 512 MB<br />

#Sets shmmax to 512 MB<br />

You can put these commands into a script that is run at startup. The SUSE Linux product documentation<br />

recommends you put the commands in the /etc/init.d/boot.local script file.<br />

You can change the settings for the system memory user limits by modifying a file called<br />

/etc/profile.local. Add lines similar to the following:<br />

#sets user limits (ulimit) for system memory resources<br />

ulimit -v 512000 #set virtual (swap) memory to 512 MB<br />

ulimit -m 512000 #set physical memory to 512 MB<br />

In this same file, you can permanently change the values for the PATH and CLASSPATH parameters<br />

by adding lines similar to the following:<br />

102 <strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!