[Rpm-maint] [rpm-software-management/rpm] Adding an LMDB backend to RPM (#281)

Jeff Johnson notifications at github.com
Sat Jul 29 06:11:46 UTC 2017

After adding equivalent disabling of fsync and its ilk to mdb_env_open():
        eflags |= MDB_FIXEDMAP;
#ifndef HACK
        eflags |= MDB_WRITEMAP;
        eflags |= MDB_NOMETASYNC;
        eflags |= MDB_MAPASYNC;
        eflags |= MDB_NOSYNC;
        eflags |= MDB_NOTLS;
        eflags |= MDB_NOMEMINIT;

here are --rebuilddb measurements:
[jbj at ji rpm]$ sudo /usr/bin/time ./rpmdb --rebuilddb --lmdb 
30.96user 2.34system 0:37.48elapsed 88%CPU (0avgtext+0avgdata 1681104maxresident)k
173264inputs+457336outputs (356major+458600minor)pagefuls 0swaps

[jbj at ji rpm]$ sudo /usr/bin/time ./rpmdb --rebuilddb
23.44user 3.38system 0:31.06elapsed 86%CPU (0avgtext+0avgdata 1859212maxresident)k
48inputs+399976outputs (1major+442773minor)pagefuls 0swaps

[jbj at ji rpm]$ sudo /usr/bin/time ./rpmdb --rebuilddb --ndb
23.56user 2.89system 0:36.97elapsed 71%CPU (0avgtext+0avgdata 1854456maxresident)k
193896inputs+390064outputs (1major+431505minor)pagefaults 0swaps

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170729/5f9d5862/attachment.html>

More information about the Rpm-maint mailing list