From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,558daf67e4949172 X-Google-Attributes: gidf7344,public X-Google-Thread: 114669,2caf1b9cb227c27e X-Google-Attributes: gid114669,public X-Google-Thread: 102b75,558daf67e4949172 X-Google-Attributes: gid102b75,public X-Google-Thread: f6134,558daf67e4949172 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,558daf67e4949172 X-Google-Attributes: gid1164f8,public From: mccalpin@frakir.engr.sgi.com (John McCalpin) Subject: Re: Linux in OpenVMS Galaxy (was Re: "Compaq Strategic Directions" Date: 1999/07/22 Message-ID: <7n81v0$sf9$1@murrow.corp.sgi.com>#1/1 X-Deja-AN: 504160711 References: <378FC06D.58CF@smarts.com> <7n24fu$k08$1@murrow.corp.sgi.com> <7n7bm0$skf$1@news.u-bordeaux.fr> Organization: Silicon Graphics, Inc. Reply-To: mccalpin@engr.sgi.com Newsgroups: comp.sys.dec,comp.os.vms,comp.arch,comp.org.decus,comp.sys.super In article <7n7bm0$skf$1@news.u-bordeaux.fr>, wrote: >In comp.arch John McCalpin wrote: > >|It is certainly possible to run MPP-style message-passing codes on >|large ccNUMA machines, but that is not required for performance. > >No. MPP-style message-passing gives a better control for >communication & memory and performance goes with this 2 points. MPP-style message-passing demands specification of communication and memory access patterns. If the code is strongly cpu-dominated and cache-friendly, then the NUMA-ness of the memory accesses may be insignificant out to remarkably large processor counts. An example is the MM5 local-area weather code. Running on a single thread requires ~40 MB/s of memory bandwidth per 100 MFLOPS of sustained performance. This is under 10% of the single-node sustainable bandwidth of the Origin2000. So if you leave all the data on one node, then there are certainly scaling limitations when you want to use more than 10 cpus. On the other hand, if you spread the data around the machine, sustaining 40 MB/s NUMA memory traffic per cpu is trivial on the Origin2000. Remote access bandwidth ranges from 55% of local to 85% of local depending on where in the topology the data lies. To make this redistribution happen requires defining a single enviroment variable -- no recompile or system tuning is required. With this change, this code scales extremely well, delivering something along the lines of a >200x speedup on a 256p system. This is consistent with the previous suggestion that each thread runs effectively without contention, but with some threads taking as much as 20% of their time for memory accesses instead of 10% for the uniprocessor case. The code is all "shared memory", with only a small number of parallel processing directives added. Of course, those directives were added by an expert, so this does not mean that it was as simple as "f77 -O3".... -- -- John D. McCalpin, Ph.D. Principal Scientist System Architecture Group http://reality.sgi.com/mccalpin/ SGI mccalpin@sgi.com 650-933-7407