https://bugzilla.redhat.com/show_bug.cgi?id=1011674
Bug ID: 1011674
Summary: [PATCH] yum-langpackages slows down yum runs a lot,
due to langtable and loading groups.
Product: Red Hat Enterprise Linux 7
Version: 7.1
Component: yum-langpacks
Assignee: pnemade(a)redhat.com
Reporter: james.antill(a)redhat.com
CC: i18n-bugs(a)lists.fedoraproject.org,
james.antill(a)redhat.com, notting(a)redhat.com,
petersen(a)redhat.com, pnemade(a)redhat.com
Depends On: 1011670
+++ This bug was initially created as a clone of Bug #1011670 +++
Description of problem:
Noticed that yum runs in F20 were a lot slower than I expected, traced it to
langpacks (not sure how recent this is, maybe needs fix in F18/F19/el7 too?).
The first patch is a huge savings:
~1 second off, from 1.8s to 0.8s to do: yum list yum
...which is all "import langtable", so I moved that to happen lazily.
The second patch is that postreposetup_hook() gets called for basically every
command, but we only need that data if a transaction happens. So I moved it:
~0.3s off, from 0.8s to 0.5s to do: yum list yum
--- Additional comment from James Antill on 2013-09-24 15:10:11 EDT ---
--- Additional comment from James Antill on 2013-09-24 15:16:55 EDT ---
Just checked and this is a problem in F19, and thus. I assume el7.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=kAPB7pOtVt&a=cc_unsubscribe