Closed
Bug 1557746
Opened 6 years ago
Closed 6 years ago
AV1 playback spends a lot of decode time managing shared memory on Mac
Categories
(Core :: Audio/Video: Playback, task, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
DUPLICATE
of bug 1539043
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 1 open bug)
Details
I see 14% of the time in RDD process in BuildSurfaceDescriptorBuffer and ShmemDestroyed while playing 720p60 video.
It looks like we're constantly allocating and deallocating new shared memory for every frame so we're probably hitting zero-fill-on-demand page faults as we copy the frame into the shared memory.
Reporter | ||
Comment 1•6 years ago
|
||
Yeah, I confirmed that at least half of the memcpy time in BuildSurfaceDescriptorBuffer is spent pagefaulting.
Comment 2•6 years ago
|
||
Sounds like a buffer recycler is in order here.
Blocks: RDD
Priority: -- → P3
Updated•6 years ago
|
Type: defect → task
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•