User Guide

Contents 5
Server Memory Administration Guide
103-000147-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Contents
Server Memory Administration Guide 7
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1 Understanding Server Memory 9
Introduction to NetWare Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Directory Cache Buffers and File Cache Buffers . . . . . . . . . . . . . . . . . . . . . . . . 10
Logical Memory Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Protected Address Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Protected Address Spaces and Logical Memory Addressing . . . . . . . . . . . . . . . . . 12
Modules Not Allowed in Protected Address Spaces . . . . . . . . . . . . . . . . . . . . . . 13
Virtual Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2 Optimizing Server Memory 17
Assessing Server RAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Ensuring That Devices Can Access Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Determining Which Processes Use Too Much Memory . . . . . . . . . . . . . . . . . . . . . . 19
Tuning Server Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Tuning File Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Tuning Directory Cache for the Traditional File System . . . . . . . . . . . . . . . . . . . . 24
Using Virtual Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Using Swap Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Responding to Disk Thrashing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Optimizing Garbage Collection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3 Managing Server Memory 33
Server Memory Management Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Using Protected Address Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Loading Protected Address Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Unloading Protected Address Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Viewing Information about Address Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41