25.01.2015 Views

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Calculating System Parameters for OpenVMS<br />

• The memory in a named section is physically contiguous and therefore can be mapped by a single<br />

granularity hint region; this may result in better performance.<br />

The drawback to creating a named reserved section is that if you want to increase the size, you may<br />

have to restart your OpenVMS system to reconfigure the amount of space reserved for the memoryresident<br />

global section. You can reserve this space when the system starts (via SYSMAN and<br />

AUTOGEN) or you can allocate it dynamically. If you do not reserve it, when <strong>Caché</strong> requests it, there<br />

may be insufficient space available and the request fails. If <strong>Caché</strong> attempts to use a memory-resident<br />

global section and it cannot, it allocates the global buffer pool out of a non–memory-resident global<br />

section.<br />

Use the Resident Memory value if you want to Reserve a Named Memory-Resident Section for <strong>Caché</strong>.<br />

A.6.3.1 Reserve a Named Memory-Resident Section<br />

1. Use the value returned by the OpenVMS Parameter Calculator for Resident Memory as the reserved<br />

memory size.<br />

2. Use SYSMAN to reserve a section of memory and supply a name for the named section. You can<br />

use any name that consists of alphanumeric characters (and the underscore) and is not longer than<br />

43 characters. The syntax for SYSMAN is:<br />

MCR SYSMAN ! run sysman<br />

SYSMAN> RESERVED_MEMORY ADD "Resident_Memory_Name" -<br />

/ALLOCATE/PAGE_TABLES/ZERO/SIZE=<br />

SYSMAN> EXIT<br />

3. Run AUTOGEN to process the Reserved Memory Registry data file which contains the information<br />

to establish your memory-resident global section. After the system is restarted, the SYSMAN<br />

command displays the shared memory section you reserved:<br />

MCR SYSMAN ! run sysman<br />

SYSMAN> RESERVED_MEMORY SHOW<br />

4. Update the configuration file by using the System Management Portal that connects to your<br />

OpenVMS <strong>Caché</strong> instance from a Web server:<br />

a. Navigate to the [Home] > [Configuration] > [Advanced Memory Settings] page.<br />

b. In the useresidentmem (ResidentMemorySectionName) setting row, click Edit.<br />

c. Enter the name you reserved in the SYSMAN utility (Resident_Memory_Name in the<br />

example in step 2) in the Value box and click Save.<br />

Alternately, you can modify the <strong>Caché</strong> configuration file (cache.cpf) to use the reserved section;<br />

set the reserved memory parameter in the [config] section so that it reads:<br />

useresidentmem=<br />

80 <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!