Bug 150777
Summary: | RPM performance bad | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas M Steenholdt <tmus> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | nobody+pnasrat, pakanek |
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-10 20:14:33 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: |
Description
Thomas M Steenholdt
2005-03-10 14:31:00 UTC
You can run rpm --stats -qa for a better breakdown. If you are going to compare performance with another rpm version it's helpful to have the version, vendor, stats, etc. Also testing against the same rpmdb would make sense. Bad compared to what? Well, i guess i have to admit that I was a little eager on the trigger with this bug. investigating the performance a little further brings the followinf info. The rpm version i'm comparing to is a version 3 from SuSE. It seems like this version is a little lighter on the system because it either lack the digest/signature functionality of later rpm versions or at least doesn't exercise those functios quite as often. My system spends most of the time doing signature work # rpm --stats -qa >/dev/null total: 1 0.000000 MB 9.571010 secs digest: 970 14.196385 MB 0.564451 secs signature: 468 0.000000 MB 7.223979 secs dbget: 541 14.529588 MB 1.120793 secs Guessing that this is just not done in the SuSE version, disabling the functionality in my FC3 version, changes the picture completely # rpm --stats --nosignature -qa >/dev/null total: 1 0.000000 MB 1.374332 secs digest: 970 14.194000 MB 0.562437 secs dbget: 490 14.455532 MB 0.278045 secs This pretty much closes the entire discussion for me (should have done all this before even filing the bug, sorry about that) and the only thing i would like to know is, are there a valid reason for checking signature of each and every package in a simple "list" operation like -qa? The Principle of Least Surprise says check header signatures everywhere and always. Meanwhile, signature checking on queries can be globally disabled by adding to /etc/rpm/macros %_vsflags_query -1 |