[Date Prev][Date Next] [Chronological] [Thread] [Top]

Comparing OpenLDAP on Linux 2.6/Sol 10 [ was Re: Berkeley DB versions ]



On Thu, 12 Jan 2006 16:09:55 -0800
Quanah Gibson-Mount <quanah@stanford.edu> wrote:

> b) I've not tested Solaris 10 on the x86 platform at all, so I can't really 
> speak to that.  However, if you were using the Linux 2.6 kernel, the 2.6 
> kernel developers broke sched_yield deliberately, and OpenLDAP 2.3.17 is 
> the first real release to address that.  I suspect if you were using 2.6 
> previously, you may find it to be much faster now.

Not particularly, according to a very simple test:

Sol10x86 (OLD 2.3.12):

    <root@sol10:/var/tmp> # time ldapsearch -H ldapi:/// -Y EXTERNAL > /dev/null
    ldapsearch -H ldapi:/// -Y EXTERNAL > /dev/null  0.73s user 0.07s system 98% 
    cpu 0.812 total

    <root@sol10:/var/tmp> # time ldapsearch -H ldap://localhost/ -x > /dev/null         
    ldapsearch -H ldap://localhost/ -x > /dev/null  0.66s user 0.10s system 29% 
    cpu 2.535 total

Suse 9.3 (OLD 2.3.17):

    <root@lin:~> # time ldapsearch -H ldapi:/// -Y EXTERNAL > /dev/null   
    ldapsearch -H ldapi:/// -Y EXTERNAL > /dev/null  0.01s user 0.00s system 0% 
    cpu 9.266 total

    <root@lin:~> # time ldapsearch -H ldap://localhost/ -x > /dev/null    
    ldapsearch -H ldap://localhost/ -x > /dev/null  0.01s user 0.00s system 0% 
    cpu 17.118 total

Same DB version for both, but the Linux box is newer and faster.

Jim