Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Programming with Judy: C LanguageJudy Version 4.0 > Chapter 5 Tuning HP-UX Memory Access

Swap Partition

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This is the disk partition used for a system swap area. If your swap area is too small, the HP-UX kernel reserves some real memory to make sure it never "starves" for memory. This memory reservation takes away memory from user applications. To avoid this, set up a swap area that is the size of your RAM (either as a dedicated disk partition or through SAM). For example, if you have 2GB of RAM, use a 2GB swap area.

In summary

To ensure that Judy has good memory performance and access, use the following to tune your HP-UX system:

  • The chatr command

  • Kernel tunable parameters: maxdsize or maxdsiz_64bit, and dbc_max_pct

  • -N C compiler switch (32-bit only)

  • Disk partition for swapping

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.