⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 230623 in webkit


Ignore:
Timestamp:
Apr 12, 2018, 11:52:36 PM (8 years ago)
Author:
sbarati@apple.com
Message:

Lessen partial scavenge interval on x86-64
https://bugs.webkit.org/show_bug.cgi?id=184577

Rubber-stamped by Filip Pizlo.

I initially made the scavenge interval longer because I had thought the
shorter interval caused a JetStream regression. I was mistaken though.
I was looking at the wrong commit range when analyzing perf data.

This patch shortens the interval, but still keeps x86-64 50% longer than
other architectures. We know that scavenging frequently on Mac is less
important to overall system performance than it is on iOS.

  • bmalloc/Scavenger.cpp:

(bmalloc::Scavenger::threadRunLoop):

Location:
trunk/Source/bmalloc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r230587 r230623  
     12018-04-12  Saam Barati  <sbarati@apple.com>
     2
     3        Lessen partial scavenge interval on x86-64
     4        https://bugs.webkit.org/show_bug.cgi?id=184577
     5
     6        Rubber-stamped by Filip Pizlo.
     7
     8        I initially made the scavenge interval longer because I had thought the
     9        shorter interval caused a JetStream regression. I was mistaken though.
     10        I was looking at the wrong commit range when analyzing perf data.
     11       
     12        This patch shortens the interval, but still keeps x86-64 50% longer than
     13        other architectures. We know that scavenging frequently on Mac is less
     14        important to overall system performance than it is on iOS.
     15
     16        * bmalloc/Scavenger.cpp:
     17        (bmalloc::Scavenger::threadRunLoop):
     18
    1192018-04-12  Saam Barati  <sbarati@apple.com>
    220
  • trunk/Source/bmalloc/bmalloc/Scavenger.cpp

    r230587 r230623  
    409409
    410410#if BCPU(X86_64)
    411             auto partialScavengeInterval = std::chrono::milliseconds(36000);
     411            auto partialScavengeInterval = std::chrono::milliseconds(12000);
    412412#else
    413413            auto partialScavengeInterval = std::chrono::milliseconds(8000);
Note: See TracChangeset for help on using the changeset viewer.