LDAP: Using authrate to measure authentication performance


Use the authrate command line tool to measure authentication performance of a directory server.

The example below illustrates how to execute searches and binds against an LDAP directory server. The example:

  • searches and binds against random entries in the range uid=user.0 - user.1000000
  • using password "password"
  • 256 threads simultaneously
  • measurements are reported at 1 second intervals
  • a 5 minute “warmup” period is used
  • the duration of the test is 1 hour (3600 seconds) + the 5 minute warmup
  • SIMPLE authentication
authrate --hostname ldap.example.com -p 389  \
         --baseDN dc=example,dc=com          \
         --filter 'uid=user.[0-1000000]'     \
         --credentials password              \
         --scope sub                         \
         --attribute uid                     \
         --authType SIMPLE                   \
         --numThreads 256                    \
         --intervalDuration 1                \
         --warmupIntervals 300               \
         --csv                               \
         --numIntervals 3600
Recent Auths/Sec,Recent Avg Dur ms,Recent Errors/Sec,Overall Auths/Sec,Overall Avg Dur ms
36526.782,5.658,0.000,warming up,warming up
18490.217,16.509,0.000,warming up,warming up
46487.706,5.506,0.000,warming up,warming up
46122.294,5.547,0.000,warming up,warming up
46891.769,5.403,0.000,warming up,warming up
46885.624,5.511,0.000,warming up,warming up
...
Warm-up completed.  Beginning overall statistics collection.
46727.472,5.478,0.000,46727.472,5.478
46395.864,5.517,0.000,46561.585,5.498
46635.677,5.486,0.000,46586.274,5.494
45997.237,5.564,0.000,46438.944,5.511
45708.767,5.599,0.000,46292.996,5.529
...

About Terry Gardner

Terry Gardner was a leading directory services architect with experience with many large scale directory services installations and messaging server installations, and was a Subject Matter Expert in the field of Directory Services and Solaris (operating system) performance. Mr. Gardner also participated in the open-source software community. Mr. Gardner passed away in December, 2013.
This entry was posted in LDAP, UnboundID and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s