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

Re: (ITS#7566) ldapadd slower on Linux than BSD



--047d7b414c2ebdcec404d9a84c9d
Content-Type: text/plain; charset=ISO-8859-1

Hi Quanah,

I have started doing tests with Gentoo Linux running openldap 2.4.35, glibc
2.16 and linux kernel 3.4, 3.8 and 3.9-rc5. I have tried ext2, ext4,
reiserfs and jfs. Ldapadd is still very slow compared to BSD regardless of
the openldap backend.

Also a correction to the initial report: using a memory based file system,
ldapadd the whole database took 22 min.

Leo


On Fri, Apr 5, 2013 at 5:48 PM, Quanah Gibson-Mount <quanah@zimbra.com>wrote:

> --On Friday, April 05, 2013 11:46 PM +0000 quanah@zimbra.com wrote:
>
>  --On Friday, April 05, 2013 11:36 PM +0000 lm5@ualberta.ca wrote:
>>
>>  Full_Name: Leo Mocofan
>>> Version: 2.4.31
>>> OS: Debian Testing
>>> URL: ftp://ftp.openldap.org/**incoming/<ftp://ftp.openldap.org/incoming/>
>>> Submission from: (NULL) (129.128.11.107)
>>>
>>
>> If you are going to test back-mdb, then you need to use a current
>> OpenLDAP  release (2.4.35).
>>
>> In any case, I don't see a bug report here?  It sounds more like you're
>> asking for tuning advice?  I would ask what filesystem you are using
>> (ext2?  ext4?) etc.  For ext4, I had to modify dirty_bytes to keep the
>> Debian/Ubuntu flush process from killing load performance.
>>
>
> Oh, one other note -- I advise avoiding the debian/ubuntu build versions
> of BDB, if that is what you are using.  They do not build BDB with the
> correct configure options, seriously impacting performance.
>
>
> --Quanah
>
> --
>
> Quanah Gibson-Mount
> Sr. Member of Technical Staff
> Zimbra, Inc
> A Division of VMware, Inc.
> --------------------
> Zimbra ::  the leader in open source messaging and collaboration
>
>

--047d7b414c2ebdcec404d9a84c9d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hi Quanah,<br><br></div>I have started doing tes=
ts with Gentoo Linux running openldap 2.4.35, glibc 2.16 and linux kernel 3=
.4, 3.8 and 3.9-rc5. I have tried ext2, ext4, reiserfs and jfs. Ldapadd is =
still very slow compared to BSD regardless of the openldap backend. <br>
<br></div><div>Also a correction to the initial report: using a memory base=
d file system, ldapadd the whole database took 22 min.<br></div><div><br></=
div>Leo<br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quo=
te">
On Fri, Apr 5, 2013 at 5:48 PM, Quanah Gibson-Mount <span dir=3D"ltr">&lt;<=
a href=3D"mailto:quanah@zimbra.com"; target=3D"_blank">quanah@zimbra.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">--On Friday, April 05, 2013 11:46 PM +0000 <a href=3D"mai=
lto:quanah@zimbra.com" target=3D"_blank">quanah@zimbra.com</a> wrote:<br>
<br>
</div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--On Friday, April 05, 2013 11:36 PM +0000 <a href=3D"mailto:lm5@ualberta.c=
a" target=3D"_blank">lm5@ualberta.ca</a> wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Full_Name: Leo Mocofan<br>
Version: 2.4.31<br>
OS: Debian Testing<br>
URL: <a href=3D"ftp://ftp.openldap.org/incoming/"; target=3D"_blank">ftp://f=
tp.openldap.org/<u></u>incoming/</a><br>
Submission from: (NULL) (129.128.11.107)<br>
</blockquote>
<br>
If you are going to test back-mdb, then you need to use a current<br>
OpenLDAP =A0release (2.4.35).<br>
<br>
In any case, I don&#39;t see a bug report here? =A0It sounds more like you&=
#39;re<br>
asking for tuning advice? =A0I would ask what filesystem you are using<br>
(ext2? =A0ext4?) etc. =A0For ext4, I had to modify dirty_bytes to keep the<=
br>
Debian/Ubuntu flush process from killing load performance.<br>
</blockquote>
<br></div>
Oh, one other note -- I advise avoiding the debian/ubuntu build versions of=
 BDB, if that is what you are using. =A0They do not build BDB with the corr=
ect configure options, seriously impacting performance.<div class=3D"HOEnZb=
">
<div class=3D"h5"><br>
<br>
--Quanah<br>
<br>
--<br>
<br>
Quanah Gibson-Mount<br>
Sr. Member of Technical Staff<br>
Zimbra, Inc<br>
A Division of VMware, Inc.<br>
--------------------<br>
Zimbra :: =A0the leader in open source messaging and collaboration<br>
<br>
</div></div></blockquote></div><br></div>

--047d7b414c2ebdcec404d9a84c9d--