From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,baadd4fe2bf1dd84 X-Google-Attributes: gid111c93,public From: "H.W. Stockman" Subject: Re: Redhat/Alpha computational performance???? Date: 1998/03/03 Message-ID: <34FBE52A.6D1C@swcp.com>#1/1 X-Deja-AN: 330525631 Content-Transfer-Encoding: 7bit References: <6d5453$sht@news1.newsguy.com> Content-Type: text/plain; charset=us-ascii Organization: Lentil Sorbet, Inc. Mime-Version: 1.0 Reply-To: hwstock@swcp.com Newsgroups: comp.os.linux.alpha Matt Kennel wrote: [...] > Looking at the source for "fdlibm" I don't see anything obvious which would > make it particularly bad---all the things which fdlibm routines do seem to > be ones which some "typical" numerical programs would do all the time, if > you take away the bit masking and exponent shifting. As has been pointed out before, the x86 can use hardware implementations of sine, cos and exp, which simplify coding. I think you will get spirited suggestions about the actual efficiancy of these routines if you post to comp.arch, and you may get some suggestions of fast replacement algorithms for the alpha (see sqrt case below). In the past, individual replacements for library math routines have been developed for the alpha, often improving speed dramtically. I found an archived thread on square roots for the alpha, in which Linus Torvalds gave a sqrt() substitute that was about an order of magnitude faster than the library routine. > At the moment it would be an unfair accusation, but I'll admit that I'm > worried Alpha is a great Specmark chip and not really a good science chip. > > :> Will you please port DEC C + Fortran + DEC libm to the Alpha under linux? I did some benchmarking of transcendental-heavy F77 codes on various processors, and the 500 MHz 21164a, with DEC FORTRAN/C, did indeed come out on top (a factor 3 over a PPro 200). The suggestion to me was to get an "old" DEC Unix system, with a valid DEC compiler and Unix license. Last August, such systems sold for about $900. The idea was to compile and statically link the code on this "compile server", then transfer the binaries to the Linux boxes.