Bug 1902818
Summary: | kernel 5.9 - video decoding performance dropdown | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Václav Nováček <waclaw66> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 33 | CC: | acaringi, adscvr, airlied, bskeggs, hdegoede, itamar, jarodwilson, jeremy, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, mjg59, ptalbert, steved | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | --- | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-10 17:25:25 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: | |||||||
Attachments: |
|
Description
Václav Nováček
2020-11-30 18:57:04 UTC
Seems like ffmpeg problem, tried latest git build, it has slightly better results on 5.9.x comparing to 5.8.x. Sorry for bothering. (In reply to Václav Nováček from comment #1) > Seems like ffmpeg problem, tried latest git build, it has slightly better > results on 5.9.x comparing to 5.8.x. > Sorry for bothering. My mistake, not true, problem still persists, adding -s or -pix_fmt parameter has big influence to the performance on 5.9.x comparing to 5.8.x. Still not sure, where the problem is. The video source is tcp rtsp stream from ipcamera. Decoding file from disk has similar results on 5.9.x and 5.8.x. Performance problem still persists on kernel 5.10.x What can be the problem? I don't believe it's ffmpeg. I have tested it on another computer with different hardware (Intel, AMD+nVidia), same problem. It's not related to CPU or GPU. It's the kernel itself. here are cpu consumptions of the ffmpeg process for comparison kernel 5.8 -s 1280x720 -pix_fmt yuv420p ... about 23% cpu usage of single core kernel 5.9, 5.10 -s 1280x720 -pix_fmt yuv420p ... about 70% cpu usage of single core -s 1280x720 ... about 50% cpu usage of single core only decoding ... about 25% cpu usage of single core it's very simillar on Intel and AMD as well tested on the latest dev build of ffmpeg It turned out that kernel 5.9+ switched from ondemand to schedutil governor and therefore performance results differ. Switching back to ondemand fixed it. |