[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7566) ldapadd slower on Linux than BSD
--bcaec548a14bc68c7904d9e4584b
Content-Type: text/plain; charset=ISO-8859-1
>
> I noticed something similar on ubuntu10 as well. I upgraded my server to
> ubuntu12, and I also set /proc/sys/vm/dirty_ratio to 90 and
> /proc/sys/vm/dirty_expire_centisecs to 60000, and that helped significantly
> with back-mdb using current OpenLDAP master. An ldapadd of almost 3.5
> million users takes approximately 4 hours now for my dataset vs 16. so 4x
> faster.
>
Thank you for your suggestions. I tried these two settings and ldapadd
wrote 3 GB in 8 hours (out of 4.3 GB). How big is your database ?
Have you considered running the database from a ramdisk ? Using ramfs in
Linux, I got the fastest times on all the tests I tried.
Leo Mocofan
--bcaec548a14bc68c7904d9e4584b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><div><div>I noticed something similar on ubuntu1=
0 as well. =A0I upgraded my server to<br>
ubuntu12, and I also set /proc/sys/vm/dirty_ratio to 90 and<br>
/proc/sys/vm/dirty_expire_centisecs to 60000, and that helped significantly=
<br>
with back-mdb using current OpenLDAP master. =A0An ldapadd of almost 3.5<br=
>
million users takes approximately 4 hours now for my dataset vs 16. =A0so 4=
x<br>
faster.<br></div></div></blockquote><div><br></div><div>Thank you for your =
suggestions. I tried these two settings and ldapadd wrote 3 GB in 8 hours (=
out of 4.3 GB). How big is your database ?<br><br></div><div>Have you consi=
dered running the database from a ramdisk ? Using ramfs in Linux, I got the=
fastest times on all the tests I tried.<br>
<br></div><div>Leo Mocofan<br></div><div><br></div></div></div></div>
--bcaec548a14bc68c7904d9e4584b--