4.2. Kernel Instrumentation and Measurement Interface

In HP-UX, event traces are generated by the kernel using a mechanism called Kernel Instrumentation (KI). They are written into a circular buffer in the kernel for each occurrence of events such as:

  • System call (operating system intrinsic)

  • Context switch (from one user process to another)

  • Page outs

  • I/O events

There are more than three hundred different system calls in HP-UX that normally occur at a rate of thousands of calls per second. Context switches occur quite often, sometimes hundreds or thousands of times per second. Therefore, HP-UX event traces can result in a large amount of data generated. The overhead associated with kernel-generated event traces, although larger than that of counters, ...

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.