This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cache misses in gcc 3.3


On Sun, Feb 09, 2003 at 11:31:44PM +0100, Daniel Berlin wrote:
> 
> 
> On Sun, 9 Feb 2003, Andi Kleen wrote:
> 
> >
> > I ran a slightly older gcc 3.3 on linux in cachegrind
> > (http://developer.kde.org/~sewardj/) on an Athlon with 256K cache.
> > cachegrind is a cache simulator and gives detailed reports about
> > the caching behaviour of a program.
> 
> Cachegrind usually gives me *wildly* different results than real profiling
> (either with oprofile or vtune for linux).

So you think the results are wrong?

I admit some of the instruction cache results are a bit surprising, 
but the rest looked reasonable.

I can test later with oprofile (need to fix the oprofile module on this box first)

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]