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: murray@pa.dec.com (Hal Murray) Subject: Re: 3000/800 vs. 400 4/233 Date: 1996/01/25 Message-ID: <4e7l9g$jd1@src-news.pa.dec.com>#1/1 X-Deja-AN: 136488573 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> organization: DEC Systems Research Center newsgroups: comp.sys.dec 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). It's possible that the environment I was running in didn't use the TLB. You need it for either of two reasons. One is so hardware that only knows about 32 bit addressing can read/write memory beyond 32 bits. (Round down because the IO devices need some addresses too.) That's not a problem for most workstations since they can't hold that much memory. The other is so that the device can do a large stream of transfers to contigious (virtual) addresses that don't happen to be contigious in physical memory. The board/firmware I was working with breaks things up into page size chunks and goes through a V=>P mapping when setting up the DMA address for each chunk so it doesn't need the TLB to do it again. The other possibility is TLB loads don't cost much. I was doing mostly page size (8K) transfers. If a TLB load covers the whole page and costs as much as a 32 byte data access to memory, then it adds roughly 1/2 % overhead. I only had 2 or 3 devices transfering at the same time so TLB churning shouldn't be a problem. Writing is usually faster than reading because the pipeline is in the right direction.