From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,dcf2c3d9b4549885 X-Google-Attributes: gidf4671,public X-Google-Thread: f6653,dcf2c3d9b4549885 X-Google-Attributes: gidf6653,public X-Google-Thread: 11035d,dcf2c3d9b4549885 X-Google-Attributes: gid11035d,public X-Google-Thread: 102b75,dcf2c3d9b4549885 X-Google-Attributes: gid102b75,public X-Google-Thread: f57db,2870e3c2c7ff13cb X-Google-Attributes: gidf57db,public X-Google-Thread: 1164f8,2870e3c2c7ff13cb X-Google-Attributes: gid1164f8,public From: mccalpin@frakir.engr.sgi.com (John McCalpin) Subject: Re: Latency vs performance (was Re: Sun Servers take advantage of board local memory?) Date: 1998/05/04 Message-ID: <6iksic$qqq$1@murrow.corp.sgi.com>#1/1 X-Deja-AN: 350151225 Distribution: inet References: <35359B3A.2A830CB1@earthlink.net> <6hvrnl$atm$2@msunews.cl.msu.edu> <6i0isl$nlg$1@murrow.corp.sgi.com> <6ijto1$6uo@hatathli.csulb.edu> Organization: Silicon Graphics, Inc. Reply-To: mccalpin@engr.sgi.com Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,comp.unix.solaris,comp.arch,comp.sys.dec,comp.benchmarks In article <6ijto1$6uo@hatathli.csulb.edu>, William Lane 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