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

Issue 845722 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain



Sign in to add a comment

Kernel AFDO: veyron family performance degradation after AFDO enabled.

Project Member Reported by llozano@chromium.org, May 22 2018

Issue description


The following snapshot: 

https://plus.google.com/u/0/photos/albums/pb1i9362aaimkicl8vnkj73kqse5emg7t?pid=6558540565520113042&oid=102927517975380147705

taken from this dashboard:

https://dashboards.corp.google.com/google::analysis_uma_chromeos_wide_profiling_plx_comparative_analytics_dashboard?p=channel:stable&p=triggers:%22PERIODIC_COLLECTION%22&p=numerator:board%3D%27minnie%27&p=percent:0&p=denominator:board%3D%27speedy%27&p=duration:200&p=subfraction:dso%20LIKE%20%27%25kernel.kallsyms%25%27&p=end_date:20180520

shows the ration of time spent in the kernel for minnie (kernel AFDO enabled on R63 - 10032.x.0) vs. speedy (kernel AFDO enabled on R65 - 10323.x.0)

one can see that when we enabled AFDO on Minie 10032.x, the performance degraded. Further one can see that the peformance on speedy degraded on 10323.

The AFDO profiles for these ARM boards are taken from X86 boards running kernel 3.14. It seems in this case, using an x86 profile for an ARM board is not a good idea. 

We will need to investigate this further but, for now, we are going to  disable AFDO on the veyron family. 



 
Cc: sonnyrao@chromium.org diand...@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, May 23 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/35aafdd325395d4bc83ff72a15c3b2f2e6c7c477

commit 35aafdd325395d4bc83ff72a15c3b2f2e6c7c477
Author: Ting-Yuan Huang <laszio@chromium.org>
Date: Wed May 23 04:57:13 2018

veyron: disable kernel afdo

Kernel AutoFDO doesn't perform very well on veyron.

TEST=tryjob veyron_jaq-release-tryjob
BUG=chromium:845722

Change-Id: Ia12f05902e9ad82b888a11ce6abca102b64439d3
Reviewed-on: https://chromium-review.googlesource.com/1034115
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>

[modify] https://crrev.com/35aafdd325395d4bc83ff72a15c3b2f2e6c7c477/overlay-veyron/profiles/base/package.use

Sign in to add a comment