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

Issue 910333004: Contribution of PowerPC port (continuation of 422063005) - PPC opt 2 (Closed)

Created:
5 years, 10 months ago by michael_dawson
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Contribution of PowerPC port (continuation of 422063005) - PPC opt 2 Contribution of PowerPC port (continuation of 422063005, 817143002, 866843003, and 901083004. The bulk of the changes are to remove some hard coded assumptions about heap page size within existing tests. The remaining change is to use a larger heap page size for PPC linux as this provides a performance benefit due to the larger memory page size. modified: src/base/build_config.h modified: src/heap/heap.cc modified: test/cctest/test-alloc.cc modified: test/cctest/test-constantpool.cc modified: test/cctest/test-heap.cc modified: test/cctest/test-spaces.cc modified: test/cctest/test-weakmaps.cc modified: test/cctest/test-weaksets.cc R=danno@chromium.org, svenpanne@chromium.org BUG= Committed: https://crrev.com/bf3691ae8822e7f90e11821f4337e9a8645814f5 Cr-Commit-Position: refs/heads/master@{#26833}

Patch Set 1 #

Patch Set 2 : Updated to remove non-test changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -14 lines) Patch
M test/cctest/test-alloc.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-constantpool.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-spaces.cc View 4 chunks +9 lines, -6 lines 0 comments Download
M test/cctest/test-weakmaps.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/test-weaksets.cc View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (4 generated)
michael_dawson
PPC opt 2, does not overlap with ppc directory update so we can review in ...
5 years, 10 months ago (2015-02-18 22:09:38 UTC) #1
Sven Panne
The changes look OK to me, but my knowledge of the GC details is limited. ...
5 years, 10 months ago (2015-02-19 12:12:31 UTC) #3
Hannes Payer (out of office)
What is the performance impact of that change? And why does it improve performance? I ...
5 years, 10 months ago (2015-02-19 17:47:24 UTC) #4
michael_dawson
On 2015/02/19 17:47:24, Hannes Payer wrote: > What is the performance impact of that change? ...
5 years, 10 months ago (2015-02-19 18:26:49 UTC) #5
Hannes Payer (out of office)
On 2015/02/19 18:26:49, michael_dawson wrote: > On 2015/02/19 17:47:24, Hannes Payer wrote: > > What ...
5 years, 10 months ago (2015-02-19 20:32:38 UTC) #6
michael_dawson
On 2015/02/19 20:32:38, Hannes Payer wrote: > On 2015/02/19 18:26:49, michael_dawson wrote: > > On ...
5 years, 10 months ago (2015-02-20 13:21:24 UTC) #7
michael_dawson
On 2015/02/20 13:21:24, michael_dawson wrote: > On 2015/02/19 20:32:38, Hannes Payer wrote: > > On ...
5 years, 10 months ago (2015-02-20 22:03:32 UTC) #8
Sven Panne
On 2015/02/20 22:03:32, michael_dawson wrote: > [...] Would it make sense to commit those changes ...
5 years, 10 months ago (2015-02-23 07:27:29 UTC) #9
Hannes Payer (out of office)
Just the test files, OK.
5 years, 10 months ago (2015-02-23 09:15:50 UTC) #10
michael_dawson
Ok, updated to remove non-test changes
5 years, 10 months ago (2015-02-23 15:06:35 UTC) #11
michael_dawson
Any other changes needed before the changes to the test files can go in ?
5 years, 10 months ago (2015-02-24 17:08:13 UTC) #12
Hannes Payer (out of office)
lgtm
5 years, 10 months ago (2015-02-24 17:53:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/910333004/20001
5 years, 10 months ago (2015-02-24 18:39:21 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-24 19:05:28 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bf3691ae8822e7f90e11821f4337e9a8645814f5 Cr-Commit-Position: refs/heads/master@{#26833}
5 years, 10 months ago (2015-02-24 19:05:45 UTC) #19
michael_dawson
Related to the page size opt, We have just noticed that a recent change removed ...
5 years, 10 months ago (2015-02-25 21:18:54 UTC) #20
Sven Panne
On 2015/02/25 21:18:54, michael_dawson wrote: > Related to the page size opt, We have just ...
5 years, 10 months ago (2015-02-26 07:52:51 UTC) #21
Yang
On 2015/02/25 21:18:54, michael_dawson wrote: > Related to the page size opt, We have just ...
5 years, 9 months ago (2015-03-11 14:59:08 UTC) #22
michael_dawson
On 2015/03/11 14:59:08, Yang wrote: > On 2015/02/25 21:18:54, michael_dawson wrote: > > Related to ...
5 years, 9 months ago (2015-03-11 19:28:50 UTC) #23
Yang
On 2015/03/11 19:28:50, michael_dawson wrote: > On 2015/03/11 14:59:08, Yang wrote: > > On 2015/02/25 ...
5 years, 9 months ago (2015-03-12 15:10:33 UTC) #24
MTBrandyberry
5 years, 9 months ago (2015-03-12 16:49:04 UTC) #25
Message was sent while issue was closed.
On 2015/03/12 15:10:33, Yang wrote:
> On 2015/03/11 19:28:50, michael_dawson wrote:
> > On 2015/03/11 14:59:08, Yang wrote:
> > > On 2015/02/25 21:18:54, michael_dawson wrote:
> > > > Related to the page size opt, We have just noticed that a recent change
> > > removed
> > > > the  kBootCodeSizeMultiplier  as a tunable and the net is that the
> > > > test-heap/FirstPageFitsStartup  fails on Power because the test assumes
> the
> > > > initial allocations fit into a single page.  In our case because of the
> > larger
> > > > page size they don't.
> > > > 
> > > > I'm wondering how we should handle this ?
> > > 
> > > test-heap/FirstPageFitsStartup no longer exists. Do you mean
> > > test-spaces/SizeOfFirstPageIsLargeEnough? Does it fail due CODE_SPACE
size?
> > 
> > The ones we have seen fail recently that we believe are related include:
> > 
> >   cctest/test-strings/OneByteArrayJoin
> >   cctest/test-spaces/SizeOfFirstPageIsLargeEnough
> > 
> > We do believe they failed because of  CODE_SPACE size
> 
> I can't reproduce the failures you've seen with 4ededa8694c4 in release mode.
> 
> In case of OneByteArrayJoin, it probably suffices to increase the resource
> constraint. For SizeOfFirstPageIsLargeEnough I'd like to be able to reproduce
it
> first.

The logs from buildbot show the failures:


http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20ppc64%20-%20s...

http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20ppc64%20-%20s....

Note that this currently shows up in 64-bit only because of its excessive code
size (due to a lack of constant pool support + another optimization yet to be
discussed).

Powered by Google App Engine
This is Rietveld 408576698