[openstack-dev] keystone performance profiling

heckj heckj at mac.com
Wed Jun 5 16:27:42 UTC 2013


Hey Jay,

At the summit, timjr (from Yahoo) demonstrated zipkin tracing of the whole kit, although the patches needed to fully enable that down into the lower layers haven't been pushed into the mainline (to my knowledge). WIth the SQL backend of keystone, I'm already aware of some performance areas, but due to internal post-analysis of HTTP requests flowing to our keystone endpoints during testing (basically, scraping and post-process of timing data from an HAproxy instance). (somewhat akin to your #4 below). 

A coworker of mine did drive on some cprofile equivalent profiling of keystone as well - the only quirk to note there is if you'll likely want to disable any eventlet based workers as it makes the profiling data ... messy (the stack's appear to lie). 

- joe

On Jun 5, 2013, at 9:20 AM, Jay Buffington <me at jaybuff.com> wrote:
> Hi Everybody,
> 
> At the summit there was a session on Keystone Performance.  The notes are here:
> https://etherpad.openstack.org/havana-keystone-performance
> 
> My group is experiencing performance problems with our openstack installation that we would like to quantify- you can't fix it if you can't measure it.  We have some suspicions that the issue is related to keystone (and our use of LDAP).  
> 
> Before we invest too much time into this I wanted to know if anyone else has done any profiling of keystone or any other openstack components.  Some brainstorming ideas we had when considering how to collect metrics were:
> 
> 1) zipkin - https://etherpad.openstack.org/zipkin-tracing
> 2) python's cprofile 
> 3) newrelic
> 4) logs have request duration time in them- maybe use splunk somehow?
> 
> I think we can profile performance during unit tests and tempest tests.
> 
> Once we have some baseline metrics we can turn on/off features like ldap, pki, etc and eventually do performance testing as a CI gate.
> 
> Thanks,
> Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130605/c2f66e18/attachment.html>


More information about the OpenStack-dev mailing list