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: f57db,3e10dbc776740ba1 X-Google-Attributes: gidf57db,public X-Google-Thread: 110292,3e10dbc776740ba1 X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,3e10dbc776740ba1 X-Google-Attributes: gid1164f8,public From: henley Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers. Date: 1997/03/11 Message-ID: <3325AE31.30F5@tonys.ecology.umn.edu>#1/1 X-Deja-AN: 224754441 References: <5g120v$312@news-rocq.inria.fr> <3324357D.A1@tonys.ecology.umn.edu> Organization: University of Minnesota Newsgroups: comp.benchmarks,comp.sys.intel,comp.sys.dec,comp.os.ms-windows.nt.misc > Robert Harley wrote: > > 266MHz Alpha: 91 Mflops > > 500MHz Alpha: 163 Mflops Rob has pushed this up to 177 Mflops by rewriting some of the numerical routines. The routines he has written produce faster code on alphas (and presumably on RISC cpus in general), but slower on Intel CPUs. So I left both versions in... you may compile whichever version you like. As an aside, I have noticed that attempting to optimize code by hand on compilers such as VC++ for Intel, I often came up with slower code... heh! None of the changes suggested to me so far have resulted in faster code on the ppro, but the changes have resulted in huge improvements on the alpha. Instead of asking me in email if you can download the source code, you can just go ahead and get it: ftp tonys.ecology.umn.edu username: bench password: mark The source code is in /QCD, get all of it. There is a readme. If you are not using multiCPU NT, you need to comment out the #define SMP_NT line in hybmc.h... and if you want to try Rob Harley's routines on your RISC CPU, you need to un-comment-out the #define FAST_VERSION in the same file. Then compile the single file hybmc_all.c .... yes, it is ugly, but easy to do: no makefiles! It is in ANSI C, so it should compile on anything. The code is very much a beta code, still being developed. I have put almost all my effort so-far into the development of the algorithm. It is a full Quantum Chromodynamics simulation which uses four flavors of quarks (staggered quarks. The simulation runs on a 8^4 lattice, and runs about 20 mins on a p133. At the end of the simulation, it reports the average number of Mflops performed per second. This is a grand challenge problem, so your input can be very valuable. And, it is a useful benchmark to compare all your computers, from the MPP Cray T3D to the quad CPU pentium pro workstation. Oh, before I forget, someone suggested I change everything to "double". I was about to say that this does not necessarily speed up the program, and it also can use too much memory (try a 64^4 lattice).... but I just went ahead and tried it on my pentium. It is slower on the pentium. So, what about on an alpha? I should try it... If you do run the code, please send me your results. If you tweak some of the routines (such as Rob Harley did, in fast_routines.c), then tell me about those too! I'll post results and useful tips for other programmers. I have also gotten tips on NT specific stuff, so I will add those too. Thanks to all who have sent me email. cheers Henley