why doesn't yum cache anything?

Jamie Zawinski jwz at jwz.org
Fri Dec 31 08:12:21 UTC 2004


Sean Middleditch wrote:
> 
> It only takes a handful of seconds on my machine, which is only 1.5ghz.
> Yum is *very* RAM intensive, so if you're low there, that might be the
> slow down...?

By "a handful of seconds" do you mean "20"?  I think an acceptable 
number would be, like, "3", but I'm seeing anywhere from 19 to 64, 
on four different FC3 machines on two different networks:


500MB RAM, 1.4GHz -- 1:04

    <root at gronk:~/> time yum list '*mtr*'
    Setting up Repo:  base
    repomd.xml                100% |=========================| 1.1 kB    00:00
    Setting up Repo:  updates-released
    repomd.xml                100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    base      : ################################################## 2622/2622
    primary.xml.gz            100% |=========================| 180 kB    00:24
    MD Read   : ################################################## 408/408
    updates-re: ################################################## 408/408
    Installed Packages
    mtr.i386                                 2:0.54-10              installed
    mtr-gtk.i386                             2:0.54-10              installed
    8.405u 0.860s 1:04.81 14.2%     0+0k 0+0io 9pf+0w

500MB RAM, 1GHz -- 0:28

    <jwz at codon:~/> time yum list '*mtr*'
    Setting up Repo:  base
    Setting up Repo:  updates-released
    Reading repository metadata in from local files
    base      : ################################################## 2622/2622
    updates-re: ################################################## 405/405
    Installed Packages
    mtr.i386                                 2:0.54-10              installed
    mtr-gtk.i386                             2:0.54-10              installed
    8.363u 1.310s 0:28.44 34.0%     0+0k 0+0io 60pf+0w

1GB RAM, 2GHz -- 0:28

    <root at cerebellum:~/>  time yum list '*mtr*'
    Setting up Repo:  base
    repomd.xml                100% |=========================| 1.1 kB    00:00
    Setting up Repo:  updates-released
    repomd.xml                100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    base      : ################################################## 2622/2622
    primary.xml.gz            100% |=========================| 180 kB    00:01
    MD Read   : ################################################## 408/408
    updates-re: ################################################## 408/408
    Installed Packages
    mtr.i386                                 2:0.54-10              installed
    Available Packages
    mtr-gtk.i386                             2:0.54-10              base
    5.836u 0.798s 0:28.18 23.4%     0+0k 0+0io 56pf+0w

1GB RAM, 2.2GHz -- 0:19

    <root at grendel:~/> time yum list '*mtr*'
    Setting up Repo:  livna-stable
    repomd.xml                100% |=========================|  951 B    00:00
    Setting up Repo:  base
    repomd.xml                100% |=========================| 1.1 kB    00:00
    Setting up Repo:  updates-released
    repomd.xml                100% |=========================|  951 B    00:00
    Setting up Repo:  livna-testing
    repomd.xml                100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    livna-stab: ################################################## 117/117
    base      : ################################################## 2622/2622
    updates-re: ################################################## 408/408
    livna-test: ################################################## 18/18
    Installed Packages
    mtr.i386                                 2:0.54-10              installed
    mtr-gtk.i386                             2:0.54-10              installed
    3.639u 0.409s 0:19.88 20.2%     0+0k 0+0io 0pf+0w


-- 
Jamie Zawinski         jwz at jwz.org                  http://www.jwz.org/
                       jwz at dnalounge.com      http://www.dnalounge.com/
                                            http://jwz.livejournal.com/




More information about the fedora-devel-list mailing list