Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Issue 836273002: Revert of Remove nonsfi token workaround. (Closed)

Created:
5 years, 11 months ago by Shuhei Takahashi
Modified:
5 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove nonsfi token workaround. (patchset #1 id:20001 of https://codereview.chromium.org/807193006/) Reason for revert: This change caused huge ARC boot time regression on nonsfi mode (~600ms -> 900ms). See: go/arcperf Original issue's description: > Remove nonsfi token workaround. > > Previously, file tokens were exposed to nonsfi plugins. Now that this is fixed > (and we have test coverage for a nonsfi packaged app), we can remove the > workaround that allowed nonzero token values. > > BUG=394130 > TEST=browser_tests on linux_rel_precise32 > > Committed: https://crrev.com/4923bbcd251b3cf3519bc1251e26f8243db5ea02 > Cr-Commit-Position: refs/heads/master@{#309916} TBR=mseaborn@chromium.org,teravest@chromium.org NOTREECHECKS=true NOTRY=true BUG=394130 Committed: https://crrev.com/c68ee623b8306e00c4cb6f141545a9b2afd4bc67 Cr-Commit-Position: refs/heads/master@{#310250}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -41 lines) Patch
M components/nacl/renderer/nexe_load_manager.h View 2 chunks +0 lines, -6 lines 0 comments Download
M components/nacl/renderer/nexe_load_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 3 chunks +26 lines, -31 lines 0 comments Download
M ppapi/nacl_irt/manifest_service.cc View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Shuhei Takahashi
Created Revert of Remove nonsfi token workaround.
5 years, 11 months ago (2015-01-07 08:13:29 UTC) #1
Takashi Toyoshima
LGTM. Justin: Sorry for reverting this, but could you investigate what causes this performance regression?
5 years, 11 months ago (2015-01-07 08:17:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836273002/1
5 years, 11 months ago (2015-01-07 08:18:20 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 11 months ago (2015-01-07 08:19:15 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c68ee623b8306e00c4cb6f141545a9b2afd4bc67 Cr-Commit-Position: refs/heads/master@{#310250}
5 years, 11 months ago (2015-01-07 08:20:10 UTC) #7
teravest
How do I run the performance test that saw the performance change? I tried going ...
5 years, 11 months ago (2015-01-07 15:27:51 UTC) #8
Mark Seaborn
As a matter of process, I think you shouldn't be TBRing changes like this. TBRing ...
5 years, 11 months ago (2015-01-07 16:15:05 UTC) #9
Takashi Toyoshima
Sorry for the immediate revert, but the regression was serious and blocked our Chrome roll. ...
5 years, 11 months ago (2015-01-08 04:20:22 UTC) #10
teravest
5 years, 11 months ago (2015-01-09 18:25:51 UTC) #11
Message was sent while issue was closed.
The performance regression must mean that we're using the fast path
(in OpenNaClExecutable()) for ARC.

So, presumably, to remove the token workaround, the browser handler
for NaClHostMsg_OpenNaClExecutable should be modified for nonsfi mode
so that DoRegisterOpenedNaClExecutableFile()/PutFilePath() is never
called (and tokens are never generated).

On Wed, Jan 7, 2015 at 9:20 PM,  <toyoshim@chromium.org> wrote:
> Sorry for the immediate revert, but the regression was serious and blocked
> our
> Chrome roll.
> It increased ARC boot time from 525ms to 863ms (+65%).
> I think reverting a change that causes performance or memory usage
> regression
> isn't bad manner, but the problem in this case was the test suite wasn't a
> part
> of chromium project. NaCl and ARC should collaborate closely, we may want to
> have something to work effectively on this kind of problem.
>
>> I tried going to go/arcperf, but the "Select a test suite" dropdown
>> doesn't do
>> anything, and there's nothing listed in the main pane of the page.
>
>
> I guess you didn't login with Google account. As far as I checked now, login
> page looks not working as expected. Here is the step how I login to the page
> correctly.
>
> 1. login from the top page https://chromeperf.appspot.com/ with google
> account
> 2. open go/arcperf
> 3. you will see graphs for each architectures. the first graph for
> bare_metal-i686-lkgr-perf had the performance drop, from 525ms to 863ms.
>
> Do you have a environment to build ARC? If you do not, maybe asking to ARC
> member in MTV will be quick because of the timezone difference. Sorry for a
> hard
> process to reproduce it. Since we do not have good performance test suites
> in
> chromium repository, this is the only way for now. Anyway, I'll send a mail
> for
> the starting point separately.
>
> https://codereview.chromium.org/836273002/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698