[LMDB] Re: [ROADMAP] Catalyst's focus on Samba
Andreas Schneider
asn at samba.org
Tue Mar 28 07:55:00 UTC 2017
On Tuesday, 28 March 2017 09:15:31 CEST Andrew Bartlett via samba-technical
wrote:
> On Tue, 2017-03-28 at 08:23 +0200, Andreas Schneider via samba-
>
> technical wrote:
> > On Wednesday, 22 March 2017 02:02:41 CEST Andrew Bartlett via samba-
> > technical
> >
> > wrote:
> > > On Tue, 2017-03-21 at 11:49 +0100, Stefan Metzmacher wrote:
> > > > Hi Andrew,
> > > >
> > > > > Scale
> > > > > -----
> > > > >
> > > > > Tied up in performance work is a desire to have samba scale
> > > > > more,
> > > > > to
> > > > > serve more user and hold more groups/group members. The
> > > > > direction
> > > > > of
> > > > > this work is less certain, but having broken the back of the
> > > > > 'too
> > > > > many
> > > > > links melts Samba' issue, I'm sure we will be asked to do more
> > > > > here.
> > > > >
> > > > > Specific possibilities include LMDB and a GUID-based index
> > > > > scheme.
> > > >
> > > > If you play with lmdb, please try to understand how OpenLDAP does
> > > > the
> > > > indexing. I think we should also make use of the virtual
> > > > databases
> > > > of lmdb, so that we can keep the index records away from the real
> > > > objects.
> > > > We could also have the different partitions within a single lmdb
> > > > file.
> > >
> > > Thanks for the suggestions. That certainly could make it tidier.
> >
> > Jakub Hrozek has a branch with lmdb support and has also written a
> > lot of ldb
> > tests. The tests use cmocka. We already use cmocka in Samba.
> >
> > It would be great to get those tests upstream first. Let me know if
> > you need
> > help with cmocka.
>
> I will keep that in mind! Has Jakub proposed the tests for inclusion?
>
> As you know, I'm always keen to review patches :-)
>
> While on our roadmap, there isn't any reason to expect the LMDB is
> impending, we have plenty of other fish to fry first, so there should
> be plenty of time to get those ducks in a row.
>
> LDB certainly does need more unit tests.
Here is a patchset from Jakub his branch
https://github.com/jhrozek/samba-ldb-mdb/commits/lmdb
which only adds some unit tests.
cd lib/ldb
./configure
make -j
make test
Cheers,
Andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldb_unittests.patch
Type: text/x-patch
Size: 56622 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170328/7b3e5310/ldb_unittests-0001.bin>
More information about the samba-technical
mailing list