Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Since the CPU is what really count for Chess !

Author: Tom Kerrigan

Date: 19:47:51 03/19/03

Go up one level in this thread


On March 18, 2003 at 20:49:24, Matt Taylor wrote:

>On March 18, 2003 at 19:45:43, Tom Kerrigan wrote:
>
>>On March 18, 2003 at 18:20:14, Robert Hyatt wrote:
>>
>>>On March 18, 2003 at 17:46:10, Tom Kerrigan wrote:
>>>
>>>>On March 18, 2003 at 16:37:35, Robert Hyatt wrote:
>>>>
>>>>>>>1.  no interleaving, which means that the raw memory latency is stuck at
>>>>>>>120+ns and stays there.  Faster bus means nothing without interleaving,
>>>>>>>if latency is the problem.
>>>>>>
>>>>>>Uh, wait a minute, didn't you just write a condescending post to me about how
>>>>>>increasing bandwidth improves latency? (Which I disagree with...) You can't have
>>>>>>it both ways.
>>>>>>
>>>>>>Faster bus speed improves both latency and bandwidth. How can it not?
>>>>>
>>>>>It doesn't affect random latency whatsoever.  It does affect the time taken to
>>>>>load a
>>>>>cache line.  Which does affect latency in a different way.  However,
>>>>>interleaving does
>>>>>even better as even though it doesn't change latency either, it will load a
>>>>>cache line even
>>>>>faster.
>>>>
>>>>Are you kidding me? How can FSB speed _not_ affect latency?
>>>
>>>Very simple.  Latency is caused _in_ the memory system, only a tiny part of
>>>latency
>>>is caused by the delay of shipping the data over the bus.  If you ran the bus
>>...
>>>Run the test.  This discussion was held on r.g.c.p a while back.  And the _same_
>>>results were found.  Memory has 120ns latency no matter _what_ memory you
>>>use.  RDRAM is even slower in terms of latency.  If you can get your memory to
>>>sub-100ns latency, you've done a miracle in modern electronics.
>>
>>I guess I'm sitting in front of one miraculous computer, then, because it can
>>randomly access a word in 75ns. Just ran the test. (RDRAM, BTW.)
>>
>>If you have a 133MHz DIMM that's rated at 2-1-1-1, it can obviously access a
>>word in 15ns. If the system gets that word in 75ns (ignoring RDRAM vs. DIMM
>>latency for now) that means 20% of the latency is from the memory and 80% (not
>>"a tiny part") is from "shipping the data over the bus" (and through the
>>northbridge). Conventional wisdom says there's a 10ns wire/pin delay for a
>>signal going into or out of a chip, so into northbridge + out of northbridge +
>>into processor = 30ns. That means 30ns of processing is done on the northbridge
>>and processor. That's why everybody is so worked up about Hammer's on-die memory
>>controller--it reduces memory latency by, well, somewhere between 20 and 50ns,
>>or roughly 50%.
>>
>>End of today's lecture...
>>
>>-Tom
>
>What happened to the RAS timings? The latency of DDR on my SMP machine is about
>133 ns random access. I think this is about 100 ns random access on a standard
>CL 2.5 pc2100 DDR system. Using CL 2 cuts off a few nanoseconds, but not a whole
>lot.

I'm not sure what CAS2 or the leading 2 of 2-1-1-1 means. I looked up the timing
digrams for paged DRAMs in some of my textbooks at home and it's not clear if
they mean CAS is low for 2 cycles, or what. I know that the -1-1-1 part means
that the last three words of the burst are on consecutive cycles, so I've always
assumed the leading 2 is the latency (in cycles) for accessing a, i.e., any,
word.

This was backed up by a discussion a while back on Ace's Hardware where Paul
DeMone (who designs DRAM for a living, IIRC) stating that random access times
for PCsomething are ~20ns...

>Also, ramping the memory bus speed doesn't change latency very much. Most chips
>report a different CAS latency depending on the FSB speed. I have a DIMM rated
>CL 2.5 133 MHz (pc2100). When I use SPD detection and clock it at 100 MHz, it
>reports itself as CL 2. At 133 MHz this is 19 ns. At 100 MHz this is 20 ns. It's
>approximately equal.

Well, yes, when talking about varying the FSB, I thought it was understood that
nothing else in the system would vary, i.e., the memory timings.

-Tom



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.