24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The default late allocation algorithm for paging space allocation assists in the<br />

efficient use of disk resources and supports applications of customers who wish<br />

to take advantage of a sparse allocation algorithm for resource management.<br />

Some programs allocate large amounts of virtual memory and then use only a<br />

fraction of the memory. Examples of such programs are technical applications<br />

that use sparse vectors or matrices as data structures. The late allocation<br />

algorithm is also more efficient for a real-time, demand-paged kernel, such as the<br />

one in the operating system.<br />

6.13.2 Commands Affected by Late Paging<br />

The following commands are affected by the change in paging policy.<br />

6.13.2.1 vmstat Command Updates<br />

The avm column reported by vmstat command means active virtual pages. In<br />

previous <strong>AIX</strong> versions, the description of avm states "virtual pages are<br />

considered active if they are allocated". This is not true for every release of <strong>AIX</strong><br />

and is changed to "virtual pages are considered active if they have been<br />

accessed".<br />

6.13.2.2 lsps Command Updates<br />

If you set the environment variable PSALLOC=early, the -s flag displays a value<br />

different from the value returned when using the -a flag for all the paging spaces.<br />

In this case, the value of -s flag displays the percentage of paging space<br />

allocated (reserved), whether the paging space has been assigned (used) or not.<br />

The -a flag specifies the percentage of paging space used. Therefore, the<br />

percentage reported by the -s flag is usually larger than that reported by the -a<br />

flag.<br />

The following is an example. First, set the paging space allocation to early:<br />

#export PSALLOC=early<br />

After the system is running for some time, the paging space looks like:<br />

#lsps -a<br />

Page Space Physical Volume Volume Group Size %Used Active Auto Type<br />

hd6 hdisk0 rootvg 256MB 8 yes yes lv<br />

#lsps -s<br />

Total Paging Space Percent Used<br />

256MB 9%<br />

The paging space used reported by using -s (9%) is larger than using -a (8%).<br />

Set the paging space allocation to late:<br />

#export PSALLOC=<br />

The lsps command displays the same percentage value with -a and -s flag (8%).<br />

# lsps -a<br />

Page Space Physical Volume Volume Group Size %Used Active Auto Type<br />

hd6 hdisk0 rootvg 256MB 8 yes yes lv<br />

# lsps -s<br />

Total Paging Space Percent Used<br />

256MB 8%<br />

System Management and Utilities 139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!