[Rpm-maint] [rpm-software-management/rpm] RPM+NDB doesn't implement rpmpkgSetFsync() (#288)
notifications at github.com
Sat Jul 29 17:31:27 UTC 2017
Wall clock timing measurements for --rebuilddb using RPM+NDB take minutes, not seconds:
[jbj at ji rpm]$ /usr/bin/time sudo ./rpmdb --rebuilddb --ndb
3.44user 3.86system 10:27.01elapsed 1%CPU (0avgtext+0avgdata 48152maxresident)k
0inputs+3334040outputs (0major+444636minor)pagefuls 0swaps
Looking at the code, the problem appears to start with the function ndb_SetFsync() in lib/backend/ndb/glue.c (which makes no attempt to propagate the nofsync disabling on --rebuilddb
to the underlying pkgdb/pkgxdb even though there appears to be some attempt at fsync disabling there):
static void ndb_SetFSync(rpmdb rdb, int enable)
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