11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

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.

Note: The frequency of checks made for all checking levels is subject to change.<br />

Example 3-45 Frequencies for xmalloc debug tunable at minimal level<br />

(0)> xm -Q<br />

XMDBG data structure @ 00000000025426F0<br />

Debug State: Enabled<br />

Frequency Base: 00000400<br />

Tunable Frequency<br />

Allocation Record 00000033<br />

Ruin All Data 00000005<br />

Trailer non-fragments 00000005<br />

Trailer in fragments 00000005<br />

Redzone Page 00000005<br />

VMM Check 0000000A<br />

Deferred Free Settings<br />

Fragments 00000005<br />

Non-fragments 00000005<br />

Promotions 00000066<br />

Page Promotion<br />

Frag size Frequency<br />

[00010] 0000000A<br />

[00020] 0000000A<br />

[00040] 0000000A<br />

[00080] 0000000A<br />

[00100] 0000000A<br />

[00200] 0000000A<br />

[00400] 0000000A<br />

[00800] 0000000A<br />

[01000] 0000000A<br />

[02000] 0000000A<br />

[04000] 0000000A<br />

[08000] 0000000A<br />

Ratio of memory to declare a memory leak: 0x400(1024)/0x400(1024)<br />

Outstanding memory allocations to declare a memory leak: -1<br />

Deferred page reclamation count (-1 == when necessary): 16384<br />

Minimum allocation size to force a record for: 1048576<br />

Normal error checking level<br />

When the error checking level is set to normal (level 3), the checks and techniques are<br />

applied at higher frequencies than what minimal checking provides. Normal error checking is<br />

the default level setting in <strong>AIX</strong> V6.1. It can be set by executing the following command:<br />

errctrl -c alloc.xmdbg errchecknormal<br />

In Example 3-46 on page 128, frequencies for xmalloc tunables at normal level are shown. A<br />

“trailer” will be added to a fragment about 51 (0x33) times out of every 1024 times a fragment<br />

is allocated (about 5%). The deferred free technique will be applied to page promotions about<br />

153 (0x99) times out of every 1024 (0x400) times a fragment is promoted, which is about<br />

15% of the time.<br />

Example 3-46 Frequencies for xmalloc tunables at normal level<br />

(0)> xm -Q<br />

XMDBG data structure @ 00000000025426F0<br />

Debug State: Enabled<br />

128 <strong>IBM</strong> <strong>AIX</strong> <strong>Continuous</strong> <strong>Availability</strong> <strong>Features</strong>

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

Saved successfully!

Ooh no, something went wrong!