O'Reilly logo

Web Performance Tuning by Patrick Killelea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using perfdump Statistics

This section describes the various pieces of information available via perfdump, defining what each field represents, and shows how to tune each field, if possible.

First, here is a sample of the perfdump output from our site:

ListenSocket #0:
------------------
Address           https://INADDR_ANY:80
ActiveThreads     487
WaitingThreads    47
BusyThreads       440
IdleThreads       14

Thread limits     48/512


KeepAliveInfo:
------------------
KeepAliveCount        196/200
KeepAliveHits         2030795
KeepAliveFlushes      840657


CacheInfo:
------------------
enabled             yes
CacheEntries        4096/4096
CacheSize(bytes)    10394342/10485760

Hit Ratio           6806487/8457088 ( 80.48)

pollInterval        5
maxFileSize         537600


Server DNS cache disabled

If you are running a 3.0 server, you might notice that there are a few fields which are not described here. These fields are obsolete and will go away in the next release. They do not provide any useful information for tuning the web server. The names of the obsolete fields are listed at the end of each section.

ListenSocket Information

The first subtopic in the perfdump screen is the ListenSocket information. For each hardware virtual server you have enabled in your web server, you will find one ListenSocket structure. For most sites, this means only one listen socket will be listed.

Address

This field contains the base address which this listen socket is listening to. For most sites which are not using hardware virtual servers, the URL will be http://INADDR_ANY:80. “INADDR_ANY” is a constant ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required