[lvm-devel] lvm and locales memory issue

Jakub Jelinek jakub at redhat.com
Tue Feb 23 09:45:11 UTC 2010


On Tue, Feb 23, 2010 at 10:14:55AM +0100, Zdenek Kabelac wrote:
> Well update of my rawhide usually more then 3/4 hour - so 6 minutes running in
> background - that's really nothing.

Perhaps you don't care, but others do really care.

> And quite frankly - during the update you need to update/recompile only
> changed files - you could copy compiled & unchanged data to new file - thus in
> fact it would takes couple seconds - unless each glibc update changes all i18n
> locale definition, I doubt that - isn't that what the locale-archive.tmpl is
> already doing?

There is a big tree of inclusions between the locale files, so you'd need to
checksum them together with all the dependencies.  Anyway, that would still
leave us with 6 minutes (on slow machines maybe half an hour) during Fedora
installation.  I don't understand your sudden holy war against generated
data in the distro, after all the locales aren't definitely the largest (but
is something everybody has installed).  Look at stuff like kdelibs-apidocs
or asterisk-apidoc which are 650+ resp. 320+ MB of generated data.
And this wouldn't help you in any way for lvm, locale-archive would be the
same size...

	Jakub




More information about the lvm-devel mailing list