Article View: alt.sys.pc-clone.zeos
Article #108Re: Why Cache? (Was: ZEOS, "OUT-OF-MEMORY" errors...)
From: John Ngai 21431
Date: Fri, 08 Apr 1994 17:55
Date: Fri, 08 Apr 1994 17:55
56 lines
3689 bytes
3689 bytes
First we read that: |> The cache will affect all OS's. By way of example, a 486 with 32MB RAM |> was incorrectly configured to cache only the first 16MB. We saw |> benchmark deterioration on the order of 2 depending on whether the |> application was using the cached or uncached RAM. (this was under OS/2 |> 2.11). That is, when the OS happened to load the application into the |> cached RAM it ran almost twice as fast as when loaded into the uncached |> RAM. These randomly varying results of our benchmark were very |> puzzling until we figured out what was really going on. In any case, |> the conclusion is clear, the cache is very important. |> |> |> -- |> Jon Hacker | OS/2 2.1 |> Bellcore, Red Bank NJ | accept no substitutes |> hacker@patagonia.bellcore.com | Then we also read that |> The most compute-intensive task I could find, a SPICE simulation |> running on a RAMdrive (minimal video usage, no hard disk access after |> start of simulation) runs 20% faster with 256K cache installed on my |> 486DX-33 (Gosling motherboard). For most "ordinary" tasks, the difference |> is well under ten percent (that is, unnoticeable unless you get out your |> stopwatch). For faster processors the difference would presumable be |> greater. |> |> ----- |> Greg Thoman: The opinions expressed herein are mine alone, and I am |> solely irresponsible for them. So what's the scoop!? Well, actually the effect of the L2 cache is MUCH more pronounced in a DX2 then a DX. An intuitive reason is that a cache miss in a DX2 will stall twice as many CPU cycles and hence takes a much greater performance penality. On my DX2-66 running Linux, I get about 70% speed increase from enabling the L2 cache write through cache, and then another 10% increase from switching to using write back cache (both 256K direct mapped.) On the other hand, my brother who has a DX-33 also with 256K L2 cache told me that his observed increase is only about 18-20%. In both cases, the improvement estimates were real time estimates obtained from compiling the Linux kernel using gcc, so they include both ram and disk access overheads as well. Obviously different configurations (ram size, disk speed, bus speed etc) will exhibit different speed up factors. The data points here though, hopefully would represent typical ball park figures for those who are interested.... -- John
Technical Details
Message-ID:
<2o45qm$s11@athos.cc.bellcore.com>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!jussieu.fr!math.ohio-state.edu!cs.utexas.edu!uunet!athos.cc.bellcore.com!nova!ngaiReferences:
<2nr155$j1p@char.vnet.net> <jackerman.4.2DA1D278@p01.mn15.honeywell.com> <D> <1994Apr6.041427.7079@nmt.edu> <2nvotu$8r6@panix2.panix.com> <CnwCK1.9F9@walter.bellcore.com> <2o20pr$dje@bigguy.eng.ufl.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1001b2,cc3202b80d89c83d X-Google-Attributes: gid1001b2,public X-Google-Thread: 112542,cc3202b80d89c83d X-Google-Attributes: gid112542,public X-Google-ArrivalTime: 1994-04-08 10:55:34 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!jussieu.fr!math.ohio-state.edu!cs.utexas.edu!uunet!athos.cc.bellcore.com!nova!ngai From: ngai@nova.bellcore.com (John Ngai 21431) Newsgroups: alt.sys.pc-clone.zeos,biz.zeos.general Subject: Re: Why Cache? (Was: ZEOS, "OUT-OF-MEMORY" errors...) Date: 8 Apr 1994 17:55:34 GMT Organization: Bell Communications Research Lines: 56 Sender: ngai@nova (John Ngai 21431) Distribution: world Message-ID: <2o45qm$s11@athos.cc.bellcore.com> References: <2nr155$j1p@char.vnet.net> <jackerman.4.2DA1D278@p01.mn15.honeywell.com> <D> <1994Apr6.041427.7079@nmt.edu> <2nvotu$8r6@panix2.panix.com> <CnwCK1.9F9@walter.bellcore.com> <2o20pr$dje@bigguy.eng.ufl.edu> Reply-To: ngai@apostle.bellcore.com NNTP-Posting-Host: nova.bellcore.com