From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b881f1a11889c873 X-Google-Attributes: gid1164f8,public From: ivie@intergate.daa.com (Roger Ivie) Subject: Re: 3000/800 vs. 400 4/233 Date: 1996/01/29 Message-ID: <4ejlev$sae@vodka.intele.net>#1/1 X-Deja-AN: 137207974 references: <4dbo8u$e5t@nntp5.u.washington.edu> <4dgqhl$73t@news.duke.edu> <4dps33$205@src-news.pa.dec.com> <1996Jan21.101138.71817@cc.usu.edu> <4e7l9g$jd1@src-news.pa.dec.com> organization: inteleNET Internet Services reply-to: ivie@cc.usu.edu newsgroups: comp.sys.dec In article <4e7l9g$jd1@src-news.pa.dec.com>, Hal Murray wrote: >In article <1996Jan21.101138.71817@cc.usu.edu>, ivie@cc.usu.edu (Roger Ivie) writes: >> Strictly from adding up cycles in the data book. I don't have my notes in >> front of me at the moment, though. It looked to me from the data book that >> in order to exceed 40MB/s on a 21072-based system, the data had to be both >> mapped in the 21072's scatter/gather TLB and also be in the processor cache. >> This is for 8-longword burst reads; the timing for writes looked to be to >> complicated to figure out from the data book (the chipset has write buffers, >> so performance depends on other things going on in the system). Since the >> data books give no timing diagrams for 64-bit memory systems, my estimates >> were for the 128-bit memory path. > >I haven't studied the TLB load timings. My numbers were measurements on >a 400 4/233 (64 bits wide) and a 1000 4/200 (128 bits). The TLB shouldn't be significant, as it does map a whole page. I've found my notes and it looks like my memory has done me in. Here's what I actually calculated back when I looked at it: Transaction Clocks MB/s ----------------------+---------+-------- Cache hit, TLB hit | 12 | 88 Cache hit, TLB miss | 22 | 48 Cache miss, TLB hit | 21 | 50 Cache miss, TLB miss | 31 | 34 These numbers are for an 8-longword fetch to a 64-bit memory system. Since my application was only doing 8-longword fetches, I also didn't take into account the prefetch that can be done on the system bus for 16-longword fetches; if you're grabbing 16 longwords at a time, you should see better performance (there aren't any timing diagrams in the data book for this case, though, so I don't know how much better). I blithely assumed the average transaction would be a TLB hit and processor cache miss, and then my faulty memory downgraded the number from 50 MB/s to 40 MB/s. Bear in mind these numbers assume no latency to obtain the PCI and system bus (the timing diagrams in the data book for DMA reads assume the 2107x already owns the system bus). Roger Ivie ivie@cc.usu.edu