[Rpm-maint] [rpm-software-management/rpm] RPM+NDB doesn't implement rpmpkgSetFsync() (#288)
notifications at github.com
Sat Jul 29 17:34:35 UTC 2017
Changing nab_SetFsync() to do the obvious (but perhaps naive) passing:
static void ndb_SetFSync(rpmdb rdb, int enable)
struct ndbEnv_s *ndbenv = rdb->db_dbenv;
leads to a slight (but still minutes, not seconds) improvement in --rebuilddb performance:
[jbj at ji rpm]$ /usr/bin/time sudo ./rpmdb --rebuilddb --ndb
3.42user 4.01system 7:34.55elapsed 1%CPU (0avgtext+0avgdata 46952maxresident)k
97664inputs+3641232outputs (0major+520873minor)pagefuls 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...
More information about the Rpm-maint