From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f48e1ac6c46966f7 X-Google-Attributes: gid111c93,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Compaq Alpha / Samsung Up2000 Date: 1999/09/17 Message-ID: <7rtno9$jlm@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 526367816 References: <37E123F1.D7AD57C4@nat.vu.nl> <7rrlll$25n3@news2.newsguy.com> <37E24FAE.3F005E68@nat.vu.nl> Organization: The University of Calgary Newsgroups: comp.os.linux.alpha Christian Simmendinger (chrisi@nat.vu.nl) wrote: : Greg Lindahl wrote: : > Christian Simmendinger writes: : > : > > Has anyone got some numbers for the difference between : > > 2/4 Mb cache ? : > : > That depends strongly on your application. : hehe , ok ;-) : Let's put it this way: : Difference as compared to 21164 2/4 Mb ? I would substitute for Greg here: That depends strongly on your application. Since you would normally use different optimization flags to get the optimal performance from 21164 and 21264[*], many important characteristics of your code could change substantially between 21164 and 21264. This in turn makes blanket statement wrt the performance meaningless. Cheers, /Serge.P [*] If you are really serious about performance, you might also have to use different optimization flags for 2Mb and 4Mb cache configurations, particularly for computational kernels which can benefit from cache blocking and loop unrolling. As an example, you can tune DGEMM-based BLAS3 from netlib to use block size of 256. This will give you a nearly optimal performance on a system with 4Mb cache - but will run an order of magnitude slower on a system with 2Mb. You can also tune the same code to use block size of 128 - in which case you'll loose may be 5% on 4Mb system, but will run at exactly the same speed with 2Mb of cache. -- home page: http://www.cobalt.chem.ucalgary.ca/ps/