HP-UX TCP/IP Performance White Paper, March 2008

37
l1dcache Provides miss rate information for the L1 data cache.
l2cache Provides miss rate information for the L2 cache.
tlb Provides metrics related to translation lookaside buffer (TLB) misses.
6.2.2.1 Using caliper to Identify Bottlenecks
The following caliper profilers can be used to identify bottlenecks depending on the type of performance
issues:
fprof Find the most cpu-intensive code
cstack Find where the program is waiting for system calls, locks, or I/O
traps Locate code causing traps, faults, and interrupts
dcache Find data access performance problems
Each profiler identifies the "hot" process, load module, function, source code statement and machine
instruction. For additional details, refer to the Caliper documentation which is available at
http://www.hp.com/go/caliper. This web site provides documentation on how to use these profiles to
identify performance problems in great detail.
6.2.3 Monitoring Memory Utilization using Glance:
Glance can be used to view system memory utilization. The following example shows the breakdown of the
memory utilization on a test system:
# glance
B3692A GlancePlus C.04.55.00 17:04:52 hpipxpr 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util SS | 4% 1% 5%
Disk Util F | 1% 1% 8%
Mem Util S SU U | 28% 28% 28%
Networkil U UR | 8% 8% 8%
--------------------------------------------------------------------------------
MEMORY REPORT Users= 3
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 0 16186 0.0 25.7 926.4
Page In 0 7254 0.0 11.5 477.1
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 0 0 0.0 0.0 0.0
Total VM : 380mb Sys Mem : 691mb User Mem: 288mb Phys Mem : 4.0gb
Active VM: 229mb Buf Cache: 3mb Free Mem: 2.9gb FileCache: 151mb
-------------------------------------------------------------------------------
The key glance performance indicators for memory utilization are Page Faults, Page In, Page
out and Free Mem. It is important to note that excessive paging can have a very adverse affect on
overall performance. Performance can be severely hit with paging because processors are much faster than
disks. Having to wait for memory to be paged in and out to disks can be very time consuming. Another