IBM AIX Continuous Availability Features - IBM Redbooks
IBM AIX Continuous Availability Features - IBM Redbooks
IBM AIX Continuous Availability Features - IBM Redbooks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Machine Number of<br />
CPUs<br />
POWER5<br />
(1656 MHz CPU,<br />
shared processor<br />
LPAR, 60% ent<br />
cap,<br />
simultaneous<br />
multi-threading<br />
POWER5 (1656<br />
MHz CPU)<br />
To determine the total amount of memory (in bytes) being used by LMT, enter the following<br />
shell command:<br />
echo mtrc | kdb | grep mt_total_memory<br />
The 64-bit kernel resizes the LMT trace buffers in response to dynamic reconfiguration events<br />
(for POWER4 and above systems). The 32-bit kernel does not resize; it will continue to use<br />
the buffer sizes calculated during system initialization.<br />
Changing memory buffer sizes<br />
For the 64-bit kernel, you can also use the /usr/sbin/raso command to increase or decrease<br />
the memory trace buffer sizes. This is done by changing the mtrc_commonbufsize and<br />
mtrc_rarebufsize tunable variables. These two variables are dynamic parameters, which<br />
means they can be changed without requiring a reboot.<br />
For example, to change the per cpu rare buffer size to sixteen 4 K pages, for this boot as well<br />
as future boots, you would enter:<br />
raso -p -o mtrc_rarebufsize=16<br />
System memory Total LMT<br />
memory: 64-bit<br />
kernel<br />
8 logical 16 GB 120 MB 16 MB<br />
16 64 GB 512 MB 16 MB<br />
Note: For either kernel, in the rare case that there is insufficient pinned memory to allocate<br />
an LMT buffer when a CPU is being added, the CPU allocation will fail. This can be<br />
identified by a CPU_ALLOC_ABORTED entry in the <strong>AIX</strong> error log, with detailed data<br />
showing an Abort Cause of 0000 0008 (LMT) and Abort Data of 0000 0000 0000 000C<br />
(ENOMEM).<br />
For more information about the memory trace buffer size tunables, refer to raso command<br />
documentation.<br />
Note: Internally, LMT tracing is temporarily suspended during any 64-bit kernel buffer<br />
resize operation.<br />
For the 32-bit kernel, the options are limited to accepting the default (automatically<br />
calculated) buffer sizes, or disabling LMT (to completely avoid buffer allocation).<br />
Total LMT<br />
memory: 32-bit<br />
kernel<br />
Using lightweight memory trace<br />
This section describes various commands which are available to make use of the information<br />
captured by lightweight memory trace. However, keep in mind that LMT is designed to be<br />
Chapter 3. <strong>AIX</strong> advanced continuous availability tools and features 59