From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27629 invoked from network); 12 Jan 1999 16:21:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Jan 1999 16:21:50 -0000 Received: from julia.creaholic.com (euclid.creaholic.com [194.209.56.210]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA27833 for ; Tue, 12 Jan 1999 10:59:55 -0500 Received: from amazing.ch ([194.209.56.213]) by julia.creaholic.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-44790U100L100S0) with SMTP id AAA13636 for ; Tue, 12 Jan 1999 16:59:44 +0100 Received: by amazing.ch id <6umh@amazing.ch>; Tue, 12 Jan 1999 16:59:00 GMT To: axp-list@redhat.com In-Reply-To: <19990111205928.A3760@piglet.twiddle.net> (from Richard Henderson ) (at Mon, 11 Jan 1999 20:59:28 -0800) Organization: sometimes private, sometimes creaholic sa MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable From: axp@amazing.ch (Christoph Dworzak) Subject: Re: rpcc Message-Id: <278f407d.u10t12e.e7d00-axp@amazing.ch> Date: Tue, 12 Jan 1999 16:59:00 GMT 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.) >=20 > 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=3Da+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=3D6317 Avg=3D6425 Min=3D6319 Avg=3D6429 Min=3D6316 Avg=3D6542 Min=3D6667 Avg=3D6926 Min=3D7076 Avg=3D7423 Min=3D6316 Avg=3D6499 Min=3D6321 Avg=3D6419 Min=3D6319 Avg=3D6425 Min=3D7077 Avg=3D7201 Min=3D6667 Avg=3D6836 > (1) page faulting, though that would surely only explain a=20 > 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 =20dworz