[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 0/3] Preliminaries for headerless install callback



On 02/18/2011 06:32 PM, seth vidal wrote:
On Fri, 2011-02-18 at 18:27 +0200, Panu Matilainen wrote:
On 02/18/2011 04:53 PM, Chris Lumens wrote:
Traditionally yum has used (rpm-header, path) tuple as the "key" for
callback to locate the package to-be-installed, but this has the
downside of keeping the full rpm headers of all installed packages
to be loaded throughout the entire transaction, wasting (tens of)
megabytes of memory when it only really needs is nevra info to locate
the relevant yum package object.

This sounds great!

What release are you intending this to go into?  Just for master, or for
F15 as well?

Both. Like said, these patches alone don't really do anything at all
visibly (unless I've screwed up something), and should actually be safe
all the way to RHEL 5 (but lets leave that aside for now). I do hope to
have the yum bits make it into F15 so we can then flick the switch and
have anaconda magically use much, much less memory.


Define 'much' When you mentioned this on yum-devel you said 10s of
megabytes of memory.

what number are we talking about?

Obviously it depends on what exactly is getting installed, but for a default Fedora desktop we're talking about 50MB ballpark figures.

While most headers are well below 100KB in size, 100-300KB headers aren't rare at all, over 1MB headers do exist in Fedora and in theory a single header can be up to 16MB.

	- Panu -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]