* Latency vs performance (was Re: Sun Servers take advantage of board local memory?) [not found] ` <6hpadq$le2$1@alanya.m.isar.de> @ 1998-04-25 4:00 ` John McCalpin 1998-04-25 4:00 ` Carl Perkins ` (2 more replies) 0 siblings, 3 replies; 38+ messages in thread From: John McCalpin @ 1998-04-25 4:00 UTC (permalink / raw) In article <6hpadq$le2$1@alanya.m.isar.de>, Lupe Christoph <lupe@alanya.m.isar.de> 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin @ 1998-04-25 4:00 ` Carl Perkins 1998-04-25 4:00 ` John McCalpin 1998-04-27 4:00 ` Maynard Handley 1998-04-26 4:00 ` Mark W Brehob 1998-05-05 4:00 ` Doug Siebert 2 siblings, 2 replies; 38+ messages in thread From: Carl Perkins @ 1998-04-25 4:00 UTC (permalink / raw) mccalpin@engr.sgi.com writes... }There is a lot of suggestive data out there, if you know how }to look at it.... What if you are looking at it wrong? }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 }----------------------------------------------------------------------- } }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. }John D. McCalpin, Ph.D. Server System Architect In summary, DEC gains 20% of multiprocessor SPECfp95 due to the decreased latency of the smaller system, Sun gains 32%, and HP gains 15%. The SGI results are there to show that an incorrectly designed ccNUMA machine has no uniprocessor performance gain when running in small configurations. Just another way of looking at things. --- Carl ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-25 4:00 ` Carl Perkins @ 1998-04-25 4:00 ` John McCalpin 1998-04-27 4:00 ` Maynard Handley 1 sibling, 0 replies; 38+ messages in thread From: John McCalpin @ 1998-04-25 4:00 UTC (permalink / raw) In article <25APR199814272773@gerg.tamu.edu>, Carl Perkins <carl@gerg.tamu.edu> wrote: >mccalpin@engr.sgi.com writes... >} >}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. >}John D. McCalpin, Ph.D. Server System Architect > >In summary, DEC gains 20% of multiprocessor SPECfp95 due to the >decreased latency of the smaller system, Sun gains 32%, and HP >gains 15%. The SGI results are there to show that an incorrectly >designed ccNUMA machine has no uniprocessor performance gain >when running in small configurations. > >Just another way of looking at things. Yes, this is certainly another way of looking at things. Not a very good one, but it is a way of looking.... On the plus side, you can look forward to a bright future in product marketing! -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-25 4:00 ` Carl Perkins 1998-04-25 4:00 ` John McCalpin @ 1998-04-27 4:00 ` Maynard Handley 1998-04-28 4:00 ` John McCalpin 1 sibling, 1 reply; 38+ messages in thread From: Maynard Handley @ 1998-04-27 4:00 UTC (permalink / raw) In article <25APR199814272773@gerg.tamu.edu>, carl@gerg.tamu.edu (Carl Perkins) wrote: > What if you are looking at it wrong? > > }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 > }----------------------------------------------------------------------- > } > }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. > }John D. McCalpin, Ph.D. Server System Architect > > In summary, DEC gains 20% of multiprocessor SPECfp95 due to the > decreased latency of the smaller system, Sun gains 32%, and HP > gains 15%. The SGI results are there to show that an incorrectly > designed ccNUMA machine has no uniprocessor performance gain > when running in small configurations. And, for those of us simply looking on at this, and with no especial stake in who's right or wrong, the above numbers, in the absence of the cost attached to each box are not really useful For example, if SGI's (according to John) superbly engineered cc-NUMA box costs 1.5x as much as the comparable DEC box, maybe that superb engineering is not the best use of resources. Maynard -- My opinion only ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` Maynard Handley @ 1998-04-28 4:00 ` John McCalpin 1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group 0 siblings, 1 reply; 38+ messages in thread From: John McCalpin @ 1998-04-28 4:00 UTC (permalink / raw) In article <handleym-2704981224210001@handma.apple.com>, Maynard Handley <handleym@apple.com> wrote: > > John McCalpin wrote: >> 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 >> ----------------------------------------------------------------------- >> >> 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. >> John D. McCalpin, Ph.D. Server System Architect > >And, for those of us simply looking on at this, and with no especial stake >in who's right or wrong, the above numbers, in the absence of the cost >attached to each box are not really useful For example, if SGI's >(according to John) superbly engineered cc-NUMA box costs 1.5x as much as >the comparable DEC box, maybe that superb engineering is not the best use >of resources. Thank you for that opportunity, Maynard, to make an apples-to-apples comparison. ;-) The SGI Origin2000 has list pricing significantly lower than the DEC 8400, the HP V2250, or the Sun Ultra 10000, for comparable configurations (same cpu, memory, and I/O). Some examples: SPECfp95 fprate SPECint95 intrate Machine MHz cpus RAM US list rate per k$ rate per k$ SGI Origin2000 250 16 4 GB $491k 3019 6.2 2088 4.3 HP V2250 240 16 4 GB $777k 2471 3.2 2209 2.8 Sun UE10000 336 16 4 GB $1043k ~2200 2.1 1718 1.6 DEC 8400 612 14 4 GB $834k ~1600 1.9 2143 2.6 Notes: (1) The Sun SPEC95 rates were estimated as 1/2 of the 32-cpu results, and then scaled linearly from the published 250 MHz results to the new 336 MHz processors. (2) The DEC SPECfp_rate results was scaled linearly from 12 to 14 cpus. (This is quite generous, since the 12-cpu result is strongly bandwidth-limited already, and adding more cpus will just make that contention worse.) These are, of course, not official quotations, but they are estimates from an independent third-party consulting firm (except for the SGI estimates, which are my entirely unofficial readings of the SGI price book). These estimates include the O/S, but do not include other software, maintenance contracts, etc.... Anyway, there is about a 2x price range, and about a 3x price/performance range. Pricing on small machines is harder to come by, but here are some numbers for 4-cpus in a mid-size server: Some examples: SPECfp95 fprate SPECint95 intrate Machine MHz cpus RAM US list rate per k$ rate per k$ SGI Origin2000 250 4 1 GB $112k 753 6.7 523 4.7 HP K580 240 4 1 GB $197k 532 2.7 610 3.1 Sun UE3000 336 4 1 GB $112k ~668 6.0 ~498 4.4 and here for 4 cpus in a non-expandible server: Some examples: SPECfp95 fprate SPECint95 intrate Machine MHz cpus RAM US list rate per k$ rate per k$ SGI Origin200 180 4 1 GB $ 56k 559 10.0 389 6.9 Sun UE450 296 4 1 GB $ 62k 561 9.0 422 6.8 DEC 4100 533 4 1 GB $113k 565 5.0 575 5.1 Notes: (1) I don't have pricing on the new DEC 4100 with 600 MHz cpus and 8 MB L3 caches, so I used price and performance data for the 533 MHz system (which is clearly not a slouch). (2) The Sun UE3000 specrate numbers were estimated from the 6-cpu results at 250 MHz. (Multiply by 2/3, then scale linearly from 250 to 335 MHz). -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-28 4:00 ` John McCalpin @ 1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group 1998-04-28 4:00 ` John McCalpin 1998-04-30 4:00 ` Jim Tuccillo 0 siblings, 2 replies; 38+ messages in thread From: Jeremy Harris SUN Telco Platforms Group @ 1998-04-28 4:00 UTC (permalink / raw) John McCalpin wrote: > >> ----------------------------------------------------------------------- > >> 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 > >> ----------------------------------------------------------------------- John, could you expand the "big machine latency" column to show the difference between process working set small enough to live on one node and large enough to require distribution over several nodes? Cheers, Jeremy ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group @ 1998-04-28 4:00 ` John McCalpin 1998-04-30 4:00 ` Jim Tuccillo 1 sibling, 0 replies; 38+ messages in thread From: John McCalpin @ 1998-04-28 4:00 UTC (permalink / raw) In article <3545A4C3.2F0E@uk.sun.com>, Jeremy Harris SUN Telco Platforms Group <Jeremy.Harris@uk.sun.com> wrote: >John McCalpin wrote: >> >> ----------------------------------------------------------------------- >> >> 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 >> >> ----------------------------------------------------------------------- > > John, could you expand the "big machine latency" column to show > the difference between process working set small enough to live > on one node and large enough to require distribution over several > nodes? I am not sure that my ASCII artwork is up to the task (since this rapidly becomes multi-dimensional), but I can describe the behavior, anyway.... On the SGI Origin2000 (or other ccNUMA machines), a trade-off is made between local and remote accesses. Local accesses can be made significantly faster, but as a consequence, remote accesses become somewhat more complicated (at the hardware level), and therefore slower. On the 250 MHz Origin2000, the formula for latency is 290 ns for local access, plus 160 ns for leaving the node, plus 100 ns for each router traversed (50 ns for the outgoing request plus 50 ns for the incoming data). The Origin2000 is built using a "bristled hypercube" topology, which minimizes the number of router traversals required. For example, the 16-cpu machine discussed has a maximum of 3 router traversals for the worst case. We also offer the option of "express links" using one of the extra router ports to reduce the worst case to 2 router traversals. But just to keep the discussion general, I will look at the standard case. The 16-cpu Origin2000 has 4 routers arranged in a square, and each router has 2 nodes attached to it. Each "node" has some memory and 2 cpus. The quantity of memory at each "distance" is: local 1 node 1 router 1 node 2 routers 4 nodes 3 routers 2 nodes So for data that is completely uniformly distributed, the average latency is: 1/8*( 1*(290) +1*(290+160+100) +4*(290+160+200) +2*(290+160+300) ) ---------------- (290 + 550 + 4*650 + 2*750)/8 = 4940/8 = 618 ns. So there is some penalty (relative to a "flat" SMP system) if you pay no attention to locality at all, and just get random placement of the data. Note that this is a small penalty relative to the "big" Sun UE10000 (at ~500 ns), but a large penalty relative to the "mid-sized" Sun UE6000 (at ~250 ns). There are a variety of operating system mechanisms in place to give you better locality than this (for example, each job gets pages locally first, and if those run out, it gets pages from near nodes before distant ones), however if you are using all the memory in the machine for a single process, the average latency will be as shown above. For unit-stride accesses, the bandwidth to/from remote memory is closer to being uniform than the latency. For example, a "bcopy()" operation with one local reference and one remote reference (3 routers away) runs at about 88% of the performance of the case with both local references. The absolute rate for bcopy therefore varies between 146 MB/s for all local accesses down to 130 MB/s for "one-operand-three-hops-away" to about 105 MB/s for "both-operands-three-hops-away". This can be compared to 82 MB/s for the "flat" Sun Ultra 10000 server, and 140 MB/s for the smaller "flat" Sun Ultra 6001 server. (Here I am using the "bcopy()" convention for counting bytes -- to get STREAM Copy numbers, double these figures). The cases with contention are more complicated, and I will save that discussion for another time.... To summarize, ccNUMA machines optimize for local memory performance at a slight penalty for global random-access latency, but not necessarily for remote access bandwidth. The benefit is superior local memory latency and bandwidth, and decreased cost (i.e., no need to buy a big crossbar/switch/bus). -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group 1998-04-28 4:00 ` John McCalpin @ 1998-04-30 4:00 ` Jim Tuccillo 1998-04-30 4:00 ` John McCalpin 1 sibling, 1 reply; 38+ messages in thread From: Jim Tuccillo @ 1998-04-30 4:00 UTC (permalink / raw) According to SGI's documentation ( for 195 MHz CPUs ), # of CPUs Max Latency Average Latency Min Latency --------------------------------------------------------------------- 2 343 343 318 4 554 441 318 8 759 623 318 16 759 691 318 32 836 764 318 The original table ( below ) is not valid since it compares SGI local node latency ( and not the latency to any memory location in the system ) to the latency for any memory location for the DEC, SUN, and HP uniform memory access SMPs. It is like comparing apples to bananas. It makes more sense to compare the average latency in the above table to the DEC, HP, and SUN numbers below. In addition, the SPECfp numbers for the SGI were generated by running in the local node memory - an application that was big enough to require the memory of other nodes will, of course, suffer because of the decrease in memory performance once you go "off node" - memory performance on the uniform memory access SMP is constant ( by definition ). All of this stuff doesnt really matter since the performance and functionality of the systems for your workload is more important. Jeremy Harris SUN Telco Platforms Group wrote: > > John McCalpin wrote: > > >> ----------------------------------------------------------------------- > > >> 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 > > >> ----------------------------------------------------------------------- > > John, could you expand the "big machine latency" column to show the > difference > between process working set small enough to live on one node and large > enough > to require distribution over several nodes? > > Cheers, > Jeremy -- ========================================================================= Jim Tuccillo jjt@radia1.com IBM jjt@vnet.ibm.com 415 Loyd Road voice: 770.487.6694, fax: same, call first Peachtree City, GA 30269 http://www.radia1.com/jjt1 ========================================================================= ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-30 4:00 ` Jim Tuccillo @ 1998-04-30 4:00 ` John McCalpin 1998-04-30 4:00 ` Jim Tuccillo [not found] ` <6ianno$19lk$1@news.rchland.ibm.com> 0 siblings, 2 replies; 38+ messages in thread From: John McCalpin @ 1998-04-30 4:00 UTC (permalink / raw) In article <35487AF7.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: > >The original table ( below ) is not valid since it compares SGI local >node latency ( and not the latency to any memory location in the system >) to the latency for any memory location for the DEC, SUN, and HP >uniform memory access SMPs. Of course it is a "valid" comparison, because I clearly stated what the assumptions/restrictions were. In many cases, when running N independent processes on an N cpu system, you will find almost no remote memory references -- most of the jobs have working sets that are smaller than the node's memory, or they use the caches effectively and don't make many memory references to *any* locations. The SPEC_rate benchmarking methodology has the first characteristic for all the tests, and the second characteristic for more than 1/2 of the 18 benchmarks. Obviously, it is quite possible for one job to use all the memory in the machine. If the accesses to that global memory are uniformly distributed, then you will see the average latency that I posted in my follow-up analysis. Whether this is the right way for a particular user to view the machine depends on what that user's code is doing.... >It is like comparing apples to bananas. It >makes more sense to compare the average latency in the above table to >the DEC, HP, and SUN numbers below. Only if you are doing random accesses across the whole memory of the machine. This is a valid, but rare, access pattern. You won't see it when running multiple independent jobs, you won't see it when running most parallelized scientific/engineering applications. You will see these uniform, global access patterns (as Ashok Singal pointed out) for TPC-C benchmarks (but less so for TPC-D), and for certain codes run by the National Security Agency. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-30 4:00 ` John McCalpin @ 1998-04-30 4:00 ` Jim Tuccillo 1998-04-30 4:00 ` John McCalpin [not found] ` <6ianno$19lk$1@news.rchland.ibm.com> 1 sibling, 1 reply; 38+ messages in thread From: Jim Tuccillo @ 1998-04-30 4:00 UTC (permalink / raw) John McCalpin wrote: > > In article <35487AF7.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: > > > >The original table ( below ) is not valid since it compares SGI local > >node latency ( and not the latency to any memory location in the system > >) to the latency for any memory location for the DEC, SUN, and HP > >uniform memory access SMPs. > > Of course it is a "valid" comparison, because I clearly stated > what the assumptions/restrictions were. Nonsense. You were trying to make the point that SGI equipment doesnt suffer the decrease in memory performance of other systems when the number of CPUs is increased. The comparision between uniform memory access systems ( such as the HP, DEC, and SUN ) and the SGI is not valid without showing the increase in latency on the SGI system to remote memory locations as CPUs increase. You only provided the "local" latency and therefor only gave half the picture. ========================================================================= Jim Tuccillo jjt@radia1.com IBM jjt@vnet.ibm.com 415 Loyd Road voice: 770.487.6694, fax: same, call first Peachtree City, GA 30269 http://www.radia1.com/jjt1 ========================================================================= ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-30 4:00 ` Jim Tuccillo @ 1998-04-30 4:00 ` John McCalpin 1998-05-01 4:00 ` ASHOK SINGHAL 1998-05-01 4:00 ` Mark W Brehob 0 siblings, 2 replies; 38+ messages in thread From: John McCalpin @ 1998-04-30 4:00 UTC (permalink / raw) In article <3548EC1B.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: >John McCalpin wrote: >> >> In article <35487AF7.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: >> > >> >The original table ( below ) is not valid since it compares SGI local >> >node latency ( and not the latency to any memory location in the system >> >) to the latency for any memory location for the DEC, SUN, and HP >> >uniform memory access SMPs. >> >> Of course it is a "valid" comparison, because I clearly stated >> what the assumptions/restrictions were. > >Nonsense. You were trying to make the point that SGI equipment doesnt >suffer the decrease in memory performance of other systems when the >number of CPUs is increased. Precisely. There is no penalty in local memory latency as the size of the machine is increased. 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-30 4:00 ` John McCalpin @ 1998-05-01 4:00 ` ASHOK SINGHAL 1998-05-08 4:00 ` John McCalpin 1998-05-01 4:00 ` Mark W Brehob 1 sibling, 1 reply; 38+ messages in thread From: ASHOK SINGHAL @ 1998-05-01 4:00 UTC (permalink / raw) John McCalpin wrote: > > In article <3548EC1B.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: > >John McCalpin wrote: > > Precisely. There is no penalty in local memory latency as the size > of the machine is increased. We could also have arranged for Sun machines to have this property by forcing smaller systems to have longer latencies so that the bigger systems don't pay an "additional" penalty. That would, of course, have been a silly thing to do. It's similar to the old trick with "scaling". You can get anything to "scale" better if you make the base case slower. But that is what SGI has done. Their small O2000 systems do indeed pay a large penalty in *local* latency for the ability to expand the system for no further local latency penalty (there are large increases in average latencies in most apps). The local 290 ns "restart" latency on a 2-way O2000 is much worse than that of a 4-way E450. It is even worse than a much larger Sun E4000 or E6000 that has to traverse over a 2-level hierarchy of shared buses (UPA and Gigaplane) to another board and back. So yes, they pay no additional in local latency for scaling to bigger systems, but a large part of that reason is because they have a high local latency for small systems to begin with. Ashok Singhal Sun Microsystems ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-01 4:00 ` ASHOK SINGHAL @ 1998-05-08 4:00 ` John McCalpin 1998-05-12 4:00 ` ASHOK SINGHAL 0 siblings, 1 reply; 38+ messages in thread From: John McCalpin @ 1998-05-08 4:00 UTC (permalink / raw) In article <354A0344.B38B650C@Eng.Sun.Com>, ASHOK SINGHAL <ashok.singhal@Eng.Sun.Com> wrote: >John McCalpin wrote: >> >> In article <3548EC1B.41C6@radia1.com>, Jim Tuccillo <jjt@radia1.com> wrote: >> >John McCalpin wrote: >> >> Precisely. There is no penalty in local memory latency as the size >> of the machine is increased. > > >We could also have arranged for Sun machines to have this property >by forcing smaller systems to have longer latencies so that the >bigger systems don't pay an "additional" penalty. >That would, of course, have been a silly thing to do. Yes, it would have been silly. >But that is what SGI has done. No, not really, but this gets to historical issues. SGI has never built the lowest latency systems in the industry. The 195 MHz Origin2000 machines have a local latency that is about 1/3 of the latency of their predecessor, the Power Challenge system, and the new 250 MHz Origin2000's are down to about 1/4 of the Power Challenge latency -- all with the same cpu (the R10000). Future R12000-based systems, and subsequent ccNUMA machines will continue to reduce the latency. A more historically accurate rendition of Ashok's comment would be something along the lines of: "SGI missed the opportunity to build small systems with even lower latency, going instead with ccNUMA systems with moderate local latency and larger remote latency." This is probably correct. We could have built slightly better performing small systems by optimizing for that special case. What we did instead was use the same electronics in the small systems and the large systems so that we could reduce the price of both large and small systems, rather than increase the performance of the small systems. > Their small O2000 systems do indeed pay a large penalty in > *local* latency for the ability to expand the system for no > further local latency penalty (there are large increases in > average latencies in most apps). This last statement is not generally true. Do "most" apps use more than 50% of the memory of a 4-cpu (2-node) system? Some certainly do, and for these, the portion of the memory used that is over the 50% mark will have to be allocated on the remote node, and suffer increased latency. However, it seems to me that "most" individual apps will fit in local memory, especially if the machine is running on the order of one application per cpu. In that case, if "most" apps used more memory than was available locally, the physical memory of the machine would be oversubscribed, and the machine would thrash horribly. This is painful enough that most people manage to make it not happen, either by serializing the execution of the large-memory jobs, or by buying more RAM. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-08 4:00 ` John McCalpin @ 1998-05-12 4:00 ` ASHOK SINGHAL 1998-05-13 4:00 ` John McCalpin 0 siblings, 1 reply; 38+ messages in thread From: ASHOK SINGHAL @ 1998-05-12 4:00 UTC (permalink / raw) John McCalpin wrote: > > > However, it seems to me that "most" individual apps will fit in > local memory, especially if the machine is running on the order Depends on how you count "most". If you bundle the whole category of database applications into a single "app" then maybe you are right. Of course, that ignores the fact that a large number of machines run many instances of precisely those. Even assuming you're only talking about single-threaded apps in a timesharing enviroment, what you say below is false. > of one application per cpu. In that case, if "most" apps used > more memory than was available locally, the physical memory of > the machine would be oversubscribed, and the machine would thrash > horribly. This is painful enough that most people manage to make > it not happen, either by serializing the execution of the > large-memory jobs, or by buying more RAM. Simple arithmetic in an example shows why this is false. Suppose there are 16 processors and each processor has local memory of 64 MB (for a total of 1024 MB). Suppose there are 15 apps that use 68 MB of memory and 1 app that uses 3 MB of memory. Clearly, in this example "most" apps (15 out of 16), don't fit in local memory, and yet the total memory used is less than the available memory ((15 * 68) + 3 = 1023). Not only is it false, but it is also it is also a naive view of servers used for running general apps and timesharing. 1. You can have situations where the sum of all the application memory is greater than the total memory available, but memory is still not oversubscribed. That's because even applications implicitly share memory even if they are completely single-threaded. An example of this is shared libraries, and its very likely that libraries such as libc, libX11 etc are shared extensively. So either you replicate these (which uses more memory and results in quicker onset of paging/swapping) or you have applications making remote accesses. Either way you get a performance penalty. 2. On Solaris (and probably in Irix as well??) memory caches parts of the file system. Therefore, unless an application runs on exactly the same node that has the cache for all the files it touches (which the OS can't know until the application runs), it will make remote access. 3. Non-local memory may result, even if there is plenty of memory, as a result of load balancing. Consider an example: A large, memory-intensive simulation is blocked waiting for some user interaction. Another process starts on the CPU (other CPUs happen to be busy at this time with a short burst of activity) and allocates a bunch of memory locally (there's plenty of memory so this is not a problem). The other CPUs then free up. Finally, the simulation job gets unblocked but the other process is now running and has a bunch of local memory allocated. You'd need to migrate one of those two proceses over to a remote CPU. This is not an unusual case. Often, even on a system with a light average load, there are bursts of high load for small periods of time, and typically there are lots more processes than there are procesors, most of which are blocked waiting for some IO or event. Implementing very strong processor affinity in an attempt to get good memory locality can have a negative impact on effectiveness of load balancing. Specrate runs N copies of a benchmark, waits for all copies to complete, runs N copies of another benchmark, etc. Typically N is the same as the number of CPUs, there are no other significant runnable jobs and there is consequently no load-balancing at all. There is also no memory pressure and the applications block very little. Perhaps this is typical of some general timesharing systems, but if it is, I haven't seen any examples. - Ashok Singhal Sun Microsystems ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-12 4:00 ` ASHOK SINGHAL @ 1998-05-13 4:00 ` John McCalpin 0 siblings, 0 replies; 38+ messages in thread From: John McCalpin @ 1998-05-13 4:00 UTC (permalink / raw) In article <35589F27.9528B4A7@Eng.Sun.Com>, ASHOK SINGHAL <ashok.singhal@Eng.Sun.Com> wrote: >John McCalpin wrote: >> >> However, it seems to me that "most" individual apps will fit in >> local memory, especially if the machine is running on the order > >Depends on how you count "most". Maybe I am "estimating" instead of counting? My 6-year-old tells me that "estimating" is the same as "guessing", which is closely related to "arguing by anecdotal evidence", which is what both Ashok and I are doing here. It is important to remember a couple of things when thinking about the "performance penalties" of off-node memory references in a ccNUMA machine like the Origin: (1) Many apps are not significantly memory-access-limited, so an increase in latency from ~300ns to ~600-700ns for a fraction of the cache misses will have a performance impact that is significantly smaller than the increase in average latency. Given that we are comparing machines with different cpus, different O/S's, different compilers, different prices, and (often) different platform-optimized source code, the effect of a small latency increase will be way down in the noise for these apps. Of course, this includes both the latency increase for off-node accesses in a ccNUMA machine (like the SGI Origin2000) as well as the increase in latency for building a large, monolithic shared-memory machine like the Ultra10000 or the DEC 8400. (2) Many of the apps that are significantly memory-access-limited are bandwidth-limited, rather than latency-limited. In this case, you need to look at the sustainable bandwidth numbers, not the latency numbers. They are related, but not in an easy way. For example, the Sun Ultra6000 runs STREAM Copy a bit slower than the Origin2000 for local accesses, but faster than the Origin if one or both of the arguments to STREAM Copy are non-local. On the other hand, the extra latency of the Sun Ultra10000 decreases the sustainable bandwidth for STREAM Copy so that the Origin2000 is faster even if both the source and destination memory blocks are on the most distant node of the machine. This is the contention-free result. Results under heavy contention will certainly vary, but it is not possible to make blanket statements, except that the Sun Ultra 10000 will generally scale very well under heavy contention, while the Origin2000 scaling will be somewhat more dependent on the details of the access patterns. This is "simple physics" associated with the slightly lower-bandwidth links on the Origin2000 relative to the Sun Ultra10000 nodes, and the fact that the Origin2000 interconnect fabric is a bristled hypercube instead of a fully connected multi-stage switch. (3) The remaining apps that are memory-access-limited and latency- limited fall into several more sub-categories, depending on the size of the working set and the distribution of accesses across that working set. Those with either small working sets or with concentration of accesses in a relatively small region can work fine on a ccNUMA machine (especially with the node memories configured to some large value, like 4 GB). On the other hand, those with very large working sets and uniformly distributed references will show performance characteristics more closely approximating the hypothetical average latency function. I am not arguing that this last set is unimportant, since it does include things like TPC-C and some important codes run by the intelligence community, but I am saying that it is necessary to understand the memory access characteristics of your own applications in order to understand how well it is likely to work on a given memory architecture. No vendor has produced a machine that is uniformly superior to all other vendors' machines for all application areas -- the economics of the technologies and the requirement for engineering trade-offs do not allow that to happen. > 1. You can have situations where the sum of all the application > memory is greater than the total memory available, but memory is > still not oversubscribed. That's because even applications > implicitly share memory even if they are completely > single-threaded. An example of this is shared libraries, and its > very likely that libraries such as libc, libX11 etc are shared > extensively. Text accesses to shared libraries are almost never in the critical path for performance. Access times are much more strongly determined by how clever the loader is at getting shared-library accesses started early and by the efficiency of the file system at loading the data than by the latency of getting the individual cache lines from the buffer to which the file system loads the library. > 3. Non-local memory may result, even if there is plenty of > memory, as a result of load balancing. Yes, this is a "feature", not a "bug". The scheduler will keep track of the "home" node for a job, and run it there as often as possible. When that node becomes congested, it will run the process on a nearby node, rather than allowing the congestion to build up (which is what happens on a cluster, since process migration is very expensive, and generally not available there). It is correct that this is more complex than on a flat SMP machine, and can result in some performance degradation relative to a hypothetical machine with a flat, low latency. However, that hypothetical machine with flat, low latency does not actually exist, so the right thing to do is workload evaluation of the real machines to see how well the balances of cpu performance and the hierarchies of memory latency and bandwidth work at each price point for the workload that the customer needs to run. >Specrate runs N copies of a benchmark, waits for all copies to complete, >runs N copies of another benchmark, etc. Typically N is the same as >the number of CPUs, there are no other significant runnable jobs >and there is consequently no load-balancing at all. There is also >no memory pressure and the applications block very little. SPECrate certainly has limitations as a "workload" benchmark. It does have one redeeming property, and that is that it shows clearly the reduction in performance due to contention for a shared memory bandwidth resource by multiple, independent jobs. This is a real effect, and one that users ought to be aware of. Given the fact that the SPECrate infrastructure already exists, it is probably a good idea to keep it for SPEC98. On the other hand, there is no reason to limit our thinking about "throughput" or "workload" benchmarks to the form taken by SPECrate. I believe that both computer vendors and customers would be well- served by the development of a more realistic throughput benchmark based on the individual SPEC codes. This would likely include both compiling and running the codes, but would have ordering and synchronization properties that would be mostly chaotic (like real systems), rather than lock-step like the current SPECrate benchmark. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-30 4:00 ` John McCalpin 1998-05-01 4:00 ` ASHOK SINGHAL @ 1998-05-01 4:00 ` Mark W Brehob 1 sibling, 0 replies; 38+ messages in thread From: Mark W Brehob @ 1998-05-01 4:00 UTC (permalink / raw) : 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
[parent not found: <6ianno$19lk$1@news.rchland.ibm.com>]
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) [not found] ` <6ianno$19lk$1@news.rchland.ibm.com> @ 1998-05-07 4:00 ` John McCalpin 0 siblings, 0 replies; 38+ messages in thread From: John McCalpin @ 1998-05-07 4:00 UTC (permalink / raw) In article <6ianno$19lk$1@news.rchland.ibm.com>, Del Cecchi <dcecchi@vnet.ibm.com> wrote: > [asking about some features of the SGI Origin2000 ccNUMA machine...] > > Maybe I have asked this in the past, but how do you handle page > faults? Do you force the new page coming in to be local to the > node that generated the page fault, or allow it to go anywhere, > or is there some options in the page fault handler to choose? >-- >Del Cecchi >cecchi@rchland The default handler tries to allocate a page local to the cpu that faulted. If it is unable to find a free page of the correct size on that node, it will start searching on neighboring nodes. The free page finder understands the network topology and will search all the "1-hop-away" nodes before going to the "2-hop-away" nodes, etc. When requesting pages of non-standard (i.e. large) size, there is an additional degree of freedom. You can give either smaller pages locally, or the requested size remotely. I don't know what the system does by default -- I make the right decisions manually when I deal with this problem. You can change from the default "first touch" policy for allocation to a "round-robin" policy simply by setting an environment variable. The "round-robin" policy allocates pages around the set of nodes that have been requested for your job (usually the number of cpus divided by two), so you still have a degree of locality. If you want another policy, you have to read a lot of documentation and build your own policy module. I have never needed to do this, but it is available to users. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin 1998-04-25 4:00 ` Carl Perkins @ 1998-04-26 4:00 ` Mark W Brehob 1998-04-27 4:00 ` Nick Maclaren 1998-04-27 4:00 ` John McCalpin 1998-05-05 4:00 ` Doug Siebert 2 siblings, 2 replies; 38+ messages in thread From: Mark W Brehob @ 1998-04-26 4:00 UTC (permalink / raw) John McCalpin (mccalpin@frakir.engr.sgi.com) wrote: : In article <6hpadq$le2$1@alanya.m.isar.de>, : Lupe Christoph <lupe@alanya.m.isar.de> 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. [clip reality] Looking at Intel chipsets, the server chipsets typically have _longer_ latancies then the desktop chipsets. The that the larger, more expensive, chipset has poorer latency is that _bandwidth_ is much more important to a server (4 processors for Intel) than to a desktop (1 or maybe 2 processors) when using the same bus. (Chipset = I/O and memory controler for you non-Intel folks) There exists a trade-off between latency and bandwidth. Servers/MP systems need to sit at a different point on that curve than a Uni-processor. Server chipsets have MUCH larger (and slower) buffers. They must handle MANY more I/O devices. They must support, without losing performance, a great deal of memory. And of course an Intel server has board layout problems to a much greater degree than a desktop design. All of these things _will_ hurt latency, or at least make keeping latency low more difficult. So yes, systems designed to support more processors, I/O and memory are likely to be slower. John's data shows this. My comment is that this should be expected. One hopes that the nature of the workload you will actually run on the server is more latency tolerant than a desktop application. (Large database programs are often multi-threaded and care much more about throughput than latency for example) 2 cents. Mark ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-26 4:00 ` Mark W Brehob @ 1998-04-27 4:00 ` Nick Maclaren 1998-04-27 4:00 ` Scott Walters 1998-04-27 4:00 ` Mark W Brehob 1998-04-27 4:00 ` John McCalpin 1 sibling, 2 replies; 38+ messages in thread From: Nick Maclaren @ 1998-04-27 4:00 UTC (permalink / raw) In article <6hvrnl$atm$2@msunews.cl.msu.edu>, Mark W Brehob <brehob@cps.msu.edu> wrote: > >There exists a trade-off between latency and bandwidth. Servers/MP systems >need to sit at a different point on that curve than a Uni-processor. ... I quite take your (snipped) points that it is harder to achieve low latency on a complex system, but do you have any references that show servers NEED a different latency/bandwidth ratio? My experience is that the balance is constrained primarily by the application and what evidence I have seen points to the fact that most servers are nearly as badly constrained by latency as workstations in their worst mode. I.e. it is the "bounce all over the data" programs, typical of GUIs and much system/networking code, that are limited by latency and little else. Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` Nick Maclaren @ 1998-04-27 4:00 ` Scott Walters 1998-04-27 4:00 ` Scott Walters 1998-04-27 4:00 ` Mark W Brehob 1 sibling, 1 reply; 38+ messages in thread From: Scott Walters @ 1998-04-27 4:00 UTC (permalink / raw) Nick Maclaren (nmm1@cus.cam.ac.uk) wrote: : In article <6hvrnl$atm$2@msunews.cl.msu.edu>, : Mark W Brehob <brehob@cps.msu.edu> wrote: : > : >There exists a trade-off between latency and bandwidth. Servers/MP systems : >need to sit at a different point on that curve than a Uni-processor. ... : I quite take your (snipped) points that it is harder to achieve low : latency on a complex system, but do you have any references that show : servers NEED a different latency/bandwidth ratio? : My experience is that the balance is constrained primarily by the : application and what evidence I have seen points to the fact that most : servers are nearly as badly constrained by latency as workstations in : their worst mode. I.e. it is the "bounce all over the data" programs, : typical of GUIs and much system/networking code, that are limited by : latency and little else. There was a really good article in SysAdmin a few months back (December maybe?) discussing the bandwidth vs. latency thing. What your site needs more of is, as Nick pointed out, dependant on the application and data that you are shooting around the network. -- Scott Walters Packet Pusher ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` Scott Walters @ 1998-04-27 4:00 ` Scott Walters 1998-04-28 4:00 ` Nick Maclaren 0 siblings, 1 reply; 38+ messages in thread From: Scott Walters @ 1998-04-27 4:00 UTC (permalink / raw) Scott Walters (scott@wopr.iuinc.com) wrote: : There was a really good article in SysAdmin a few months back (December maybe?) discussing the : bandwidth vs. latency thing. What your site needs more of is, as Nick pointed out, dependant : on the application and data that you are shooting around the network. eep, didn't realize you guys were talking 'inside the box'. The article i referred to is the latency vs. bandwidth thing on the network. -- Scott Walters Packet Pusher ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` Scott Walters @ 1998-04-28 4:00 ` Nick Maclaren 1998-04-28 4:00 ` Scott Walters 0 siblings, 1 reply; 38+ messages in thread From: Nick Maclaren @ 1998-04-28 4:00 UTC (permalink / raw) In article <6i23aq$3nu$5@news1.fast.net>, Scott Walters <scott@wopr.iuinc.com> wrote: >Scott Walters (scott@wopr.iuinc.com) wrote: > >: There was a really good article in SysAdmin a few months back (December maybe?) discussing the >: bandwidth vs. latency thing. What your site needs more of is, as Nick pointed out, dependant >: on the application and data that you are shooting around the network. > >eep, didn't realize you guys were talking 'inside the box'. The article i referred to is the >latency vs. bandwidth thing on the network. Actually, the arguments don't change at all! All that happens is that the timescale changes. This has a major effect on which applications are affected, and how badly, but the general problems and solutions are almost the same. Someone pointed out that the 'critical packet size' (i.e. latency*bandwidth) of modern memory is approaching that of 1970s disk, and that of modern networks is already comparable. Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-28 4:00 ` Nick Maclaren @ 1998-04-28 4:00 ` Scott Walters 1998-04-28 4:00 ` Latency vs performance John Hascall 1998-05-12 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Brian Inglis 0 siblings, 2 replies; 38+ messages in thread From: Scott Walters @ 1998-04-28 4:00 UTC (permalink / raw) Nick Maclaren (nmm1@cus.cam.ac.uk) wrote: : Actually, the arguments don't change at all! All that happens is that the : timescale changes. This has a major effect on which applications are : affected, and how badly, but the general problems and solutions are almost : the same. Someone pointed out that the 'critical packet size' (i.e. : latency*bandwidth) of modern memory is approaching that of 1970s disk, : and that of modern networks is already comparable. Agreed, but we are creating another thread ;) This latency/bandwidth thing inside the box argument is interesting, but from my *limited* (no big compile/render/number crunching shops), it seems to me real business world applications/machines (both Unix and W) are getting I/O bound at the disk. When I am twiddling my thumbs at home (W95) my disk is trashing, when i twiddle my thumbs at work (SS20, 128M), the disk is trashing (man, CDE and NS4.04 are mem pigs :( I don't really read much of the benchmark info. Don't trust benchmarks/specs. You won't ever see 10Mbit consistently on shared segment (not to mention how fast it starts to choke when you actually use it), but it *is* 10Mbit. End user frustration is the best benchmark ;) On the network side, I haven't seen any commercial/corporate apps (voice over IP would be kewl, but haven't seen any companies using it) that really make the latency vs. bandwidth thing an issue. I know there are situations out there (moving BIG digital images, etc), but it seems to me most users/networks need more bandwidth (at clogged points) than less latency. When things choke it is because the pipe is too small, not cause sessions aren't snappy enough. And given the drastically dropping prices in network gear, switched 100MBit to the desktop is not too far. Man, how could end users even dream of using that pipe? Bandwidth is getting *real* cheap. Especially for LAN's. -- Scott Walters Packet Pusher ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance 1998-04-28 4:00 ` Scott Walters @ 1998-04-28 4:00 ` John Hascall 1998-04-29 4:00 ` Scott Walters 1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer 1998-05-12 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Brian Inglis 1 sibling, 2 replies; 38+ messages in thread From: John Hascall @ 1998-04-28 4:00 UTC (permalink / raw) Scott Walters <scott@wopr.iuinc.com> wrote: }On the network side, I haven't seen any commercial/corporate apps ... }that really make the latency vs. bandwidth thing an issue. [well known uses for bigbandwidth] }When things choke it is because the pipe is too small, not cause }sessions aren't snappy enough. }Bandwidth is getting *real* cheap. Especially for LAN's. Latency will always be expensive for WANs (until we get subspace radio :) Latency scales with distance -- an app that works perfectly fine on a LAN may well choke on a WAN with *more* bandwidth. Not so long ago I was asked to see why an application was performing so abysmally in its first field test. An operation that took seconds where it was developed ("works fine for us") [tm] was taking the better part of an hour! Turns out the client program was issuing a whole series of (small) queries to the DB on the server. This reply-respond-repeat isn't very visible when the client and server are a few feet of ethernet apart -- when they have more than 1000 miles of T3 between them, you have a lot of dead air time. This failure to consider latency when architecting this app, pretty much left the project a total loss. John -- John Hascall, Software Engr. Shut up, be happy. The conveniences you ISU Computation Center demanded are now mandatory. -Jello Biafra mailto:john@iastate.edu http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance 1998-04-28 4:00 ` Latency vs performance John Hascall @ 1998-04-29 4:00 ` Scott Walters 1998-05-01 4:00 ` Scott Hess 1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer 1 sibling, 1 reply; 38+ messages in thread From: Scott Walters @ 1998-04-29 4:00 UTC (permalink / raw) John Hascall (john@iastate.edu) wrote: : Scott Walters <scott@wopr.iuinc.com> wrote: : }On the network side, I haven't seen any commercial/corporate apps ... : }that really make the latency vs. bandwidth thing an issue. : [well known uses for bigbandwidth] : }When things choke it is because the pipe is too small, not cause : }sessions aren't snappy enough. : }Bandwidth is getting *real* cheap. Especially for LAN's. : Latency will always be expensive for WANs (until we get subspace radio :) heh : Latency scales with distance -- an app that works perfectly : fine on a LAN may well choke on a WAN with *more* bandwidth. makes sense. : Turns out the client program was issuing a whole series of (small) : queries to the DB on the server. This reply-respond-repeat isn't : very visible when the client and server are a few feet of ethernet : apart -- when they have more than 1000 miles of T3 between them, : you have a lot of dead air time. : This failure to consider latency when architecting this app, : pretty much left the project a total loss. Yeah, i could really see that. I've never encountered apps that have that problem, but does not suprise me that they exist. For distributed information/computing I wonder what the breakdown of poor performance is between latency and bandwidth. In a WAN environment. -- Scott Walters Packet Pusher ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance 1998-04-29 4:00 ` Scott Walters @ 1998-05-01 4:00 ` Scott Hess 0 siblings, 0 replies; 38+ messages in thread From: Scott Hess @ 1998-05-01 4:00 UTC (permalink / raw) In article <6i7dfm$4go$1@news1.fast.net>, scott@wopr.iuinc.com (Scott Walters) writes: John Hascall (john@iastate.edu) wrote: : Turns out the client program was issuing a whole series of : (small) queries to the DB on the server. This : reply-respond-repeat isn't very visible when the client and : server are a few feet of ethernet apart -- when they have more : than 1000 miles of T3 between them, you have a lot of dead air : time. : : This failure to consider latency when architecting this app, : pretty much left the project a total loss. Yeah, i could really see that. I've never encountered apps that have that problem, but does not suprise me that they exist. One area this problem is prevalent in is GUI displays. Under certain GUI's, say, Windows or MacOS, the windowing subsystem is effectively part of the application itself. Other GUI's, such as those based on X Windows or DPS, the windowing system runs via a seperate process. [Windows NT is a weird case. As I understand things, earlier versions of NT ran the windowing system as a seperate process, but nowadays it's more or less back in the kernel.] The main difference, even for a single machine, is latency. On a system where they are seperate, a program with moderately well designed drawing algorithms can be an order of magnitude faster than a program with a badly designed drawing algorithm. Nominally, it doesn't make a difference on something like Windows, though in my experience it does. If you take a badly designed scheme of drawing, revise it so it draws much faster under X, and then port it back to Windows, the result will likely be somewhat faster than the original version. Under X Windows or NeXTSTEP/OpenStep, the network latency becomes much more noticable when displaying across a 10Mbit LAN - and hard to ignore if it's a WAN link. I expect this "problem" to become more and more commented on, given the oncoming popularity of Windows NT variations on remote display. Citrix and kin can only do so much to make display efficient before the app developer has to step in and help. Later, -- scott hess <scott@doubleu.com> (408) 739-8858 http://www.doubleu.com/ <Favorite unused computer book title: The Compleat Demystified Idiots Guide to the Zen of Dummies in a Nutshell in Seven Days, Unleashed> ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance 1998-04-28 4:00 ` Latency vs performance John Hascall 1998-04-29 4:00 ` Scott Walters @ 1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer 1998-04-29 4:00 ` Scott Walters 1 sibling, 1 reply; 38+ messages in thread From: Casper H.S. Dik - Network Security Engineer @ 1998-04-29 4:00 UTC (permalink / raw) [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]] john@iastate.edu (John Hascall) writes: > Turns out the client program was issuing a whole series of (small) > queries to the DB on the server. This reply-respond-repeat isn't > very visible when the client and server are a few feet of ethernet > apart -- when they have more than 1000 miles of T3 between them, > you have a lot of dead air time. > This failure to consider latency when architecting this app, > pretty much left the project a total loss. And it's such a common error; I've seen it many times. But they're learning. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance 1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer @ 1998-04-29 4:00 ` Scott Walters 0 siblings, 0 replies; 38+ messages in thread From: Scott Walters @ 1998-04-29 4:00 UTC (permalink / raw) Casper H.S. Dik - Network Security Engineer (Casper.Dik@Holland.Sun.Com) wrote: : john@iastate.edu (John Hascall) writes: : > This failure to consider latency when architecting this app, : > pretty much left the project a total loss. : And it's such a common error; I've seen it many times. : But they're learning. Crazy to think that programmers are having to take into consideration how their app will interact/communicate in the WAN environment. Not only do you have to have great coding skills, a CCIE is a plus ;) -- Scott Walters Packet Pusher ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-28 4:00 ` Scott Walters 1998-04-28 4:00 ` Latency vs performance John Hascall @ 1998-05-12 4:00 ` Brian Inglis 1 sibling, 0 replies; 38+ messages in thread From: Brian Inglis @ 1998-05-12 4:00 UTC (permalink / raw) On 28 Apr 1998 13:39:03 GMT, scott@wopr.iuinc.com (Scott Walters) wrote: >On the network side, I haven't seen any commercial/corporate apps (voice over IP would be >kewl, but haven't seen any companies using it) that really make the latency vs. bandwidth >thing an issue. I know there are situations out there (moving BIG digital images, etc), but >it seems to me most users/networks need more bandwidth (at clogged points) than less latency. >When things choke it is because the pipe is too small, not cause sessions aren't snappy >enough. And given the drastically dropping prices in network gear, switched 100MBit to the >desktop is not too far. Man, how could end users even dream of using that pipe? Ask geophysicists: mirrored 9GB drives on the (Sun/SGI) desktop, fiber to the desktop, the latest, fastest desktop machines every year. Seismic processing and interpretation, for example 3D, uses single datasets of around 600MB per line, and they need information for a few lines at a time to do their job. Take care. Thanks, Brian Inglis (Calgary, Alberta, Canada) ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` Nick Maclaren 1998-04-27 4:00 ` Scott Walters @ 1998-04-27 4:00 ` Mark W Brehob 1 sibling, 0 replies; 38+ messages in thread From: Mark W Brehob @ 1998-04-27 4:00 UTC (permalink / raw) Nick Maclaren (nmm1@cus.cam.ac.uk) wrote: : In article <6hvrnl$atm$2@msunews.cl.msu.edu>, : Mark W Brehob <brehob@cps.msu.edu> wrote: : > : >There exists a trade-off between latency and bandwidth. Servers/MP systems : >need to sit at a different point on that curve than a Uni-processor. ... : I quite take your (snipped) points that it is harder to achieve low : latency on a complex system, but do you have any references that show : servers NEED a different latency/bandwidth ratio? Well remember that in Intel land a MP system and a UP system have _exactly_ the same pipe to memory. That is to say that the bus that is used by a single processor is also used by all four processors on an Intel "server" box. (In this context I'm only considering it a server if it uses the "Server chipset", and server chipsets are targeted at 4-way systems). So for the 4-way system bus utilization becomes _very_ important as many important applications (database for example) become bus-bandwidth bound. Different applications will have different needs. If the server is acting as a clasic login-server/print-server then memory bandwidth is less important. (I'd guess Network bandwidth might be the limiting factor) If you are running scientific code then the cache hit rate will determine where the optimal latency/bandwidth point is. Also notice that large systems usually need large I/O and memory subsystems. Clearly this will increase latency slightly. : My experience is that the balance is constrained primarily by the : application and what evidence I have seen points to the fact that most : servers are nearly as badly constrained by latency as workstations in : their worst mode. I.e. it is the "bounce all over the data" programs, : typical of GUIs and much system/networking code, that are limited by : latency and little else. Agreed. I guess I need to remember that "servers" doesn't just mean "workhorses running LARGE jobs". I have a strong Database/ large simulation bias. : Nick Maclaren, : University of Cambridge Computing Service, : New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. : Email: nmm1@cam.ac.uk : Tel.: +44 1223 334761 Fax: +44 1223 334679 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-26 4:00 ` Mark W Brehob 1998-04-27 4:00 ` Nick Maclaren @ 1998-04-27 4:00 ` John McCalpin 1998-04-27 4:00 ` Mark W Brehob ` (2 more replies) 1 sibling, 3 replies; 38+ messages in thread From: John McCalpin @ 1998-04-27 4:00 UTC (permalink / raw) In article <6hvrnl$atm$2@msunews.cl.msu.edu>, Mark W Brehob <brehob@cps.msu.edu> wrote: >John McCalpin (mccalpin@frakir.engr.sgi.com) wrote: > >: 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. > >Looking at Intel chipsets, the server chipsets typically have _longer_ >latancies then the desktop chipsets. The that the larger, more expensive, >chipset has poorer latency is that _bandwidth_ is much more important to a >server (4 processors for Intel) than to a desktop (1 or maybe 2 processors) >when using the same bus. > >There exists a trade-off between latency and bandwidth. Not exactly, but the comments below do address the pertinent issues. High bus bandwidth does not require high latency. High sustainable per-cpu bandwidth does not require high latency. High latency actually *prevents* high sustainable bandwidth -- as can easily be seen in the STREAM benchmark results. >They must handle MANY more I/O >devices. They must support, without losing performance, a great deal of >memory. And of course an Intel server has board layout problems to a much >greater degree than a desktop design. All of these things _will_ hurt latency, >or at least make keeping latency low more difficult. > >So yes, systems designed to support more processors, I/O and memory >are likely to be slower. John's data shows this. It is true for traditional designs, but need not be true for a well-designed ccNUMA machine. The SGI Origin2000, for example, is designed to accomodate up to 128 cpus, 256 GB RAM, and 192 I/O channels sustaining over 500 MB/s each. It does this with quite a reasonable local memory latency (just under 290 ns load- to-use), independent of machine size. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` John McCalpin @ 1998-04-27 4:00 ` Mark W Brehob 1998-04-28 4:00 ` ASHOK SINGHAL 1998-05-04 4:00 ` William Lane 2 siblings, 0 replies; 38+ messages in thread From: Mark W Brehob @ 1998-04-27 4:00 UTC (permalink / raw) John McCalpin (mccalpin@frakir.engr.sgi.com) wrote: : >There exists a trade-off between latency and bandwidth. : Not exactly, but the comments below do address the : pertinent issues. High bus bandwidth does not require high : latency. High sustainable per-cpu bandwidth does not require : high latency. High latency actually *prevents* high sustainable : bandwidth -- as can easily be seen in the STREAM benchmark results. : >They must handle MANY more I/O : >devices. They must support, without losing performance, a great deal of : >memory. And of course an Intel server has board layout problems to a much : >greater degree than a desktop design. All of these things _will_ hurt latency, : >or at least make keeping latency low more difficult. : > : >So yes, systems designed to support more processors, I/O and memory : >are likely to be slower. John's data shows this. : It is true for traditional designs, but need not be true for a : well-designed ccNUMA machine. The SGI Origin2000, for example, : is designed to accomodate up to 128 cpus, 256 GB RAM, and 192 : I/O channels sustaining over 500 MB/s each. It does this with : quite a reasonable local memory latency (just under 290 ns load- : to-use), independent of machine size. Sorry, For a fixed bus or other fixed sized memory pipe one does encounter (in my experiance) a number of trade-offs of latency vs. bandwidth. Clearly if latency is too high, the processor may not be able to take advantage of the higher bandwidth. My comments do not apply to other machines although it is a safe bet that larger systems will generally have higher _average_ latencies. (Local latencies are important but if your application is only 50% local those remote latencies raise your "empty system" average to 600ns+. : -- : -- : 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` John McCalpin 1998-04-27 4:00 ` Mark W Brehob @ 1998-04-28 4:00 ` ASHOK SINGHAL 1998-05-04 4:00 ` William Lane 2 siblings, 0 replies; 38+ messages in thread From: ASHOK SINGHAL @ 1998-04-28 4:00 UTC (permalink / raw) It is indeed possible to bring a memory bank closer to one CPU (or a small set of CPUs), BUT ... the trick is to do so without effecting the latency seen by the OTHER cpus. It is far more difficult than many (most?) people think, even on a system like the Sun Enterprise server where it may not seem that way from the physical structure of the machine. Could we have done it? Perhaps. Would it have been worth it? In the case of the E6000, I doubt it. Most often, bringing a memory bank closer to one set of CPUs has the unfortunate effect of taking that bank farther away from the (in our case much larger) set of all the other CPUs. In a 64 CPU system, bringing the memory one hop closer to 2 CPUs takes that memory one hop further from the remaining 62 CPUs. In terms of latency, this is not a good idea unless you can get *very* good locality, which may be possible on STREAM or specrate but very difficult on a whole bunch of other applications, particularly database applications. In addition, the cost of attempting (often in vain) to create that locality is non-trivial, not just in additional data movement for creating copies and in additional physical memory used for copies, but also in the complexity of the operating system. In the case of SGI Origin 2000, for example, the memory is one hop away from the 2 CPUs on the same node. But then that memory is 2 hops away from 8 cpus, 3 hops away from ... And then on top of that add a much larger latency penalty when the data is dirty in another cache (a very frequent case in many server applications). In summary: yes, one can reduce latency to local memory for a small number of local CPUs, but if this increases latency for a much larger number of other CPUs this is usually not a win. In the case of SGI it substantially increases non-local latency. I don't believe this was a win for many important apps. Given a choice of doing well at local accesses in large system (for example STREAM/specrate) or more general access patterns in large system (for example, tpc-C/tpc-D) I know where I would lean. To see where SGI leaned take a look at the TPC benchmark results site (www.tpc.org). A 24-CPU E6000 (which would be way past the STREAM saturation point) does 23% better than a 28 CPU SGI O2000 in spite of the O2000 having a 64-bit OS and over 2 times as much memory. And SGI fares even worse in tpc-D (a 4-CPU E450 does better than a 8-CPU O2000). Ashok Singhal Sun Microsystems ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-27 4:00 ` John McCalpin 1998-04-27 4:00 ` Mark W Brehob 1998-04-28 4:00 ` ASHOK SINGHAL @ 1998-05-04 4:00 ` William Lane 1998-05-04 4:00 ` John McCalpin 2 siblings, 1 reply; 38+ messages in thread From: William Lane @ 1998-05-04 4:00 UTC (permalink / raw) Just to be stupid Dr. McCalpin but is the memory latency figure you're referring to the latency from when a valid address is detected to when we get data out from the RAM or when we get data into the CPU(s), I'd guess the latter by your "load to use" terminology. If true the memory latency time you quoted almost borders on the speed of an 8051 MCU! -Bill Lane curious CECS student John McCalpin (mccalpin@frakir.engr.sgi.com) wrote: : : It is true for traditional designs, but need not be true for a : well-designed ccNUMA machine. The SGI Origin2000, for example, : is designed to accomodate up to 128 cpus, 256 GB RAM, and 192 : I/O channels sustaining over 500 MB/s each. It does this with : quite a reasonable local memory latency (just under 290 ns load- : to-use), independent of machine size. : -- : -- : 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-04 4:00 ` William Lane @ 1998-05-04 4:00 ` John McCalpin 1998-05-06 4:00 ` Brian Jonathan Lee 0 siblings, 1 reply; 38+ messages in thread From: John McCalpin @ 1998-05-04 4:00 UTC (permalink / raw) In article <6ijto1$6uo@hatathli.csulb.edu>, William Lane <wlane@engr.csulb.edu> wrote: > Just to be stupid Dr. McCalpin but is the memory latency figure > you're referring to the latency from when a valid address is > detected to when we get data out from the RAM or when we get data > into the CPU(s), I'd guess the latter by your "load to use" > terminology. If true the memory latency time you quoted almost > borders on the speed of an 8051 MCU! For the Origin, the numbers are what we call a "pipeline restart" latency. It is hard to set of a measurement methodology to get this number accurately, since the processor executes out-of-order if the data dependencies allow it, but it has been done by Cristina Hristea (was at MIT, now at SGI). Basically, we start counting when the load that misses the caches first hits an execute stage, and we stop counting when the first instruction that uses the loaded data is able to execute. You can argue about whether to count the first and last cycles of the above definition, but it does not change the numbers very much. Alternate definitions that are in common use are: "pin-to-pin" which only measures the time for the memory system to respond, and ignores getting in and out of the cpu. "lmbench/lat_mem_rd" which measures the time per iteration of dependent loads (chasing a chain of pointers). "pin-to-pin" latency is always less than "pipeline restart" latency which is always less than or equal to "lmbench/lat_mem_rd" latency. -- -- 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 ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-04 4:00 ` John McCalpin @ 1998-05-06 4:00 ` Brian Jonathan Lee 1998-05-12 4:00 ` Salim Qadri 0 siblings, 1 reply; 38+ messages in thread From: Brian Jonathan Lee @ 1998-05-06 4:00 UTC (permalink / raw) Hi, I just started following this thread and was wondering what the original posting was about. I'm curious as to what it is because it might be related to something I was researching a few years ago. thanks, bjl ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-05-06 4:00 ` Brian Jonathan Lee @ 1998-05-12 4:00 ` Salim Qadri 0 siblings, 0 replies; 38+ messages in thread From: Salim Qadri @ 1998-05-12 4:00 UTC (permalink / raw) I would suggest checking out http://www.dejanews.com. Cheers, salim bjl@eecg.toronto.edu (Brian Jonathan Lee) writes: > > Hi, I just started following this thread and was wondering what the > original posting was about. I'm curious as to what it is because > it might be related to something I was researching a few years ago. > > thanks, > bjl ^ permalink raw reply [flat|nested] 38+ messages in thread
* Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) 1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin 1998-04-25 4:00 ` Carl Perkins 1998-04-26 4:00 ` Mark W Brehob @ 1998-05-05 4:00 ` Doug Siebert 2 siblings, 0 replies; 38+ messages in thread From: Doug Siebert @ 1998-05-05 4:00 UTC (permalink / raw) mccalpin@frakir.engr.sgi.com (John McCalpin) writes: >vendor model latency SPECfp95 model latency SPECfp95 >HP V2250 500? 24.8 @ 240MHz K580 ??? 28.5 @ 240MHz (2) >(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? One thing of note. The V2250 runs the 64 bit version of HP-UX 11, which according to HP is about 6 to 7% slower than running the 32 bit version. (Due, I assume, to more cache & memory bus traffic, etc.) Now it would be neat if HP published some numbers for the V2250 & K580 running the same compiler and both running HP-UX 11 in 64 bit mode, but they would probably want to show the K580 in the best light and therefore have no incentive to do so. I'm assuming of course that those K580 numbers were done in 32 bit mode (nothing in the SPEC disclosure says either way) -- Douglas Siebert Director of Computing Facilities douglas-siebert@uiowa.edu Division of Mathematical Sciences, U of Iowa A fool of sufficient magnitude can be found to overcome any foolproof system. ^ permalink raw reply [flat|nested] 38+ messages in thread
end of thread, other threads:[~1998-05-13 4:00 UTC | newest]
Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <35359B3A.2A830CB1@earthlink.net>
[not found] ` <6hl9s9$fec$1@pulp.ucs.ualberta.ca>
[not found] ` <6hmu26$il3$1@lyra.csx.cam.ac.uk>
[not found] ` <6hpadq$le2$1@alanya.m.isar.de>
1998-04-25 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) John McCalpin
1998-04-25 4:00 ` Carl Perkins
1998-04-25 4:00 ` John McCalpin
1998-04-27 4:00 ` Maynard Handley
1998-04-28 4:00 ` John McCalpin
1998-04-28 4:00 ` Jeremy Harris SUN Telco Platforms Group
1998-04-28 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-04-30 4:00 ` Jim Tuccillo
1998-04-30 4:00 ` John McCalpin
1998-05-01 4:00 ` ASHOK SINGHAL
1998-05-08 4:00 ` John McCalpin
1998-05-12 4:00 ` ASHOK SINGHAL
1998-05-13 4:00 ` John McCalpin
1998-05-01 4:00 ` Mark W Brehob
[not found] ` <6ianno$19lk$1@news.rchland.ibm.com>
1998-05-07 4:00 ` John McCalpin
1998-04-26 4:00 ` Mark W Brehob
1998-04-27 4:00 ` Nick Maclaren
1998-04-27 4:00 ` Scott Walters
1998-04-27 4:00 ` Scott Walters
1998-04-28 4:00 ` Nick Maclaren
1998-04-28 4:00 ` Scott Walters
1998-04-28 4:00 ` Latency vs performance John Hascall
1998-04-29 4:00 ` Scott Walters
1998-05-01 4:00 ` Scott Hess
1998-04-29 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-04-29 4:00 ` Scott Walters
1998-05-12 4:00 ` Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Brian Inglis
1998-04-27 4:00 ` Mark W Brehob
1998-04-27 4:00 ` John McCalpin
1998-04-27 4:00 ` Mark W Brehob
1998-04-28 4:00 ` ASHOK SINGHAL
1998-05-04 4:00 ` William Lane
1998-05-04 4:00 ` John McCalpin
1998-05-06 4:00 ` Brian Jonathan Lee
1998-05-12 4:00 ` Salim Qadri
1998-05-05 4:00 ` Doug Siebert
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox