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

Re: OpenLDAP performance and Glibc under Debian



Hi, I investigated this issue a little.

Because regexec(3) seems to support multibyte, it becomes slow.
It will be fixed in 2.3.3.

On Thu, 18 Dec 2003 14:45:51 -0500
"Anthony L. Awtrey" <tony@idealcorp.com> wrote:

> Masato Taruishi wrote:
> > I suspect that index of substring match isn't available for some reason. If so, openldap traverses all entries for checking whether each entry is matched or not.
> > 
> > please set loglevel to 1 and check the difference of:
> > 
> >  bdb_search_candidates: id=%ld first=%ld last=%ld
> > 
> > or any log including "_candidates".
> > 
> 
> First, thank you very much for attempting to assist me.
> 
> I ran the search query twice, once with the libc 2.2.5 and once with the 
> libc 2.3.2. I found the same entry in each log:
> 
> 
> soonmail:/var/log# zgrep search_candidates libc-2.3.2.log.gz
> Dec 18 14:38:23 soonmail slapd[10491]: search_candidates: 
> base="DC=DOMAIN,DC=COM" s=2 d=0
> 
> soonmail:/var/log# zgrep search_candidates libc-2.2.5.log.gz
> Dec 18 14:36:01 soonmail slapd[10262]: search_candidates: 
> base="DC=DOMAIN,DC=COM" s=2 d=0
> 
> The logs look fine to my eyes. I've put them on the ftp site if you want 
> to look at them yourself:
> 
> ftp://ftp.idealcorp.com/pub/libc-2.3.2.log.gz
> ftp://ftp.idealcorp.com/pub/libc-2.2.5.log.gz
> 
> Let me know if I can provide you any other information.
> 
> Tony
> 
> -- 
> Anthony L. Awtrey
> Vice President
> __________________________________________________
> I.D.E.A.L. Technology Corporation - Orlando Office
> http://www.idealcorp.com - 407.999.9870 x13
> 
> 


-- 
Masato Taruishi --- VA Linux Systems Japan, Inc <taru@valinux.co.jp>
                    Debian Project <taru@debian.org>
                    Debian-JP Project <taru@debian.or.jp>