[Webkit-unassigned] [Bug 196733] New: [WPE] Avoid async IO starving timers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 9 09:35:34 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=196733
Bug ID: 196733
Summary: [WPE] Avoid async IO starving timers
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WPE WebKit
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eocanha at igalia.com
CC: bugs-noreply at webkitgtk.org
When loading a big media file (eg: a 180MB MP4 file) the NetworkProcess downloads the whole file before handing it out to the WebProcess. Further debugging showed that the m_bufferingTimer in NetworkResourceLoader (responsible of sending the downloaded data to the WebProcess via IPC) is triggered several times but eventually stops calling bufferingTimerFired() after the timer deadline has passed. The main thread SharedTimer is starved.
This starvation happens because the AsyncIONetwork and DiskCacheRead priorities are higher (have lower values in RunLoopSourcePriority.h) than the MainThreadSharedTimer one.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190409/a0fa8113/attachment.html>
More information about the webkit-unassigned
mailing list