Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1318491
Summary: | cpu is over 100% for liveusb-creator process while application is doing nothing | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> | ||||||||||||||
Component: | liveusb-creator | Assignee: | Martin Bříza <mbriza> | ||||||||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||
Priority: | unspecified | ||||||||||||||||
Version: | 24 | CC: | bcl, fzatlouk, jreiser, juliux.pigface, kparal, mbriza, pfrields | ||||||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | liveusb-creator-3.93.3-1.fc24 | Doc Type: | Bug Fix | ||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2017-08-08 13:08:27 UTC | 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: | |||||||||||||||||
Bug Depends On: | |||||||||||||||||
Bug Blocks: | 1310542 | ||||||||||||||||
Attachments: |
|
Description
Chris Murphy
2016-03-17 04:09:12 UTC
Created attachment 1137284 [details]
strace pid 13301
Created attachment 1137285 [details]
strace pid 13304
Created attachment 1137286 [details]
strace pid 13305
Created attachment 1137287 [details]
strace pid 13307
Created attachment 1137288 [details]
strace pid 13309
Created attachment 1148720 [details]
liveusb-creator-3.92.1-1's CPU usage
FYI, the high CPU usage is still present with 3.92.1-1 version.
Also reported here: https://github.com/lmacken/liveusb-creator/issues/43 liveusb-creator-3.93.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c liveusb-creator-3.93.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c liveusb-creator-3.93.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c This is not fixed with liveusb-creator-3.93.1-1.fc24. If you see "There are no portable drives connected" spinner, it eats 130% cpu. Even after you connect a drive and do nothing, it still eats 65% cpu. During writing, it eats 60% cpu. After writing has finished, it eats 100% cpu. All of that seems to be busy waiting. liveusb-creator-3.93.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c Still not fixed in liveusb-creator-3.93.2-1.fc24. On my box with 4 CPU cores, the CPU usage is around 135% to 145%. And the Xorg process is at 80% when nothing other than liveusb-creator is active. Also, "ps -m PID" shows 9 threads, which is 5 too many. Four threads are enough: writer, reader, display, mouse. Only two of the threads accumulate CPU time, in the ratio 2:1 approximately. liveusb-creator-3.93.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c I'd suspect this is caused by using graphics drivers with no 3D acceleration. On my machine, it uses around 4% of one core. Nope, 3D works OK. My system is Thinkpad T450s: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) i965 driver However, I just tested it on a desktop with Radeon R9 270X (radeon driver) and I see only 10-15% cpu usage when showing the spinner (compared to 130% with intel). So this seems to be related to intel (and maybe just certain intel cards)? However, when writing, I still see 40%+ cpu usage even on the Radeon desktop machine. I take my comment back. Even on the Radeon desktop machine, if I leave the spinner spinning, every second the CPU usage increases. After one minute, I have about 160% cpu usage. So there's the same issue as well, it just takes longer to manifest. Ah, yes, I understood the report wrong. The spinning wheel in drive selection seems to be broken. Going to fix that. liveusb-creator-3.93.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c CPU usage is now ok on bare metal (Intel). But it's still high (80-100% CPU) in QEMU with Fedora 22 (it will be probably same even in newer releases). liveusb-creator-3.93.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c liveusb-creator-3.93.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. The cpu usage is fixed on my F24 bare metal when waiting for a flash drive, it was caused by the spinner. However, when writing it's still 50% and after writing has finished, it's at 30%, even when it is still. This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. 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 Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 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, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |