[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


A    Tuning a Low Memory System Workstation

The appropriate tuning for any system depends on how the system is used and how it is configured. The following sections describe tuning considerations that can be very important for low-memory (24-MB) Alpha systems. Note that some of these tuning considerations can also apply to Digital UNIX workstations in general, regardless of size.


[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


A.1    Attribute Settings for Low Memory System Workstations

The following attribute settings are applied automatically when installing Digital UNIX on a 24-MB Alpha system.

generic:
 lite-system=1

 
proc: ncallout_alloc_size=4096
 
vfs: bufcache=2 max-vnodes=1000 min-free-vnodes=150 vnode-age=2 namei-cache-valid-time=30 name-cache-size=150
 
io: bdevsw-size = 70 cdevsw-size = 125 max-iosize-read = 65536 max-iosize-write = 65536 basic-dma-window-size = 0 cam_ccb_pool_size = 100 cam_ccb_low_water = 50 cam_ccb_increment = 25
 
network: arptab_nb=19
 
vm: vm-aggressive-swap = 1

The default attribute settings for 24-MB Alpha systems increase the amount of physical memory available to user applications by reducing the amount of memory used for system caches. These settings may also work well on 32-MB or larger Alpha systems that are being used as personal workstations (that is, not being used as timesharing systems or file servers). You can apply the settings to your workstation by issuing the following command:

sysconfigdb -f /etc/sysconfigtab.lite -m

The settings can be removed by issuing the following command:

sysconfigdb -f /etc/sysconfigtab.lite -r

After issuing either of these sysconfigdb commands, the system must be rebooted before the attribute changes will take effect. (See Appendix B for details on the sysconfigtab attributes.)


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


A.2    Swap Space and Memory Tuning on Low-Memory Systems

Swapping can cause problems with low-memory systems. When operating in deferred mode (also referred to as overcommittment or lazy mode), low-memory systems will use more swap space. Low-memory systems have to overcommit much more physical memory than high-memory systems. As a result, low-memory systems will do more page outs and will use more swap space.

When swap space is exhausted, you will receive warning messages, and processes will be killed. The only solution to this problem is to increase either memory or swap space. See Section 3.4.2.1 for information on swapping modes. (Low-memory systems operating in immediate mode do not have special problems with swapping.)

Low-memory systems can also have special problems with the UBC (unified buffer cache). If vmstat output shows excessive page ins but few or no page outs, the value of ubc-borrowpercent is probably set too low. It is particularly important to watch for this on low-memory systems because they tend to reclaim UBC pages much more aggressively than systems with more memory, and this condition can have an adverse effect on system performance. See Section 3.4.1.1 for information about attribute settings affecting the UBC.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]


A.3    X Window System Considerations

On low-memory systems, you may want to consider the following adjustments that affect memory use by the X Window system: