From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10d8ad,3b53bec0e2682868 X-Google-Attributes: gid10d8ad,public X-Google-Thread: 111c93,3b53bec0e2682868 X-Google-Attributes: gid111c93,public X-Google-Thread: 101f01,3b53bec0e2682868 X-Google-Attributes: gid101f01,public X-Google-ArrivalTime: 2001-03-20 12:34:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-feed5!btnet!mendelevium.btinternet.com!Colin.Brough From: Colin.Brough@btinternet.com (Colin Brough) Newsgroups: uk.comp.os.linux,ucam.comp.linux,comp.os.linux.alpha Subject: Re: Advice for number-crunching box Date: Tue, 20 Mar 2001 20:29:37 +0000 Organization: BT Internet Message-ID: References: Reply-To: Colin.Brough@REMOVE.btinternet.com NNTP-Posting-Host: host213-1-144-27.btinternet.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.5.7 (UNIX) Xref: supernews.google.com uk.comp.os.linux:16397 comp.os.linux.alpha:2500 On 20 Mar 2001 14:23:22 +0000, Stephen Cornell wrote: > I have a grant to spend up to about �6000 (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. Check the quality of the fan(s) on whatever you end up getting - CPU bound code, especially when it runs from cache, can run the processor hot.... especially if you have more than one CPU in the box... (MTBF goes down as the number of components goes up :-() > (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. With CPU bound code, this sounds like a compiler difference, rather than anything OS specific. What different compilers are available at present? (Its been a long time time since I was up on F90 compilers.) Is your code stable enough that hand-tuning the assembler inner loop would be worth it? (The best optimising compiler I ever came across was a guy named Steve - 10 fold speedup on the best available compiler on a i860 in the early 1990's!) > 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). What is the memory usage pattern of your code? This is where cache size will make a huge difference - I used to work at EPCC at Edinburgh Uni, and the biggest speeds up we got were often down to minimising cache misses (see above; so much for parallel programming!). Other thoughts: you say the code is CPU bound, but how big are the datasets, how are they loaded, check-pointed, saved? The I/O subsystem will make a big difference... and not just the disks, but also back-up to elsewhere, tape or server. -- Cheers Colin ps Remove 'REMOVE.' from Reply-To field to reply. ---------------------------------------------------------------------- Colin Brough Colin.Brough@btinternet.com