for the newton-proposed:
As our ldap server has a limit exceed setting, so I configured
``` [ldap] page_size = 20000 ```
before using the keystone in proposed repo, the keystone version is: ``` root@ubuntu:~# apt-cache policy keystone keystone: Installed: 2:10.0.3-0ubuntu1~cloud0 Candidate: 2:10.0.3-0ubuntu1~cloud1 Version table: 2:10.0.3-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-proposed/newton/main amd64 Packages 500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-proposed/newton/main i386 Packages *** 2:10.0.3-0ubuntu1~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main amd64 Packages 500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/newton/main i386 Packages 100 /var/lib/dpkg/status 2:9.3.0-0ubuntu3.1 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages 2:9.0.0-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages
```
list users in ldap will take about 7-11 seconds:
``` root@ubuntu:~# time openstack user list --domain default ... real 0m8.522s user 0m1.476s sys 0m0.108s
after using the package in proposed repo, it takes about 7-11 seconds:
``` root@ubuntu:~# time openstack user list --domain default ... real 0m8.637s user 0m1.484s sys 0m0.108s
I execute above commands for several times, it seems that the patch doesn't have a strong performance improvement
for the newton-proposed:
As our ldap server has a limit exceed setting, so I configured
```
[ldap]
page_size = 20000
```
before using the keystone in proposed repo, the keystone version is: 3-0ubuntu1~ cloud0 3-0ubuntu1~ cloud1 10.0.3- 0ubuntu1~ cloud1 500 ubuntu- cloud.archive. canonical. com/ubuntu xenial- proposed/ newton/ main amd64 Packages ubuntu- cloud.archive. canonical. com/ubuntu xenial- proposed/ newton/ main i386 Packages 3-0ubuntu1~ cloud0 500 ubuntu- cloud.archive. canonical. com/ubuntu xenial- updates/ newton/ main amd64 Packages ubuntu- cloud.archive. canonical. com/ubuntu xenial- updates/ newton/ main i386 Packages dpkg/status 9.3.0-0ubuntu3. 1 500 archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages archive. ubuntu. com/ubuntu xenial-updates/main i386 Packages archive. ubuntu. com/ubuntu xenial- security/ main amd64 Packages archive. ubuntu. com/ubuntu xenial- security/ main i386 Packages 9.0.0-0ubuntu1 500 archive. ubuntu. com/ubuntu xenial/main amd64 Packages archive. ubuntu. com/ubuntu xenial/main i386 Packages
```
root@ubuntu:~# apt-cache policy keystone
keystone:
Installed: 2:10.0.
Candidate: 2:10.0.
Version table:
2:
500 http://
500 http://
*** 2:10.0.
500 http://
500 http://
100 /var/lib/
2:
500 http://
500 http://
500 http://
500 http://
2:
500 http://
500 http://
```
list users in ldap will take about 7-11 seconds:
```
root@ubuntu:~# time openstack user list --domain default
...
real 0m8.522s
user 0m1.476s
sys 0m0.108s
```
after using the package in proposed repo, it takes about 7-11 seconds:
```
root@ubuntu:~# time openstack user list --domain default
...
real 0m8.637s
user 0m1.484s
sys 0m0.108s
```
I execute above commands for several times, it seems that the patch doesn't have a strong performance improvement