AIX:  Virtual Memory Manager

Standard disclaimer:  use the information that follows at your own risk.  If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com

    After checking into the information on the logical volume striping, I'm now examining the info on virtual memory management. There's quite a bit more there than you would thing...

    To wit: Please see the InfoExplorer: "Performance overview of VMM" for specifics. I've cut out the more interesting sections here.

    Virtual memory is both real memory and "memory" stored on disk. This memory is divided into 4096 byte "pages". The role of the VMM is to manage the allocation of real-memory page frames and to resolve references by the program to virtual-memory pages that are not currently in real memory or do not yet exist (for example, when a process makes the first reference to a page of its data segment). (info explorer: Performance overview of VMM)

    From the performance standpoint, the VMM has two, somewhat opposed, objectives:

  1. Minimize the overall processor-time and disk-bandwidth cost of the use of virtual memory.
  2. Minimize the response-time cost of page faults.
    The following are terms used in the discussion/tuning of the VMM:
      The InfoExplorer section "Tuning VMM Page Replacement" goes over how to modify these variable using vmtune (virtual memory perhaps? Gee, I'm so clever...). It never does give a really valid way of determining minfree other than using vmstat. The fr and sr colums list the number of pages freed and the number of pages scanned. It says "use these columns to identify a valid minfree setting." Cool. How? I'm figuring on using the average of the sr column over the space of a day. Maxfree is the addition of minfree and maxpgahead (64K for best sequential file access). This should, theoretically, help both systems

    The vmtune command can be found in the following places:

AIX 3.2.5: /usr/lpp/bos/samples/vmtune

AIX 4.1.4: /usr/samples/kernel/vmtune
Document:
URL:
Last updated: