<div dir="ltr">Hey, openstackers!<div><br></div><div>Recently I was trying to profile Keystone (OpenStack Liberty vs Mitaka) using this <a href="https://review.openstack.org/#/q/topic:osprofiler-support-in-keystone+status:open">set of changes</a> (that's currently on review - some final steps are required there to finish the work) and OSprofiler. </div><div><br></div><div>Some preliminary results (all in one OpenStack node) can be found <a href="http://docs.openstack.org/developer/performance-docs/test_results/keystone/all-in-one/index.html">here</a> (raw OSprofiler reports are not yet merged to some place and can be found <a href="https://review.openstack.org/#/c/299514/">here</a>). The full <a href="http://docs.openstack.org/developer/performance-docs/test_plans/keystone/plan.html#keystone-performance">plan</a> of what's going to be tested  can be found in the docs as well. In short I wanted to take a look how does Keystone changed its DB/Cache usage from Liberty to Mitaka, keeping in mind that there were several changes introduced:</div><div><ul><li>federation support was added (and made DB scheme a bit more complex)<br></li><li>Keystone moved to oslo.cache usage<br></li><li>local context cache was introduced during Mitaka</li></ul></div><div>First of all - <b>good job on making Keystone less DB-extensive in case of cache turned on</b>! If Keystone caching is turned on, number of DB queries done to Keystone DB in Mitaka is averagely twice less than in Liberty, comparing the same requests and topologies. Thanks Keystone community to make it happen :)</div><div><br></div><div>Although, I faced <b>two strange issues</b> during my experiments, and I'm kindly asking you, folks, to help me here:</div><div><ul><li>I've created <a href="https://bugs.launchpad.net/keystone/+bug/1567403">#1567403</a> bug to share information - when I turned caching on, local context cache should cache identical per API requests function calls not to ping Memcache too often. Although I faced such calls, Keystone still used Memcache to gather this information. May someone take a look on this and help me figure out what am I observing? At the first sight local context cache should work ok, but for some reason I do not see it's being used.<br></li><li>One more filed bug - <a href="https://bugs.launchpad.net/keystone/+bug/1567413">#1567413</a> - is about a bit opposite situation :) When I turned cache off explicitly in the keystone.conf file, I still observed some of the values being fetched from Memcache... Your help is very appreciated!</li></ul><div>Thanks in advance and sorry for a long email :)</div></div><div><br></div><div>Cheers,</div><div>Dina</div></div>