From romange@gmail.com Tue Aug 20 20:47:04 2013 From: romange@gmail.com To: openldap-bugs@openldap.org Subject: Re: (ITS#7667) performance degradation when using MDB_INTEGERKEY Date: Tue, 20 Aug 2013 20:47:03 +0000 Message-ID: <201308202047.r7KKl3Fj076372@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2474895974570553513==" --===============2474895974570553513== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --001a11c1e98008372804e46726c2 Content-Type: text/plain; charset=3DUTF-8 Hi, I extracted a small dataset that shows the problem. you can download it from here: https://docs.google.com/file/d/0B6o29pwkWoERdnFSaUtMNDljemc/edit?usp=3Dsharing I modified mdb_copy.c to demonstrate the difference. copy it to source dir from here https://docs.google.com/file/d/0B6o29pwkWoERd3VuUm1DN0FpcUU/edit?usp=3Dsharing build and run "time ./mdb_copy foo foo2" after this change the flag at line 64 and run it again. at my computer the difference is 17s vs 1.7s for 3 million items. On Tue, Aug 20, 2013 at 9:04 PM, Quanah Gibson-Mount wro= te: > --On Sunday, August 18, 2013 11:46 AM +0000 romange(a)gmail.com wrote: > > Full_Name: Roman Gershman >> Version: >> OS: linux 3.8.0-25-generic >> URL: >> Submission from: (NULL) (212.150.97.210) >> > > Please provide further information, specifically: > > The size of values > Insert order > Sample code if possible > > Thanks, > Quanah > > > -- > > Quanah Gibson-Mount > Lead Engineer > Zimbra, Inc > -------------------- > Zimbra :: the leader in open source messaging and collaboration > --=20 Best regards, Roman --001a11c1e98008372804e46726c2 Content-Type: text/html; charset=3DUTF-8 Content-Transfer-Encoding: quoted-printable
Hi, I extracted a small dataset that shows the proble= =3D m.
you can download it from here: https://docs.go= =3D ogle.com/file/d/0B6o29pwkWoERdnFSaUtMNDljemc/edit?usp=3D3Dsharing

I modified mdb_copy.c to demonstrate the difference. co=3D py it to source dir from here https://docs.google.com/file/= =3D d/0B6o29pwkWoERd3VuUm1DN0FpcUU/edit?usp=3D3Dsharing

build and=3DC2=3DA0
run "time ./mdb_copy f= oo=3D foo2"
after this change the flag at line 64 and run it agai=3D n.
at my computer the difference is 17s vs 1.7s for 3 million ite=3D ms.



On Tue, Aug 20, 2013 at 9:04 PM, Quanah Gibson-Mount <quanah(a= )zimbr=3D a.com> wrote:
--On Sunday, August 18, 2013 11:46 AM +0000 romange(a)gmail.com wrote:<= br>
Full_Name: Roman Gershman
Version:
OS: linux 3.8.0-25-generic
URL:
Submission from: (NULL) (212.150.97.210)

Please provide further information, specifically:

The size of values
Insert order
Sample code if possible

Thanks,
Quanah


--

Quanah Gibson-Mount
Lead Engineer
Zimbra, Inc
--------------------
Zimbra :: =3DC2=3DA0the leader in open source messaging and collaboration



--
Best regards= =3D ,
=3DC2=3DA0 =3DC2=3DA0=3DC2=3DA0 Roman
--001a11c1e98008372804e46726c2-- --===============2474895974570553513==--