Bug 2091503
| Summary: | rpmkeys must use all/more available CPU cores instead of one | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Artem S. Tashkinov <aros> |
| Component: | libdnf | Assignee: | rpm-software-management |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 39 | CC: | amatej, daniel.mach, jmracek, jrohel, mblaha, packaging-team-maint, pkratoch, pmatilai, pmoravco, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Artem S. Tashkinov
2022-05-30 06:54:24 UTC
Running on single core and wasting several minutes of your time, oh humanity... Data loss and similar classifies as "urgent", this is merely a request for optimization. Dnf has always done a signature check prior to the transaction, but it's apparently calling rpmkeys to do that now, and in the process verifying entire packages instead of just header signatures like in the past. Which rpm will then redo shortly afterwards as a part of its own transaction processing, unless disabled which dnf doesn't seem to be doing (based on quick look). So there's a whole lot more work being done and work that is at least in part redundant. I don't know whether that was an intended consequence of dnf switching to calling rpmkeys, reassigning to dnf for (re-)evaluation. Parallelizing rpm signature checking in general is a whole other topic which is far from trivial, wont happen anytime soon, and belongs to upstream tracking. (In reply to Panu Matilainen from comment #1) > Running on single core and wasting several minutes of your time, oh humanity... LOL, sorry, I just remember this process took a few seconds and now it takes a few minutes. Actually, it's not a pressing issue at all but at the very least you could show a progress indicator because right now it just says "Preparing" or something for these few minutes and it looks like the whole process is stuck and the PC is frozen with nothing happening at all (since all the downloaded packages are still cached, there's no actual disk activity). Suit yourself anyways in terms of how to deal with this report, I just wanted to raise my concern. This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |