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: 102b75,dcf2c3d9b4549885 X-Google-Attributes: gid102b75,public X-Google-Thread: f57db,2870e3c2c7ff13cb,start X-Google-Attributes: gidf57db,public X-Google-Thread: 1164f8,2870e3c2c7ff13cb,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,dcf2c3d9b4549885 X-Google-Attributes: gid11035d,public From: mccalpin@frakir.engr.sgi.com (John McCalpin) Subject: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Date: 1998/04/25 Message-ID: <6ht5h2$grh$1@murrow.corp.sgi.com>#1/1 X-Deja-AN: 347611967 References: <35359B3A.2A830CB1@earthlink.net> <6hl9s9$fec$1@pulp.ucs.ualberta.ca> <6hmu26$il3$1@lyra.csx.cam.ac.uk> <6hpadq$le2$1@alanya.m.isar.de> Reply-To: mccalpin@engr.sgi.com Distribution: inet Organization: Silicon Graphics, Inc. Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks In article <6hpadq$le2$1@alanya.m.isar.de>, Lupe Christoph wrote: > >If you could quote a figure how "putting the memory the other side of >a bus" increased latency, I could start arguing about that. There is a lot of suggestive data out there, if you know how to look at it.... Several vendors offer large SMP machines using the same cpus as in smaller machines (uniprocessors or small SMP's). In every case, the latency of the larger machines is higher than the latency of the smaller machines, and the penalty is clearly visible in SPECfp95 performance. ----------------------------------------------------------------------- big machine small machine vendor model latency SPECfp95 model latency SPECfp95 DEC 8400 ~400 20.8 @ 612MHz 4100 ~250 25.1 @ 612MHz (1) HP V2250 500? 24.8 @ 240MHz K580 ??? 28.5 @ 240MHz (2) Sun UE10K ~500 11.3 @ 250MHz (3) UE450 ~200 15.0 @ 250MHz ----------------------------------------------------------------------- SGI Origin 290 24.5 @ 250MHz Origin 290 24.5 @ 250MHz ----------------------------------------------------------------------- Notes: (1) This result is estimated from the 466 MHz and 533 MHz results, assuming that SPECfp/MHz would remain fixed for a hypothetical 612 MHz 4100 with a 4 MB L3 cache. The published DEC result of 29.2 is higher because of the use of an 8 MB L3 cache on that system. So, John Henning, how close is my estimate? Note that the latency numbers here are from lmbench, and are not directly comparable to the latency numbers for the other platform. The important thing to note is the ratio between the "small platform" latency and the "large platform" latency. (2) I can't find my latency numbers for the HP K580 machine. As I recall, the figure is about 200-250 ns. The V2250 number is estimated to be about the same as the Exemplar S number. Performance results suggest that the V-series machines have improved the latency somewhat, but the results suggest that it is unlikely that the latency is down to the level of the K580. Any numbers from HP-land? (3) This is an extrapolated result based on the published SPECfp_rate result of 3280 on 32 cpus. The conversion is to divide the result by the number of processors to get SPECfp_rate per processor and then to divide by 9 to get the same units as SPECfp95. (Try this on uniprocessor SPECfp_rate results -- it is exact.) If the UE10K is already hitting scaling trouble by 32 cpus, then the single- cpu number might be a bit higher, but the published SPECfp_rate vs cpu count for the UE10K appears pretty linear in the 32-48 cpu range, and only drops off a bit at 64 cpus, so I am guessing that this is pretty close. So, Bradley Carlile and company, how close is my estimate? In summary, DEC loses 17% of uniprocessor SPECfp95 due to the increased latency of the larger system, Sun loses 25%, and HP loses 13%. The SGI results are in there to show that a correctly designed ccNUMA machine has no uniprocessor performance penalty when running in large configurations. >So I'll >just say that having a known uniform latency versus am unknown, >varying latency helps you quite a bit. There is plenty of data that suggests that this is not true. What I posted above is just a small piece. Look around for yourself at publicly available performance data -- the small low-latency machines always beat the "big iron" with the same cpu and cache.... >The STREAM benchmark shows that with hand-tuned code, you can >overload the backplane, but not with FORTRAN code. For the particular case of the Sun Ultra 4000/5000/6000 that has been the subject of this thread, this assertion is completely incorrect. Just look at the scalability of the SPECfp_rate results for the high-bandwidth codes (tomcatv, swim, and mgrid). Speedups on those codes are: fp_rate fp_rate code 1-copy 30-copies Speedup tomcatv 240 2082 8.7x swim 283 2993 10.6x mgrid 119 1949 16.4x If it is not possible to "overload the backplane" with Fortran codes, then why is it that running 30 independent copies of these codes doesn't give a 30x improvement in throughput? The answer is that (by a wide margin) the system memory interconnect does not provide enough bandwidth. -- -- 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