Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2469)

Issue 6465057: [PATCH] Add working-set size and hotness information to fdo summary

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by tejohnson
Modified:
9 years, 7 months ago
Reviewers:
hjl.tools, andi, stevenb.gcc, davidxl, hubicka, markus
CC:
hubicka_ucw.cz, davidxl, gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : [PATCH] Add counter histogram to fdo summary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -14 lines) Patch
M gcc/basic-block.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M gcc/coverage.c View 1 2 chunks +10 lines, -2 lines 0 comments Download
M gcc/gcov-dump.c View 1 2 chunks +21 lines, -1 line 0 comments Download
M gcc/gcov-io.h View 1 7 chunks +35 lines, -5 lines 0 comments Download
M gcc/gcov-io.c View 1 5 chunks +175 lines, -3 lines 0 comments Download
M gcc/profile.c View 1 3 chunks +156 lines, -0 lines 0 comments Download
M libgcc/libgcov.c View 1 4 chunks +81 lines, -3 lines 0 comments Download

Messages

Total messages: 40
tejohnson
This is a revision of my earlier patch to add working set information to the ...
11 years, 8 months ago (2012-08-16 14:21:39 UTC) #1
hubicka_ucw.cz
> + { > + cs_prg->num = cs_tprg->num; > + /* Allocate the working set ...
11 years, 8 months ago (2012-08-18 08:19:56 UTC) #2
tejohnson
On Sat, Aug 18, 2012 at 1:19 AM, Jan Hubicka <hubicka@ucw.cz> wrote: > > > ...
11 years, 8 months ago (2012-08-20 04:59:30 UTC) #3
davidxl
On Sun, Aug 19, 2012 at 9:59 PM, Teresa Johnson <tejohnson@google.com> wrote: > On Sat, ...
11 years, 8 months ago (2012-08-20 05:41:23 UTC) #4
hubicka_ucw.cz
> Well, it should store the largest working set in BBs, or one that came ...
11 years, 8 months ago (2012-08-20 09:48:34 UTC) #5
tejohnson
On Mon, Aug 20, 2012 at 2:48 AM, Jan Hubicka <hubicka@ucw.cz> wrote: >> Well, it ...
11 years, 8 months ago (2012-08-20 14:53:22 UTC) #6
stevenb.gcc
On Mon, Aug 20, 2012 at 11:48 AM, Jan Hubicka <hubicka@ucw.cz> wrote: >> The summary ...
11 years, 8 months ago (2012-08-20 15:36:05 UTC) #7
davidxl
> > So I definitely preffer 2 or 3 over 1. David has experience with ...
11 years, 8 months ago (2012-08-20 16:57:03 UTC) #8
davidxl
> If this approach seems like it is feasible, then we could stick with > ...
11 years, 8 months ago (2012-08-20 17:05:00 UTC) #9
tejohnson
On Mon, Aug 20, 2012 at 8:35 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote: > On Mon, ...
11 years, 8 months ago (2012-08-20 17:44:15 UTC) #10
stevenb.gcc
On Mon, Aug 20, 2012 at 7:44 PM, Teresa Johnson <tejohnson@google.com> wrote: > But > ...
11 years, 8 months ago (2012-08-20 17:51:39 UTC) #11
andi_firstfloor.org
Xinliang David Li <davidxl@google.com> writes: > > Process level synchronization problems can happen when two ...
11 years, 8 months ago (2012-08-20 19:03:44 UTC) #12
davidxl
I was mistaken here -- gcov_open actually uses locking via fcntl interface -- so we ...
11 years, 8 months ago (2012-08-20 19:58:35 UTC) #13
hubicka_ucw.cz
> Xinliang David Li <davidxl@google.com> writes: > > > > Process level synchronization problems can ...
11 years, 8 months ago (2012-08-21 01:27:31 UTC) #14
tejohnson
On Mon, Aug 20, 2012 at 6:27 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> Xinliang David ...
11 years, 8 months ago (2012-08-21 05:14:08 UTC) #15
hubicka_ucw.cz
> On Mon, Aug 20, 2012 at 6:27 PM, Jan Hubicka <hubicka@ucw.cz> wrote: > >> ...
11 years, 8 months ago (2012-08-21 05:29:18 UTC) #16
davidxl
On Mon, Aug 20, 2012 at 10:29 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> On Mon, ...
11 years, 8 months ago (2012-08-21 06:15:37 UTC) #17
hubicka_ucw.cz
> > This is useful for large applications with a long tail. The > instruction ...
11 years, 8 months ago (2012-08-21 06:33:08 UTC) #18
davidxl
On Mon, Aug 20, 2012 at 11:33 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> >> This ...
11 years, 8 months ago (2012-08-21 07:14:50 UTC) #19
hubicka_ucw.cz
> Teresa has done some tunings for the unroller so far. The inliner > tuning ...
11 years, 8 months ago (2012-08-21 07:34:20 UTC) #20
tejohnson
On Tue, Aug 21, 2012 at 12:34 AM, Jan Hubicka <hubicka@ucw.cz> wrote: > > Teresa ...
11 years, 8 months ago (2012-08-21 14:38:14 UTC) #21
andi_firstfloor.org
> The issue here is holding lock for all the files (that can be many) ...
11 years, 8 months ago (2012-08-21 14:59:09 UTC) #22
davidxl
On Tue, Aug 21, 2012 at 12:34 AM, Jan Hubicka <hubicka@ucw.cz> wrote: >> Teresa has ...
11 years, 8 months ago (2012-08-21 17:10:22 UTC) #23
davidxl
On Tue, Aug 21, 2012 at 7:38 AM, Teresa Johnson <tejohnson@google.com>wrote: > > > On ...
11 years, 8 months ago (2012-08-21 17:11:54 UTC) #24
hubicka_ucw.cz
> > I can go ahead with the histogram approach. There is some roundoff > ...
11 years, 8 months ago (2012-08-22 01:56:30 UTC) #25
tejohnson
On Tue, Aug 21, 2012 at 6:56 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> > I ...
11 years, 8 months ago (2012-08-22 05:33:58 UTC) #26
hubicka_ucw.cz
> On Tue, Aug 21, 2012 at 6:56 PM, Jan Hubicka <hubicka@ucw.cz> wrote: > >> ...
11 years, 8 months ago (2012-08-22 06:18:03 UTC) #27
tejohnson
On Tue, Aug 21, 2012 at 11:18 PM, Jan Hubicka <hubicka@ucw.cz> wrote: >> On Tue, ...
11 years, 8 months ago (2012-08-23 02:07:34 UTC) #28
hubicka_ucw.cz
> > I'm concerned about inaccuracies arising when multiple runs have > different sizes and ...
11 years, 8 months ago (2012-08-23 02:28:59 UTC) #29
tejohnson
Revision to earlier patch to augment the gcov program summary with working set information. We ...
11 years, 8 months ago (2012-08-28 14:45:55 UTC) #30
hubicka_ucw.cz
> Index: libgcc/libgcov.c > =================================================================== > --- libgcc/libgcov.c (revision 190736) > +++ libgcc/libgcov.c (working copy) ...
11 years, 8 months ago (2012-08-29 13:12:52 UTC) #31
tejohnson
On Wed, Aug 29, 2012 at 6:12 AM, Jan Hubicka <hubicka@ucw.cz> wrote: >> Index: libgcc/libgcov.c ...
11 years, 8 months ago (2012-08-29 21:41:33 UTC) #32
hubicka_ucw.cz
> On Wed, Aug 29, 2012 at 6:12 AM, Jan Hubicka <hubicka@ucw.cz> wrote: > >> ...
11 years, 8 months ago (2012-08-30 15:32:59 UTC) #33
tejohnson
I just committed the patch (included below). I implemented the occupancy bit vector approach for ...
11 years, 8 months ago (2012-09-04 21:23:51 UTC) #34
markus_trippelsdorf.de
On 2012.09.04 at 14:23 -0700, Teresa Johnson wrote: > I just committed the patch (included ...
11 years, 7 months ago (2012-09-05 07:12:45 UTC) #35
tejohnson
Sorry about that. I am right now trying to reproduce the profiledbootstrap problem that H.J. ...
11 years, 7 months ago (2012-09-05 15:09:23 UTC) #36
hjl.tools_gmail.com
On Wed, Sep 5, 2012 at 8:09 AM, Teresa Johnson <tejohnson@google.com> wrote: > Sorry about ...
11 years, 7 months ago (2012-09-05 15:44:26 UTC) #37
tejohnson
On Wed, Sep 5, 2012 at 8:44 AM, H.J. Lu <hjl.tools@gmail.com> wrote: > On Wed, ...
11 years, 7 months ago (2012-09-05 15:50:18 UTC) #38
hjl.tools_gmail.com
On Wed, Sep 5, 2012 at 8:50 AM, Teresa Johnson <tejohnson@google.com> wrote: > On Wed, ...
11 years, 7 months ago (2012-09-05 16:13:09 UTC) #39
tejohnson
11 years, 7 months ago (2012-09-05 16:35:43 UTC) #40
On Wed, Sep 5, 2012 at 9:13 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Sep 5, 2012 at 8:50 AM, Teresa Johnson <tejohnson@google.com> wrote:
>> On Wed, Sep 5, 2012 at 8:44 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> On Wed, Sep 5, 2012 at 8:09 AM, Teresa Johnson <tejohnson@google.com>
wrote:
>>>> Sorry about that. I am right now trying to reproduce the
>>>> profiledbootstrap problem that H.J. reported, which is on
>>>> x86_64-unknown-linux-gnu where I had successfully done a
>>>> profiledbootstrap before my commit.
>>>>
>>>> Unfortunately after svn updating my client I am hitting an unrelated
>>>> build problem with my profiledbootstrap (it can't find the rule to
>>>> make libc++11convenience.la) which is slowing me down.
>>>
>>> I can reproduce it with revision 190982 on Fedora 18/x86-64
>>> with 8-core.
>>
>> Ok, thanks. I am being blocked by an unrelated error:
>>
>> libtool: compile:
>> /home/tejohnson/extra/gcc_trunk_4_validate/tmp/./gcc/xgcc
>> -shared-libgcc -B/home/tejohnson/extra/gcc_trunk_4_validate/tmp/./gcc
>> -nostdinc++
-L/home/tejohnson/extra/gcc_trunk_4_validate/tmp/x86_64-unknown-linux-gnu/libstdc++-v3/src
>>
-L/home/tejohnson/extra/gcc_trunk_4_validate/tmp/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
>> -B/usr/local/x86_64-unknown-linux-gnu/bin/
>> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
>> /usr/local/x86_64-unknown-linux-gnu/include -isystem
>> /usr/local/x86_64-unknown-linux-gnu/sys-include
>> -I/home/tejohnson/extra/gcc_trunk_4/libstdc++-v3/../libgcc
>>
-I/home/tejohnson/extra/gcc_trunk_4_validate/tmp/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
>>
-I/home/tejohnson/extra/gcc_trunk_4_validate/tmp/x86_64-unknown-linux-gnu/libstdc++-v3/include
>> -I/home/tejohnson/extra/gcc_trunk_4/libstdc++-v3/libsupc++
>> -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings
>> -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections
>> -fdata-sections -frandom-seed=random.lo -g -O2 -D_GNU_SOURCE -c
>> /home/tejohnson/extra/gcc_trunk_4/libstdc++-v3/src/c++11/random.cc
>> -fPIC -DPIC -o random.o
>> /tmp/ccOm0d5x.s: Assembler messages:
>> /tmp/ccOm0d5x.s:33: Error: no such instruction: `rdrand %eax'
>> make[6]: *** [random.lo] Error 1
>>
>> Looks like I am being hit by:
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54419
>>
>> I'm going to try backing out all the changes related to this bug to
>> see if I can make progress on the profiledbootstrap.
>>
>
> You can install the latest binutils and put it in your PATH.

Ok, I just backed out the libstdc++ patches which fixed it for now. I
am trying a couple different profiledbootstraps. One with just
--with-build-config=bootstrap-lto and one with "--enable-clocale=gnu
--with-system-zlib --with-demangler-in-ld
--enable-languages=c,c++  --enable-gnu-indirect-function --with-fpmath=sse".

Thanks,
Teresa

>
> --
> H.J.



-- 
Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b