From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b1d46dd48c1e5b28 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,b1d46dd48c1e5b28 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-11 13:20:45 PST Xref: gmd.de comp.sys.dec:7616 comp.unix.osf.osf1:381 Path: gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!sousa.tay.dec.com!sousa.tay.dec.com!sites From: sites@sousa.tay.dec.com (Dick Sites) Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Subject: Re: AXP 3000/300 oddity #1 -- CPU timings Date: 11 May 1993 16:18:12 GMT Organization: Digital Equipment Corporation, Littleton MA Distribution: world Message-ID: <1sojk4$mrn@sousa.tay.dec.com> References: Reply-To: sites@sousa.tay.dec.com (Dick Sites) NNTP-Posting-Host: sousa.tay.dec.com The most common reason for seeing approximately 20% performance differences from run to run of a benchmark program is that the various runs have different pages on the freelist, so end up with different virtual->physical mappings. Some runs then by fluke get page mappings that thrash in the direct-mapped cache. This effect is most pronounced in benchmarks (Murphy rules :-)). There are a number of techniques to minimize it, including the obvious set-associate caches, and OS memory allocation policies that give the effect of bigger pages or at least the identity mapping in several bits just above the offset-within-page address bits, to the less obvious (to me) deliberate remapping of pages to reduce thrashing. I expect you will see some or all of these techniques used throughout the industry over the next several years. -- Dick Sites, who does not speak for Digital, but knows a little about Alpha AXP(tm). :-) sites@tallis.enet.dec.com