From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26019 invoked from network); 4 Sep 1998 12:08:26 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 4 Sep 1998 12:08:26 -0000 Received: from lilly.ping.de (qmailr@lilly.ping.de [195.37.120.2]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id IAA31354 for ; Fri, 4 Sep 1998 08:09:10 -0400 Received: (qmail 19556 invoked by uid 10); 4 Sep 1998 12:08:19 -0000 Received: from kg1.ping.de by lilly.ping.de with UUCP (rmail-0.1-fdc); 4 Sep 1998 12:08:19 -0000 Received: (from garloff@localhost) by kg1.ping.de (8.8.7/8.7.3) id LAA26081; Fri, 4 Sep 1998 11:08:35 +0200 Message-ID: <19980904110835.A26009@kg1.ping.de> Date: Fri, 4 Sep 1998 11:08:35 +0200 From: Kurt Garloff To: axp-list@redhat.com Subject: Re: Questions concerning Alpha clusters running Linux Mail-Followup-To: axp-list@redhat.com References: <199809022004.NAA00620@ironbark.arc.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.4i In-Reply-To: <199809022004.NAA00620@ironbark.arc.nasa.gov>; from Gary A. Allen on Wed, Sep 02, 1998 at 01:04:37PM -0700 X-Operating-System: Linux 2.1.119 i586 On Wed, Sep 02, 1998 at 01:04:37PM -0700, Gary A. Allen wrote: > Folks, > > A bunch of us at the STA Branch of the NASA Ames Research Center are sold on > the idea of using an array of Alphas running on PCI bus motherboards to do > scientific computations. Our ideas are currently embryonic: We are thinking > of having several desktop Alphas with Linux and Windows-NT partitions > (Windows-NT for shrink-wrap software and Linux for doing real scientific work) > and also having a large cluster of Alphas dedicated to scientific computations > using parallel algorithms. The large cluster would run with Linux as the > operating system and use applications compiled with the best legal compiler > available for Linux. Our machines would all be based on the new OEM Samsung > chips and motherboards. All of the generic PC stuff (cases, CRTs, keyboards, > video cards, hard disks, etc.) would be purchased at bottom dollar from local > vendors. We would assemble the machines in-house and wire them together using > high speed Ethernet connections. Seems to be a reasonable decision to me ... As for the compiler: I only know gcc/egcs and DEC UN*X compilers, so maybe you want to use one of those. I very successfully use egcs-1.1. The code produced by the DEC compiler is slightly faster, though. DEC compiler produces binaries for DEC Unix in ECOFF format. Linux is able to run those (for DUX4 binaries you need Linux-2.1.x), but you need to have the shared libraries of DEC Unix. You nead a DUX licence for this ... You can build statically linked binaries, of course. > The basic idea is our engineer/scientists would use their desktop machines > for code development or pure scalar computations and farm out their extremely > parallel algorithm CPU intensive work to the Alpha cluster. The primary > scientific application would be trajectory and computational fluid dynamic > simulations of spacecraft entering planetary atmospheres. The main problem is to parallelize your apps, if it's not already done. > Great minds work alike! I understand that a bunch of people at Los Alamos and > other places have built up Alpha clusters based on PCI bus motherboards and > the special effects for Titanic came from the same sort of architecture. I'm > a newbie humbly seeking advise from people who have actual experience building > these systems. Is this basic concept a dumb idea? For example: would fast > Intel or AMD chips running Linux be a better approach. Is using Linux a dumb > idea? Should I (shudder) be using only Windows-NT? High performance computer clusters with NT? Never heard of that. Might be possible, but prepare to spend much money, then .. For Floating Point calculations, Alphas (21164/A) are the right joice, unless you want to spend very much money, in which case you would buy RISCs from HP or SGI or wait for 21264. Intel (PII) boxes are only interesting, because they easily support SMP, IMHO. With SMP you can very easily develop and test parallel (Shared Mem!) code. But as you want to do massive parallel computing, this might not help you as the problems in these apps maybe completely different. A lot of people on this list already pointed you to Beowulf, so look what they did. > What are the hidden > pitfalls one encounters with an Alpha cluster that do not appear until after > the system has been built and running for a few weeks? Is using an Ethernet > message passing approach the best basis for an Alpha cluster running parallel > code? What's the optimal top CPU speed for an Alpha cluster? For example > if the Ethernet latency is the primary data bottleneck then a cluster based > upon the more expensive 800 Mhz. CPUs might perform no better than 533 Mhz. > CPUs. Our goal is to maximize CPU-cycles/dollar. We understand that there > are faster architectures out there (Cray T3D) but we can not afford them. In my opinion, 21164-533 have a very good performance per dollar, right now. If you wait some time, this might apply to 21164-600. I don't now if message passing is better for you than shared mem. Check what others do and check what your algorithm is easier to adapt to. If you saturate your ethernet or not with your fluid dynamics, depends a lot on your algorithm. You certainly use an iterative (self-consistent) algorithm and you may have different properties to calculate. So you might dedicate a set of boxes to do a part and another set to calculate some other properties. I do plasma simulations, and we have three modules: Plasma properties (ASDF, temperatures, ...), Transport (fluid dynamics) and EM-Fields. They are calculated self-consistently and require many (10000) iterations, before convergence is reached. The link between these modules is relativly small, e.g. the EM code only needs sigma and only returns the power density. What I would do, is to dedicate a set of computers to do the Plasma properties, one for the transport and one for the EM fields. I would not synchronize them too much. Just let them do iterations independently. Calculate (calculation inside the modules is also done iteratively, at the lowqest level by an iterative solver) until you get new data from the other modules. After finishing one calculation, post your results to the other modules, ask for new data and do the next calculation. When asked, provide the most recent results ... Got the idea ? -- Kurt Garloff, Dortmund PGP key on http://student.physik.uni-dortmund.de/homepages/garloff