From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,dcf2c3d9b4549885 X-Google-Attributes: gidf4671,public X-Google-Thread: f6653,dcf2c3d9b4549885 X-Google-Attributes: gidf6653,public X-Google-Thread: 11035d,dcf2c3d9b4549885 X-Google-Attributes: gid11035d,public X-Google-Thread: 1164f8,2870e3c2c7ff13cb X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,dcf2c3d9b4549885 X-Google-Attributes: gid102b75,public X-Google-Thread: f57db,2870e3c2c7ff13cb X-Google-Attributes: gidf57db,public From: brehob@cps.msu.edu (Mark W Brehob) Subject: Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Date: 1998/05/01 Message-ID: <6ibfqi$7sr$1@msunews.cl.msu.edu>#1/1 X-Deja-AN: 349154691 References: <35359B3A.2A830CB1@earthlink.net> <35487AF7.41C6@radia1.com> <6iam2p$fve$1@murrow.corp.sgi.com> <3548EC1B.41C6@radia1.com> <6iarfr$iq6$1@murrow.corp.sgi.com> Followup-To: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks Organization: Michigan State University Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks : Precisely. There is no penalty in local memory latency as the size : of the machine is increased. I know this thread is starting to look like "Beat-up on John" but I'll jump into the fray also. #1 John is right, for computers where each processor is doing independent work local access time is very important. Webservers likely fall into this as do "login servers" where users are running non-computationally intensive jobs (mail, news, netscape, etc.) While such a workload might be better served by a bunch of workstations, folks, for many reasons, often use an MP machine instead. (At MSU we do). #2 For workloads where data _is_ shared even local memory accesses can slow down on the SGI. A local memory address could be held in a remote cache. (We could define this as "non-local memory" if we wanted to but I would disagree will that definition). I've had this same fight at work. Someone calls NUMA "Hard to optimize for" while the other guy (me usually) calls UMA "Uniformly slow". The question is: Which has better average (non-hideable) latency? That depends so much on the workload and compiler it is almost a meaningless question. The non-hideable part adds even more complexity. You could compare SPECfp/$ or TPC-C/$ but even then you are introducing a huge number of variables. You make an engineering decision (ie educated guess) and pray. Not to mention defending your choice on USENET :-) : Of course the worse case remote accesses : get slower as the machine size grows -- that is simple physics. And, : of course, the average gets worse as the machine size grows -- that is : simple physics, too. But in the Origin2000, neither the worst case : nor the average case effects the local memory latency. This statement : can *not* be made of the other systems. : So what I am saying is that the "uniform" access machines tend to be : uniformly *high* latency as the machine size grows. There is no : local, reduced-latency memory in these "flat" machines that one could : take advantage of to improve performance. The Origin provides this, : and does it in a way that does not break the SMP programming model. : -- : -- : John D. McCalpin, Ph.D. Server System Architect : Server Platform Engineering http://reality.sgi.com/mccalpin/ : Silicon Graphics, Inc. mccalpin@sgi.com 650-933-7407