Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: axp@amazing.ch (Christoph Dworzak)
To: axp-list@redhat.com
Subject: Re: rpcc
Date: Tue, 12 Jan 1999 16:59:00 GMT	[thread overview]
Message-ID: <278f407d.u10t12e.e7d00-axp@amazing.ch> (raw)
In-Reply-To: <19990111205928.A3760@piglet.twiddle.net> (from Richard Henderson <rth@twiddle.net>) (at Mon, 11 Jan 1999 20:59:28 -0800)

On Jan 11 Richard Henderson (rth@twiddle.net) wrote:
> On Tue, Jan 12, 1999 at 03:55:00AM +0000, Christoph Dworzak wrote:
> > Why does it take up to 50% longer sometimes? (it really
> > does, checking with my wrist-watch.)
> 
> That really depends on the nature of `core()',

core() is actually core(n). It only depends on
n. no other variables. so it calculates exactly
the same for every run of my testprogram.

the core is mostly unconditional, but i had a test
to the end of the core which would skip some 300
instructions if a certain condition is true.

i took this out, so now the core has no
conditional code at all. i would expect, that
it takes the same amount of ops every time.
(calculations like "c=a+b" take up the same amount
of time, no matter what the values of a and b are.
right?)

I'm not shure, if the behavior of my program really
changed (maybe it's just that my computer was less
busy), but i hat to run my speedtest about 30 times
to get some runs which were slower. Mostly the
minimum was around 6300, but there are some runs
where the min was more than 7000...

Min=6317 Avg=6425
Min=6319 Avg=6429
Min=6316 Avg=6542
Min=6667 Avg=6926
Min=7076 Avg=7423
Min=6316 Avg=6499
Min=6321 Avg=6419
Min=6319 Avg=6425
Min=7077 Avg=7201
Min=6667 Avg=6836

> (1) page faulting, though that would surely only explain a 
>     higher average, not minimum.

My computer has 256MB RAM and right now it uses 200MB for
cacheing. I don't expect it to do pageing (the testprogram
is about 60kB in size and uses about 32kB for its variables).

> (2) page colouring.  this affects the efficiency of the caches.
>     there is no way under linux to control your page colour.

What is page colouring? Could you explain this or do you
know where I can read about it?


Thanks a lot Mr. Henderson. It's always a pleasure to learn
from people which know more than one self :)

Bye
 dworz


  parent reply	other threads:[~1999-01-12 16:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-12  3:55 rpcc Christoph Dworzak
1999-01-12  3:20 ` rpcc Peter Petrakis
1999-01-12  4:59 ` rpcc Richard Henderson
     [not found]   ` <rth@twiddle.net>
1999-01-12 16:59     ` Christoph Dworzak [this message]
1999-01-12 19:27       ` rpcc Richard Henderson
1999-01-12 21:06         ` rpcc Wes Bauske
1999-01-13  2:16           ` rpcc Richard Henderson
1999-01-14 16:17     ` Alpha 21264 Christoph Dworzak
1999-01-14 15:46       ` Greg Lindahl
1999-01-14 17:27       ` Richard Henderson
1999-10-24 15:04     ` patch_v2: (on Alpha) emulating missing instructions Christoph Dworzak
1999-10-25  9:47       ` Phil Carmody
  -- strict thread matches above, loose matches on Subject: below --
1999-01-13 14:10 Alpha 21264 Andy Almond
1999-01-13 16:36 ` Jeff Sturm
1999-01-14  6:50   ` Richard Henderson
1999-10-18 14:46 patch_v2: (on Alpha) emulating missing instructions Robert Harley
1999-10-18 15:31 ` Phil Carmody
1999-10-23 20:39   ` Richard Henderson
1999-10-21 16:23 ` patch_v3: emulating missing instructions on Alpha Luke Deller
1999-10-23 20:55   ` Richard Henderson
1999-10-24  0:28     ` Daniel Potts
1999-10-25  1:22     ` Luke Deller
1999-10-28 23:34       ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox