[webkit-changes] [WebKit/WebKit] da2a97: Disable minimode scavenger in GPUProcess

bnham noreply at github.com
Mon Sep 26 15:42:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da2a972847cb30048e247f636e872fb41d191177
      https://github.com/WebKit/WebKit/commit/da2a972847cb30048e247f636e872fb41d191177
  Author: Ben Nham <nham at apple.com>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M Source/bmalloc/bmalloc/ProcessCheck.mm

  Log Message:
  -----------
  Disable minimode scavenger in GPUProcess
https://bugs.webkit.org/show_bug.cgi?id=245681
rdar://100286875

Reviewed by Geoffrey Garen.

GPUProcess CPU usage during YouTube playback regressed by ~10% in the last major release. About 30%
of that is coming from extra activity in the scavenger thread due to increased scavenger frequency
(242195) and work (235347).

To work around this, disable the mini mode scavenger entirely in GPUProcess. This is neutral for
both Membuster and RAMification.

* Source/bmalloc/bmalloc/ProcessCheck.mm:
(bmalloc::shouldAllowMiniMode):

Canonical link: https://commits.webkit.org/254880@main




More information about the webkit-changes mailing list