From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb9cd,3e10dbc776740ba1 X-Google-Attributes: gidfb9cd,public X-Google-Thread: 110292,3e10dbc776740ba1 X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,3e10dbc776740ba1 X-Google-Attributes: gid1164f8,public X-Google-Thread: f57db,3e10dbc776740ba1 X-Google-Attributes: gidf57db,public From: henley Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers. Date: 1997/03/10 Message-ID: <3324357D.A1@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 224420006 References: <5g120v$312@news-rocq.inria.fr> Organization: University of Minnesota Newsgroups: comp.benchmarks,comp.sys.intel,comp.sys.dec,comp.os.ms-windows.nt.misc Robert Harley wrote: > You have written your code for memory-op oriented machines like the > Intel chips. The Alpha is a register machine so you just have to tell > the compiler when it can keep things in registers. It took a few > minutes to put "const" in front of the src arguments in arith.c and > CG_arith.c, then "gcc -O4 -lm hybmc_all.c; a.out" gave: > > 266MHz Alpha: 91 Mflops > 500MHz Alpha: 163 Mflops For those of you who downloaded the source code, I made the changes that Robert (thanks!) suggested, so you can ftp them again. There were a few other points where this would make a big difference, especially in the shift routines in com.c. BTW, I wrote the first version of the code in assembly (CDPEAC) on the CM5 (the assembly routines ran at nearly 100MFlops/node, which was quite an achievement back in those days), and then moved it to the T3D. So I did not write it for any machine in particular. > It looks like the latter would beat a triple PPro if such a thing > existed ;) These numbers are still at the bottom end of what the > machines typically deliver, so it is likely that much more could be > done to optimise your code for Alpha... Lattice QCD with staggered fermions is notoriously difficult to get running fast, because it has a lot of scattering and gathering. I estimate that about half the time is spent shifting stuff around in memory. I spent my effort in coming up with an algorithm that minimizes this "communication". This, afterall, is the key to increased performance on MPP computers. so, I think the performance numbers you have given us on your fast alphas are very decent indeed, for lattice QCD!! Henley