Bug 231304

Summary: Add a configurable wake up message hysteresis to IPC::StreamClientConnection
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit2Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=231352
Bug Depends on:    
Bug Blocks: 230860    
Attachments:
Description Flags
For EWS
none
Add an assertion none

Description Wenson Hsieh 2021-10-06 10:21:27 PDT
Make it possible to avoid sending the wakeup message in StreamClientConnection, until some configurable number of messages have been queued up. This allows us to avoid triggering excessive wakeups in the GPU Process when using streaming IPC for display lists in the Canvas Lines subtest in MotionMark, which exercises sending a massive, constant stream of cheap drawing commands to the GPUP.
Comment 1 Wenson Hsieh 2021-10-06 10:56:12 PDT
Created attachment 440389 [details]
For EWS
Comment 2 Wenson Hsieh 2021-10-06 12:06:38 PDT
Created attachment 440406 [details]
Add an assertion
Comment 3 EWS 2021-10-06 19:21:20 PDT
Committed r283696 (242622@main): <https://commits.webkit.org/242622@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 440406 [details].
Comment 4 Radar WebKit Bug Importer 2021-10-06 19:22:18 PDT
<rdar://problem/83963165>