Bug 220614
Summary: | RFE: improve start time of yum-updatesd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thorsten Leemhuis <fedora> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | bos |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-03 01:26:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150225 |
Description
Thorsten Leemhuis
2006-12-22 15:41:04 UTC
(In reply to comment #0) > [root@notebook ~]# time /etc/init.d/yum-updatesd start This first run was with cold cache ("echo 3 >/proc/sys/vm/drop_caches"). It's probably a little bit faster during startup as some other things updatesd might need are probably in the cache already, but it's not much faster afaics Putting some dead simple timing, this is purely due to the various imports which are done. It looks like delaying imports until after we fork could cut the time roughly in half This isn't just slow old hard disks; it's an issue on my spanking new desktop and laptop systems, too. yum-updatesd is the most visible component of boot time :-( Improved in yum CVS. Time with cold cache on my laptop is now 2.8 seconds. Cold cache to just start the python interpreter and print hello world is 1.6 seconds. So that seems about as good as we're going to get. |