New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 779819 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression



Sign in to add a comment

1.8%-4.3% regression in memory.top_10_mobile at 511425:511580

Project Member Reported by briander...@chromium.org, Oct 30 2017

Issue description

See the link to graphs below.
 
Project Member

Comment 1 by 42576172...@developer.gserviceaccount.com, Oct 30 2017

All graphs for this bug:
  https://chromeperf.appspot.com/group_report?bug_id=779819

(For debugging:) Original alerts at time of bug-filing:
  https://chromeperf.appspot.com/group_report?sid=99f94bfacc52f596ce111a23701674b6345785bd7ded79aa227522dfa57c35f1


Bot(s) for this bug's original alert(s):

android-nexus5X
android-webview-nexus5X
Project Member

Comment 3 by 42576172...@developer.gserviceaccount.com, Oct 31 2017


=== BISECT JOB RESULTS ===
NO Perf regression found

Bisect Details
  Configuration: android_webview_arm64_aosp_perf_bisect
  Benchmark    : memory.top_10_mobile
  Metric       : memory:webview:all_processes:reported_by_chrome:v8:effective_size_avg/background/after_http_yandex_ru_touchsearch_text_science

Revision             Result                 N
chromium@511528      7994061 +- 907561      21      good
chromium@511580      8026449 +- 784422      21      bad

Please refer to the following doc on diagnosing memory regressions:
  https://chromium.googlesource.com/chromium/src/+/master/docs/memory-infra/memory_benchmarks.md

To Run This Test
  src/tools/perf/run_benchmark -v --browser=android-webview --output-format=chartjson --upload-results --pageset-repeat=1 --also-run-disabled-tests --story-filter=http.yandex.ru.touchsearch.text.science memory.top_10_mobile

More information on addressing performance regressions:
  http://g.co/ChromePerformanceRegressions

Debug information about this bisect:
  https://chromeperf.appspot.com/buildbucket_job_status/8964269520757834512


For feedback, file a bug with component Speed>Bisection
Cc: jkummerow@chromium.org
Owner: jkummerow@chromium.org
Status: Assigned (was: Untriaged)

=== Auto-CCing suspected CL author jkummerow@chromium.org ===

Hi jkummerow@chromium.org, the bisect results pointed to your CL, please take a look at the
results.


=== BISECT JOB RESULTS ===
Perf regression found with culprit

Suspected Commit
  Author : Jakob Kummerow
  Commit : 3424c28b134839071cbc747ca69634a4973ccf8c
  Date   : Wed Oct 25 07:06:57 2017
  Subject: KeyedStoreIC must immediately make prototypes fast

Bisect Details
  Configuration: android_nexus5X_perf_bisect
  Benchmark    : system_health.memory_mobile
  Metric       : memory:chrome:all_processes:reported_by_chrome:v8:effective_size_avg/load_search/load_search_taobao
  Change       : 0.41% | 3789229.33333 -> 3804726.66667

Revision                           Result                  N
chromium@511424                    3789229 +- 27995.6      9       good
chromium@511439                    3782266 +- 19132.7      6       good
chromium@511446                    3787788 +- 29163.6      9       good
chromium@511448                    3785200 +- 29979.1      9       good
chromium@511448,v8@3424c28b13      3810092 +- 7941.86      6       bad       <--
chromium@511448,v8@d8fbe426fe      3804787 +- 24449.0      9       bad
chromium@511448,v8@dd0a37f202      3807859 +- 16219.3      6       bad
chromium@511448,v8@7b2f48204d      3805204 +- 40066.7      14      bad
chromium@511449                    3809642 +- 10914.4      9       bad
chromium@511450                    3807466 +- 19942.3      9       bad
chromium@511453                    3807202 +- 11287.0      6       bad
chromium@511482                    3809937 +- 9587.3       6       bad
chromium@511540                    3804727 +- 17459.5      6       bad

Please refer to the following doc on diagnosing memory regressions:
  https://chromium.googlesource.com/chromium/src/+/master/docs/memory-infra/memory_benchmarks.md

To Run This Test
  src/tools/perf/run_benchmark -v --browser=android-chromium --output-format=chartjson --upload-results --pageset-repeat=1 --also-run-disabled-tests --story-filter=load.search.taobao system_health.memory_mobile

More information on addressing performance regressions:
  http://g.co/ChromePerformanceRegressions

Debug information about this bisect:
  https://chromeperf.appspot.com/buildbucket_job_status/8964188722559564368


For feedback, file a bug with component Speed>Bisection
Status: WontFix (was: Assigned)
It's hard to believe that that CL would cause memory regressions. Either way, it's a one-liner fix, and not going to get reverted.
Issue 780247 has been merged into this issue.
Issue 781203 has been merged into this issue.
Cc: erikc...@chromium.org
Status: Assigned (was: WontFix)
It would be nice if we could get some proof that it isn't this CL. Can these benchmarks be run locally, or on tryjobs with and without your patch? If bisect sees these results, the regression is not insignificant and I'd really like to not ignore this.
I've attached three snapshots of the v8 MDP from traces, from the timeline graph, from revisions: 511157, 511540, and 511833. According to this bug, we expect to see a 30k regression in effective_size on 511448. Between screenshots #1 and #2, we see a 50k regression in effective size, a 15k regression in allocated_objects_size, and a 500k regression in virtual_size.

So we're sitting at the boundary of allocating another 500k block. jkummerow: Would this cause 15k regression in allocated_objects_size? Is this a GC timing issue? An issue with creating another 500k block?
Screen Shot 2017-11-09 at 9.52.37 AM.png
115 KB View Download
Screen Shot 2017-11-09 at 9.52.43 AM.png
119 KB View Download
jkummerow: Ping on #10?
Status: WontFix (was: Assigned)
Looks like the biggest delta (+18KB) is in code space. These days we only have optimized code in code space; so if the CL in #5 does increase the value there, that means it was successful in allowing more optimization. As I wrote in #6, it was a bug fix (for a performance issue).

Sign in to add a comment