Software Management call for RFEs

seth vidal skvidal at fedoraproject.org
Wed May 29 13:23:05 UTC 2013


On Wed, 29 May 2013 11:48:14 +0100
"Richard W.M. Jones" <rjones at redhat.com> wrote:

> On Tue, May 28, 2013 at 11:51:21AM -0400, seth vidal wrote:
> > I simply got tired of tilting at that particular windmill when
> > confronted with some particularly egregious cases (see libguestfs
> > sometime).
> 
> $ rpm -qR libguestfs|grep ^/
> /sbin/ldconfig
> /sbin/ldconfig
> /lib64/rtkaio/librt.so.1
> /usr/lib64/sasl2/libanonymous.so.2
> /usr/lib64/sasl2/libsasldb.so.2


this must be in f19 - in f18 I see:

/lib/i686/nosegneg/libc.so.6
/lib/i686/nosegneg/libm.so.6
/lib/i686/nosegneg/libpthread.so.0
/lib/i686/nosegneg/librt.so.1
/lib/i686/nosegneg/libthread_db.so.1
/lib/rtkaio/i686/nosegneg/librt.so.1
/lib/rtkaio/librt.so.1
/sbin/ldconfig
/usr/lib/sasl2/libanonymous.so.2
/usr/lib/sasl2/libsasldb.so.2
/usr/lib/sse2/libgmp.so.10
/usr/lib/sse2/libgmpxx.so.4
/usr/lib/sse2/libmp.so.3
/lib64/rtkaio/librt.so.1
/sbin/ldconfig
/usr/lib64/sasl2/libanonymous.so.2
/usr/lib64/sasl2/libsasldb.so.2

and it was much much worse in the past.

> 
> To resolve 3 strings we have to download 26 MB of data.
> 
> Getting rid of filelists seems like a bad idea because they are so
> useful.  Implementing them better on the other hand ...
> 
> At the moment they are stored in a sqlite database which is bzip2
> compressed.  The filelists DB for Fedora 18 is 26 MB compressed or
> 143 MB uncompressed.
> 
> The sqlite database just stores basically the strings as-is.  There
> are some structures which are better for storing strings that have a
> lot of common prefixes, such as tries and suffix trees.
> 

Actually the sqlite db doesn't just store the strings it stores a table
which has a pkg id (a number) then all the files in a specific dir for
each row.

like:
13960|/usr/share/locale/pt/LC_MESSAGES|gnokii.mo|f

13960|/usr/share/man/man8|mgnokiidev.8.gz/gnokiid.8.gz|ff

13960|/usr/share/doc/gnokii-0.6.31|sample/protocol/ringtones.txt/logos.txt/gnokii.nol/gnokii-ir-howto/gnokii-hackers-howto/gnokii-IrDA-Linux/gettext-howto/TODO/README.libsms/README-siemens/README-ericsson/README-dancall/README-WINDOWS/README-Symbian/README-PCSC/README-MacOSX/README-DKU2/README-7110/README-6510/README-6110/README-3810/README-2110/README/MAINTAINERS/KNOWN_BUGS/FAQ/DataCalls-QuickStart/CodingStyle/ChangeLog/CREDITS/COPYRIGHT/COPYING/Bugs


just as an example.

-sv


More information about the devel mailing list