[Rpm-maint] [PATCH] [RFC] 33% speedup in RPM!
Michael Schroeder
mls at suse.de
Tue Jun 26 10:02:36 UTC 2007
On Tue, Jun 26, 2007 at 12:59:28AM -0400, Bill Nottingham wrote:
> Testing used for the following patch:
>
> - P4, 2Ghz
> - 512MB memory
> - local repos
> - upgrade a F7 GA chroot (866 packages, desktop install)
> to updates + updates-testing, using yum
> - upgrades done on a fresh reboot (clean cache)
>
> The attached patch shaves the run time for the full update from
> 22m37s to 15m19s. Even accounting for minor differences in disk
> location, that's a *significant* savings.
If you just want to speed up ldconfig, here's a glibc patch for you.
We've got it in SUSE Linux since SL10.0, no problems so far.
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-2.5-ldconfig-old-cache.diff
Type: text/x-patch
Size: 17703 bytes
Desc: not available
Url : http://lists.rpm.org/pipermail/rpm-maint/attachments/20070626/9b7ee4eb/attachment-0001.bin
More information about the Rpm-maint
mailing list