From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,10dc57790e0ead82 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,10dc57790e0ead82 X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,36e5e519b6b43fb X-Google-Attributes: gid102b75,public From: Przemek Klosowski Subject: Re: Intel going to 0.18 micron in Q2/99? Date: 1999/02/12 Message-ID: <54btiz4kfy.fsf@rrdjazz.nist.gov>#1/1 X-Deja-AN: 443673590 References: <36BAC1F5.9BFAFA51@strategypartners.com> <36bf003a.43955923@news.pressroom.com> <1999Feb8.125903.1@eisner> <36bf4c2c.2244951@news.pressroom.com> <79o94v$4io@web.nmti.com> <79po7u$e57$1@nnrp1.dejanews.com> <36c0a13c.0@news.destek.net> <79ro7d$6ic$1@nnrp1.dejanews.com> <79v3uh$5rm$1@nnrp1.dejanews.com> <36C333F7.AF01425B@moene.indiv.nluug.nl> <36C3AAA5.2D0A@wizard.com> <36C412C7.ECF73A51@moene.indiv.nluug.nl> Organization: NIST Newsgroups: comp.arch,comp.sys.intel,comp.sys.dec Toon Moene writes: > > > 4. Compiling LAPACK with g77 (or Digitals compiler) won't give you > > > much performance. If you want to do linear algebra at close to > > > 900 MFLOPs on a 600 Mhz 21164, you have to use specially crafted > > > assembler (again, see http://www.alphalinux.org) > > > > I don't think a 450 MHz PII will do much better than ~300 MFLOPS > > on DGEMM (1000x1000). Could one get, say, twice that performance on > > a 600 MHz 21164, without resorting to assembler? (asked in > > earnest, I didn't see an obvious answer at the http above.) > > Without going to assembler ? I think not. I don't have the numbers > handy, but what I recall from them is that with "a" Fortran compiler one > gets performance in the two digit MFLOPs, whereas assembler will give > you (quoting Kazushige Goto (goto@statabo.rim.or.jp) email to the Red > Hat AXP mailing list d.d. Tue, 17 Mar 1998 22:26:47 +0900): > > ..... 980 MFlops(600MHz 21164A machine)). While Mr. Goto did a wonderful job in the assembly language implementation of DGEMM, R. Clint Whaley and Jack Dongarra came up with a promising approach using high level languages. Basically they parametrize the code for different cache and cache line sizes, and run an optimization pass that finds the correct values of these parameters (of course one needs to do this just once per given implementation/architecture). With thus obtained values, their DGEMM is within 5-10% (sometimes from below, sometimes even from above) of the optimized vendor BLAS routines. See their page at http://www.netlib.org/atlas/index.html Of course this approach is not likely to make up for such compiler deficiencies as suboptimal instruction scheduling and tricks such as 'quadruple sqrt' on DEC, but on the other hand they can adapt faster to new implementations, where rewriting hand-tuned assembly might take a while. I was impressed by their results. -- przemek klosowski (301) 975-6249 NIST Center for Neutron Research (bldg. 235), E111 National Institute of Standards and Technology Gaithersburg, MD 20899, USA .. and for spam extractors, FCC Commisioners' email is: wkennard@fcc.gov,sness@fcc.gov,pmisener@fcc.gov,mpowell@fcc.gov