🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #43675

Re: Cache hit counter wanted

#43675
From: Mike Ching
Date: Wed, 07 Mar 1990 18:29
21 lines
1631 bytes
In article <1651@maytag.waterloo.edu> dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes:
>In article <29381@amdcad.AMD.COM> ching@pepsi.AMD.COM (Mike Ching) writes:
>>
>>A data point that you might find interesting is that I just booted my
>>Compaq which has a cache program that keeps statistics and my autoexec.bat
>>does 132 reads of which 26 are from the disk and 106 are from the cache.
>>Seems like ANY cache program would be a big win.
>
>How many lines in your .bat?  I think DOS goes back to disk to read each line;
>or perhaps just each line following an external command.  But yes, batch files
>should really improve from a cache.
>

There are 8 lines in my autoexec.bat (2 are comments) but there's more
going on. Device=cache.exe is the last line in my config.sys file so I
assumed the statistics were for the autoexec.bat but if I clear the
statistics and run autoexec.bat again, I get 43 reads, 10 from disk and
33 from the cache. Compiling hello, world with Turbo C results in 85
reads, 39 from disk, 46 from cache. Just a few more data points.

mike ching
Technical Details
Message-ID: <29404@amdcad.AMD.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!decwrl!amdcad!pepsi!ching
References: <1641@maytag.waterloo.edu> <29381@amdcad.AMD.COM> <1651@maytag.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!decwrl!amdcad!pepsi!ching
From: ching@pepsi.amd.com (Mike Ching)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Cache hit counter wanted
Message-ID: <29404@amdcad.AMD.COM>
Date: 7 Mar 90 18:29:29 GMT
References: <1641@maytag.waterloo.edu> <29381@amdcad.AMD.COM> <1651@maytag.waterloo.edu>
Sender: news@amdcad.AMD.COM
Reply-To: ching@pepsi.AMD.COM (Mike Ching)
Organization: Advanced Micro Devices, Inc. Sunnyvale CA
Lines: 21