From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,100c510dac09e617,start X-Google-Attributes: gid111c93,public From: "Luke Lonergan" Subject: MFlops Comparison using g77 (bad news) Date: 1997/09/16 Message-ID: <5vl4lv$8ko@bgtnsc03.worldnet.att.net>#1/1 X-Deja-AN: 272839119 Organization: My Company Newsgroups: comp.os.linux.alpha All, I just installed RedHat 4.2, gcc-2.7.2.3 and g77-0.5.21 on a new Enorex 433 MHz Alpha 21164 machine. It uses the PC164 motherboard and has 256 MBytes of EDO RAM installed. I am running a simple Ocean model to benchmark machines. The computational kernel is simple: ---------------------------------------------------------------------------- ------------------------ C Operation count = 9 operations/grid point do j = 2, ny-1 do i = 2, nx-1 psi_new(i,j) = a1*psi(i+1,j)+a2*psi(i-1,j)+ & a3*psi(i,j+1)+a4*psi(i,j-1)- & a5*f(i,j) end do end do ---------------------------------------------------------------------------- ------------------------ This is the performance that I get: 36 MFlops on the 21164 Alpha 433 MHz (This is obviously unexpected) 40 MFlops on the PPro 200MHz 55 MFlops on the PentiumII 300 MHz 70 MFlops on the SGI Origin 2000 (MIPS R10000 at 195 MHz) 100 MFlops on the 21164 Alpha 450MHz on the Cray T3E 1000 MFlops on the Cray T90 One of several things is wrong. It's not the memory system, as I observe flat performance up to the 256 MBytes of memory on the machine. I think the compiler is the culprit. Any ideas? Luke Lonergan luke@navo.hpc.mil