[Webkit-unassigned] [Bug 197272] New: [bmalloc] bmalloc::Scavenger wakes up frequently in Gmail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 24 21:34:59 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197272

            Bug ID: 197272
           Summary: [bmalloc] bmalloc::Scavenger wakes up frequently in
                    Gmail
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: bmalloc
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com
                CC: ggaren at apple.com

Gmail is almost always allocating some memory. So bmalloc::Scavenger always think it is growing.
And amount of actually freeable memory is small. So what happens is that,

1. bmalloc::Scavenger repeatedly wakes up
2. bmalloc::Scavenger performs scavenge. It only performs small amount of madvice.
3. So, (2) takes short time.
4. bmalloc::Scavenger schedules next scavenge in a really short period because (2) is very short


In Gmail site, even after getting the stable state, we invoke scavenge operation every 500-700ms.

-- 
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/20190425/c5eb5d10/attachment.html>


More information about the webkit-unassigned mailing list