Location of the logs  Setting up large memory support


Chapter 11: Large Memory Support for 32-Bit Linux


Overview

Adaptive Server large memory support on 32-bit Enterprise Linux operating systems increases the amount of available memory in Adaptive Server from 2.7GB to as much as 64GB. Increasing the amount of memory available to Adaptive Server improves performance by significantly reducing the number of times the server must access the disk.

Adaptive Server large memory support makes use of the shared memory file system (shmfs) and the memory mapped file (mmap) features available on Linux 32-bit operating systems. When large memory support is enabled, Adaptive Server creates an shmfs file of a size specified in the Adaptive Server configuration file. This file can be up to 16GB for Red Hat Advanced Server Linux 2.1 (AS 2.1) operating systems and up to 64GB for Red Hat Enterprise Linux 3.0 (RHEL 3) operating systems.

Adaptive Server uses memory-mapped file space for a secondary data cache. The primary data cache can only be as large as the 2.7GB, which is the maximum addressable memory allowed by Linux, minus any necessary overhead.

Adaptive Server always places new pages in the primary data cache. When the primary cache is full, Adaptive Server relocates a page to the secondary cache to make room for the new page. Adaptive Server searches for a given page first in the primary data cache and then in the secondary cache. If the page is found in the secondary cache, Adaptive Server maps a virtual address window to that portion of the shmfs, and copies the page to the primary cache where it can be read.

The secondary cache:





Copyright © 2004. Sybase Inc. All rights reserved. Setting up large memory support

View this book as PDF