By tls on Mar 05, 2008
I recently posted a tool on Sun's wikis.sun.com website to help LDAP engineers with performance and benchmarks.
In a nutshell, this tool will parse an LDAP access log pulling out eTime information and presenting the results of this data as a histogram of eTimes and counts for each LDAP operation.
The introduction on the wiki states:
Sun Java System Directory Server Enterprise Edition (DSEE) can provide the administrator some very useful information in the access logs around timing. In particular, the etimes can provide some insight into how the directory is performing the internal operations. The dseeEtimes.pl script will provide the user a histogram report of all the etimes and counts providing a visual representation of operation performance.
This is in addition to what is available from other performance tools such as
SLAMD. In those tools, most of the results are averages, where this script will provide the actual etimes of the directory operations. It is important to note that etimes in the directory server represent the elapsed etime during the operation internal to the directory server. It doesn't include network or potential queuing time that other tools would help measure.
Over time, I hope to add more information on this wiki to make it easier to use. You'll find a .zip archive of the script, some sample access logs and a sample OpenOffice Spreadsheet to help slice and dice the data. Below is a screenshot of this spreadsheet.
Please let me know if you find the tool useful and if you have any useful enhancements.