Bug 170460 - Tweak how long we allow a process to go over its background CPU limit
Summary: Tweak how long we allow a process to go over its background CPU limit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-04 11:18 PDT by Chris Dumez
Modified: 2017-05-01 11:09 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.46 KB, patch)
2017-05-01 08:42 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-04-04 11:18:42 PDT
Tweak how long we allow a process to go over its background CPU limit. We currently use a conservative 15 minutes but we should probably use something lower to prevent unnecessary battery drain.
Comment 1 Radar WebKit Bug Importer 2017-04-04 11:44:27 PDT
<rdar://problem/31433141>
Comment 2 Chris Dumez 2017-05-01 08:42:20 PDT
Created attachment 308721 [details]
Patch
Comment 3 Geoffrey Garen 2017-05-01 10:38:49 PDT
Comment on attachment 308721 [details]
Patch

r=me

What methodology are we going to use to evaluate these limits? Do we keeps statistics on aggregate kills, or on aggregate battery usage in the field?
Comment 4 WebKit Commit Bot 2017-05-01 11:09:55 PDT
Comment on attachment 308721 [details]
Patch

Clearing flags on attachment: 308721

Committed r216020: <http://trac.webkit.org/changeset/216020>
Comment 5 WebKit Commit Bot 2017-05-01 11:09:56 PDT
All reviewed patches have been landed.  Closing bug.