From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,3b53bec0e2682868,start X-Google-Attributes: gid111c93,public X-Google-Thread: 101f01,3b53bec0e2682868,start X-Google-Attributes: gid101f01,public X-Google-Thread: 10d8ad,3b53bec0e2682868,start X-Google-Attributes: gid10d8ad,public X-Google-ArrivalTime: 2001-03-20 06:28:21 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!server3.netnews.ja.net!server4.netnews.ja.net!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail From: Stephen Cornell Newsgroups: uk.comp.os.linux,ucam.comp.linux,comp.os.linux.alpha Subject: Advice for number-crunching box Date: 20 Mar 2001 14:23:22 +0000 Organization: University of Cambridge, England Sender: cornell@localhost.localdomain Message-ID: NNTP-Posting-Host: torus.zoo.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) Xref: supernews.google.com uk.comp.os.linux:16341 comp.os.linux.alpha:2490 I have a grant to spend up to about =A36000 (ex VAT) on a number-crunching box. This machine will be used for long-running numerical simulations, and the most important factor is the speed at which it runs my own code, written (mostly) in Fortran 90. The grant doesn't become active for a couple of months, but I thought I'd start making plans now. I also need to be able to run some Microsoft software, as well as the usual suspects of Latex, Emacs, etc., but I could use my 3-year-old Pentium II machine for that and buy a headless calculating machine. On the other hand, if I opt for an x86 machine then I get a much nicer desktop for free, as it were. This new box will, of course, be running some form of *nix. The obvious choices seem to be Alpha or x86 architecture. Here's how far I've got. (1) Alpha or x86? = -------------- = Alpha is always hailed as the best number-crunching CPU out there. I was able to put this to the test with Compaq's `test drive' program. I ran some benchmarks using my own code, and found that (i) a Compaq E6/466 Mhz processor running True64 ran consistently 3-4 times faster than my Pentium II 300 Mhz (ii) Linux on Alpha ran 10-20% slower than True64. These ratios were more or less the same for 32-bit Integer code as for 64-bit floating-point, and also agree roughly with the benchmarks that I found on Compaq's web site. I was careful to try several different compiler options in all cases, so as to get the best performance. My code is typically cpu-bound rather than IO-bound, so I expect performance to scale with processor speed. Interestingly, the IA-64/666 in the test drive didn't perform any better than my Pentium II (taking into account the clock speed). It looks as though, for my purposes, an E6/466 is probably equivalent to a Pentium III/1000 (assuming the Pentium III is no faster than a Pentium III), and a Pentium 4/1.5 GHz is probably the equal of an E6/667. However, the x86 option is significantly cheaper than the Alpha one. An XP1000 workstation costs around =A36000 (this was, in fact, the basis for the sum in the grant proposal), and for =A32000 less I can get a top-spec, dual Xeon/1GHz system which will perform at least as well (my code is trivially parallelizable - stochastic simulations requiring lots of independent replicates - so performance scales with number of CPU's). Moreover, all software for Alpha (such as Matlab, Mathematica) is more expensive than for Linux/x86. So, I'd be grateful for advice on the following: * Is the above analysis flawed? Have I overlooked a good reason for going for the Alpha? = * Is there anyone selling dual-CPU Alpha-based hardware at less than =A36000 in the UK? http://www.alphalinux.org/hardware/vendors.shtml didn't come up trumps. (2) Which X86? = ----------- = Assuming that the X86 is the better bet, which should I go for? The fastest CPUs appear to be Pentium 4 or AMD Athlon, but I haven't seen any such machines with more than one processor. Pentium III come in vanilla and Xeon flavours, but I haven't found any documentation saying what benefit Xeon brings (unless one opts for the prohibitively expensive higher-cache options). Also, the different RAM options are highly confusing: some Pentium III machines are sold with RDRAM, but does this give any benefit over SDRAM if the system bus runs at only 133 MHz? So, can anyone help me with the following: * How important is it to opt for high-speed memory, especially when the system bus runs at 133 MHz? * Are there hardware vendors in the UK selling 2-way Pentium 4 or AMD Athlon systems? What about affordable 4-way systems? * Is it worth my while going for the Xeon option? * which processor gives the best performance for my money? The Compaq benchmarks I mentioned before suggest that the Athlon may be a better bet than a Pentium III at the same clock speed. I also have money to buy a new laptop, but that's a different story... -- = Stephen Cornell cornell@zoo.cam.ac.uk Tel/fax +44-1223-3= 36644 University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB= 2 3EJ