From owner-freebsd-current Sat Apr 8 22:33:47 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA02755 for current-outgoing; Sat, 8 Apr 1995 22:33:47 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA02745 for ; Sat, 8 Apr 1995 22:33:40 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id WAA17143; Sat, 8 Apr 1995 22:33:18 -0700 From: "Rodney W. Grimes" Message-Id: <199504090533.WAA17143@gndrsh.aac.dev.com> Subject: Re: Disk performance To: pete@pelican.com (Pete Carah) Date: Sat, 8 Apr 1995 22:33:17 -0700 (PDT) Cc: current@FreeBSD.org In-Reply-To: from "Pete Carah" at Apr 8, 95 10:02:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 2214 Sender: current-owner@FreeBSD.org Precedence: bulk > > In article <199504081952.MAA15923@gndrsh.aac.dev.com> rgrimes writes: > (and various others, too): > > >> > > > Why would taking out the L2 cache slow down data transfer to and > >> > > > from the primary cache? > > >> > > because checking the L2 takes time, and they don't start the mem-cycle > >> > > until they know they missed. > > The SGI challenge starts both on the same clock, then throws away the > mem data if some cache hit first. I don't know if they abort the CAS > part of the memory cycle in that case, but I think not. That is part > of the distributed-cache-coherency scheme too. Doing this hurts you > badly in the absence of memory interleave, though, since you can't abort > a RAS-cycle; you are better off waiting like they do in that case. Ahhhh!! A good memory system! The cache hit signal usually comes valid before the CAS cycle has started, so they probably do abort the CAS cycle by dropping RAS at this point in time and never asserting CAS. You still have to wait the RAS precharge time after doing this though, since you have infact sucked the storage charge out of the capacitors during the RAS assertion :-(. > > >> > You would be right if he was talking about why turning off the L2 cache > >> > increases memory speed. But that is not what he said ``taking out L2 > >> > cache slowing down L1 cache''. Nothing, nota, zippo, should effect > >> > L1 cache speeds other than code changes, and internal clock frequency. > > Possibly worse hit rates; isn't the L2 controller on the main chip too? No, the L2 cache controller is completly external from the Pentium CPU. > Also L2 may be wider than main mem too and do background fetch of the other > half; I don't know about that motherboard. Bigger ($$$$$) systems do this. I haven't see a L2 cache wider than the CPU (well, other than in a certain prototype some place I saw.). Main memory was also widened in this design to 128 bits. > Then L1 fills will come from the L2 about half more often than from > main memory directly. > > -- Pete > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD