[Yum] Yum features

Michael Stenner mstenner at phy.duke.edu
Sat Aug 3 13:27:00 UTC 2002

On Sat, Aug 03, 2002 at 01:42:50AM -0400, seth vidal wrote:
> > Feature Requests
> > 
> >    Have some option so that yum just looks at it's cache instead of going to 
> > the server and checking the headers again.
> > For nightly yum's this isn't a problem, but when you doing a compile (or 
> > something) and you need to do lot's of 'yum list' and/or various 'yum 
> > install', it get's a little slow when each time it goes and checks the 
> > headers.  I would gladly put in a extra -C (for cache) so that it just uses 
> > it's cache, and save the extra time.
> ok so I implemented this and tested it for speedups.
> the speed is improved only marginally.

Well, I imagine that depends heavily on your connection :)

> from 8s when downloading the header.info file to 5s when using the
> cached copy.

Was this at home (dsl) or at work (100 MBit)?

> It seems like clientStuff.rpmdbNevralLoad() is taking up a whole second
> and the cumulative time spent in returnObsoletes is huge.
> so I could speed things up by only calling returnObsoletes when an
> upgrade is desired.
> the time difference is amazing - it goes from 8-9secs for the startup to
> 3-4secs.
> It makes a huge difference for the list operations.
> anyone have an objection or could think of a situation where that would
> break things?

Sounds good, but leads to me believe I should check out that package

  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner at phy.duke.edu
  Box 90305, Durham N.C. 27708-0305

More information about the Yum mailing list