[Webkit-unassigned] [Bug 146378] New: [JetStream] Raise the percentile of mandreel-latency and splay-latency

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 26 21:27:59 PDT 2015


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

            Bug ID: 146378
           Summary: [JetStream] Raise the percentile of mandreel-latency
                    and splay-latency
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

The current percentile is 95%.  When I looked at the sample lists in our GC, it was clear that the worst 5% samples completely amortize our GC pauses.  Our GC pauses can be quite bad.  Clearly, splay-latency is meant to test whether we have an incremental GC that ensures that you don't have bad worst-case pauses.  But 95% is too small, because it doesn't really capture those pauses.  Raising the percentile to above 99% appears to do the trick.  99.5% or more seems like a good bet.  The trade-off there is just that if we set it too high, then we won't have enough statistics.  Doing this very clearly rewards GCs that are incremental, and punishes GCs that aren't (like ours).  That's what we want, since in the future we want to use this test to guide any improvements to the worst-case performance of our GC.

The way that the percentile is selected will also affect mandreel-latency.  That's a good thing, because 95% is probably too low for that test as well.  That test ends up with >10k samples.  The goal of using 95% in the first place was to get enough samples to have a stable average.  But if we have >10k samples, we can push that percentile up much higher and still get good statistics while achieving the effect we want - i.e. getting the worst case.

I don't think that we need to do the same thing for cdjs.  That test only takes 200 samples, so 95% means we report the average of the worst 10 samples.  That's probably good enough.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150627/129e1b91/attachment.html>


More information about the webkit-unassigned mailing list