mirror of https://github.com/vitalif/tdpkg
A wrapper library around dpkg to make it use tokyocabinet (or sqlite) and speed it up when reading database. See http://yourcmc.ru/wiki/Tdpkg
71f10389a1 | ||
---|---|---|
AUTHORS | ||
COPYING | ||
Makefile | ||
README | ||
cache.c | ||
cache.h | ||
tdpkg.c |
README
The `tdpkg' shared library is used to speed up dpkg .list file handling using sqlite3. Homepage: http://lethalman.hostei.com/tdpkg.html REQUIREMENTS build-essential libsqlite3-dev BUILD Type `make'. You'd better not install this library, it could make your system highly unstable. USAGE Please make a backup copy of your /var/lib/dpkg/info directory before using tdpkg. LD_PRELOAD="./libtdpkg.so" dpkg ... BENCHMARKING The operations involved with dpkg database reading are mostly done on the file system. For this reason cleaning up the kernel cache is a must before calling either tdpkg or dpkg: echo 1 > /proc/sys/vm/drop_caches