This is the mail archive of the
mailing list for the GCC project.
Re: Faster compilation speed
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Linus Torvalds <torvalds at transmeta dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 10 Aug 2002 21:38:12 -0400 (EDT)
- Subject: Re: Faster compilation speed
- Reply-to: dberlin at dberlin dot org
On Sat, 10 Aug 2002, Linus Torvalds wrote:
> In article <Pine.LNX.firstname.lastname@example.org> you write:
> >The numbers I get on a p4 with cachegrind are *much* worse in all cases.
> >The miss rates are all >2%, which is a far cry from 0.1% and 0.0%.
> One thing to look out for when looking at cache miss numbers is what
> they actually _mean_.
> The _best_ number to get (and in the end, the only one that really
> matters) is "cycles spent waiting on cache" and "cycles spent doing
> useful work", but I don't think valgrind gives you that. The P4
> counters should do it, though.
> If you wan tto use the HW counters under Linux, get "oprofile" from
> sourceforge.net. (I don't think it does P4 events yet, though)
brink and abyss do p4 events, which is what i'm using.