Comment 23 for bug 1582585

Revision history for this message
raja (jiangpch) wrote :

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