13. Working with Multiple Page Sizes in Solaris

This chapter introduces a strategy for measuring the potential performance gain that could be yielded from an increase in page size. We begin by discussing a powerful Solaris tool, trapstat, for easily quantifying the potential gains of using a larger page size. We discuss “trapstat(1M).” on page 640. We then follow by discussing legacy methods to estimate the gain in Solaris 8 by use of the cpustat command.

13.1 Determining When to Use Large Pages

To determine whether we can improve application performance by using a larger page size, we need to determine the amount of time the microprocessor or operation spends servicing translation lookaside buffer (TLB) misses on behalf of a target application. ...

Get Solaris™ Internals: Solaris 10 and OpenSolaris Kernel Architecture, Second Edition 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.