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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.7 Storage protection keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

3.7.1 Storage protection keys overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77<br />

3.7.2 System management support for storage keys. . . . . . . . . . . . . . . . . . . . . . . . . . . 79<br />

3.7.3 Kernel mode protection keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80<br />

3.7.4 Degrees of storage key protection and porting considerations. . . . . . . . . . . . . . . 84<br />

3.7.5 Protection gates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br />

3.7.6 Example using kernel keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90<br />

3.7.7 User mode protection keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

3.7.8 Kernel debugger commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

3.7.9 Storage keys performance impact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

3.8 ProbeVue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111<br />

3.8.1 ProbeVue terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113<br />

3.8.2 Vue programming language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113<br />

3.8.3 The probevue command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

3.8.4 The probevctrl command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

3.8.5 Vue overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

3.8.6 ProbeVue dynamic tracing example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

3.8.7 Other considerations for ProbeVue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125<br />

3.9 Xmalloc debug enhancements in <strong>AIX</strong> V6.1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125<br />

3.9.1 New features in xmalloc debug. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126<br />

3.9.2 Enabling/disabling xmalloc RTEC and displaying current value . . . . . . . . . . . . . 126<br />

3.9.3 Run-time error checking (RTEC) levels for XMDBG (alloc.xmdbg) . . . . . . . . . . 127<br />

3.9.4 XMDBG tunables affected by error check level . . . . . . . . . . . . . . . . . . . . . . . . . 131<br />

3.9.5 XMDBG tunables not affected by error check level . . . . . . . . . . . . . . . . . . . . . . 134<br />

3.9.6 KDB commands for XMDBG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136<br />

3.9.7 Heap registration for individual debug control. . . . . . . . . . . . . . . . . . . . . . . . . . . 137<br />

Appendix A. <strong>AIX</strong> features availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139<br />

Abbreviations and acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143<br />

Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

<strong>IBM</strong> <strong>Redbooks</strong> publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145<br />

Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

How to get <strong>IBM</strong> <strong>Redbooks</strong> publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

Help from <strong>IBM</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146<br />

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147<br />

Contents v

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

Saved successfully!

Ooh no, something went wrong!