Bug 150283
Summary: | upgrade script slowness | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <5bvm8sv02> | ||||
Component: | kernel | Assignee: | Dave Jones <davej> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | pfrields, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-03-04 09:23:21 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: | |||||||
Attachments: |
|
Description
Need Real Name
2005-03-04 09:06:03 UTC
Created attachment 111654 [details]
part of strace of the script.
Notice how it is reading the characters one at a time. That is never going to
be fast.
the reading 1 char at a time isn't the problem (thats likely bash, and its reading from stdin). The problem is that theres just so many files to checksum, as you have so many kernels installed (The runtime increases proportionatly depending on how many are installed). For FC4 this has been 'fixed' to some extent by moving a lot of the files that were in the main package to a -devel package (which you wouldn't install unless you need it, and is removable after you're done with it). The problem is always going to be there to some extent though if you have a lot of kernels installed. |