Opened 7 years ago

Last modified 7 years ago

#4259 new defect

Differential upgrades are too big

Reported by: cscott Owned by: cscott
Priority: normal Milestone: Future Release
Component: distro Version:
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

Description

There are a number of large-ish binary files which are completely overwritten on every update. We should figure out a good upgrade strategy for them -- if they are gzip compressed, recompressing with the --rsyncable option might help a lot.

Change History (5)

comment:1 Changed 7 years ago by cscott

Some files at fault:

etc/gconf/gconf.xml.defaults/%gconf-tree.xml (mtime fields generate lots of small diffs)
etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders (need to sort?)
etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules (need to sort?)
etc/pango/i386-redhat-linux-gnu/pango.modules (simple sort?)
lib/modules/2.6.22-20071018.1.olpc.d4414541d2be66a/modules.alias
lib/modules/2.6.22-20071018.1.olpc.d4414541d2be66a/modules.dep
lib/modules/2.6.22-20071018.1.olpc.d4414541d2be66a/modules.pcimap
lib/modules/2.6.22-20071018.1.olpc.d4414541d2be66a/modules.symbols
lib/modules/2.6.22-20071018.1.olpc.d4414541d2be66a/modules.usbmap
usr/lib/libfreebl3.chk (from nss-3.11.7, 476 bytes)
usr/lib/libsoftokn3.chk (from nss-3.11.7, 476 bytes)
usr/share/icons/gnome/icon-theme.cache (6.2M!)
usr/share/icons/hicolor/icon-theme.cache (13k)
usr/share/icons/sugar/icon-theme.cache (6k)
var/cache/ldconfig/aux-cache (21k)
var/lib/rpm/* (12M! in Berkeley DB files)
var/lib/rpm/Basenames
var/lib/rpm/Conflictname
...
var/lib/rpm/Group
var/lib/rpm/Installtid
var/lib/rpm/Name
var/lib/rpm/Packages
var/lib/rpm/Providename
var/lib/rpm/Pubkeys
var/lib/rpm/Requirename
var/lib/rpm/Requireversion
var/lib/rpm/Sha1header
var/lib/rpm/Sigmd5
var/lib/rpm/Triggername
var/lib/rpm/db.001 (24k) <-- deleted in /versions/run
var/lib/rpm/
db.002 (1.3M) <-- " " "
var/lib/rpm/db.003 (440k) <-- " " "

comment:2 Changed 7 years ago by marco

usr/share/icons/gnome/icon-theme.cache (6.2M!)

The GNOME theme should not be on the build at all since we are not using it.

comment:3 Changed 7 years ago by jg

  • Milestone changed from Never Assigned to Future Release

comment:4 Changed 7 years ago by cscott

I've removed gnome-icon-theme; removed all icon caches; fixed the pilgrim bits which were supposed to remove /var/lib/rpm/*db.0*; normalized /etc/gconf/gconf.xml.defaults/%gconf-tree.xml; and made all files in the build have a creation/modification time of 2007-11-02. This should remove 8M or so from each update.

Icon caches are only useful if the filesystem takes a long time to seek; flash does not.

I'd still like to do better with the files in /var/lib/rpm.

comment:5 Changed 7 years ago by cscott

gnome-icon-theme is apparently still required; neither the journal nor the activity toolbar show up when it is uninstalled. Opening new bug for this (trac #4621).

Note: See TracTickets for help on using tickets.