🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.hardware.misc
Article #187

Re: Cacheing Hard Disk Controllers

#187
From: Yu-Ping Cheng
Date: Tue, 08 Aug 1995 00:00
44 lines
3100 bytes
In article <5rPFb5roUjB@irata.Jena.Thur.De>
Marc Mueller <MaMue@irata.Jena.Thur.De> wrote:
> ycheng@advansys.com (Yu-Ping Cheng)  wrote :
> > Use the regular PCI SCSI controller with the SMART drive from your
> > Windows. Don't waste any money on the cacheing controller, which is only
> > good for benchmark tests.
> 
> The best thing I ever bought is my PCI Cache Controller. SMARTDRIVE is the  
> *absolut* *slowest* cacheing software (several programs are faster, e.g.  
> HyperDisk).

I think we need some intro how about cache controller works.

Most operating systems, including DOS and Windows, already cashe the hard
disk data.  Depending on the cache size when the requested data is not
in cache, the operating system needs to go to a controller, which in turn
goes to hard disk, to get the data. The purpose of cache is to avoid the
hard disk access time -- normally around 15 msec.  Cache can be accessed
in sub-milliesecond.

Say, if the operating system keeps 1M of cache and your controller has 2M 
of cache, you have some chance finding the data in the controller cache 
after missing it in the operating system cache.  But, if we reverse this,
2M in OS and 1M in controller, you have ZERO chance finding the data in the
controller cache after missing the data in the OS cache.

SmartDrive is a form of operating system cache supplimenting the OS cache.
When data are transferred from SmartDrive, it is done by PIO, about 24 CPU
clocks every four bytes.  When data are transferred from the controller
cache, it is done by bus master, four bytes burst every bus clock.  This
is why your SmartDrive will always be slower than your controller in your
benchmark tests.  This is what I mean that the cache controller is great
for benchmarks.

Most operating systems like UNIX will allocate all unused memory for cache.
Hence, sometimes the system will 4M+ of cache. Now, if you have 1M of cache
on your controller, you have ZERO chance of finding data in the controller
after missing the data in the OS.  SmartDrive is a very effective way of
reducing the 15 msec disk access time to sub-milliesecond memory access
time for DOS and Windows users. 

-- 
Y.P. Cheng,   ycheng@advansys.com
"We will be successful, because we won't accept failure."
Technical Details
Message-ID: <408nqk$hjf@aimnet1.aimnet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3vn231$7fp@cleese.apana.org.au> <3vu9tr$2er@aimnet1.aimnet.com> <5rPFb5roUjB@irata.Jena.Thur.De>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d683,87705628d8f7e5d9
X-Google-Attributes: gid10d683,public
X-Google-Thread: f4d7c,87705628d8f7e5d9
X-Google-Attributes: gidf4d7c,public
X-Google-Thread: 109e38,87705628d8f7e5d9
X-Google-Attributes: gid109e38,public
From: ycheng@advansys.com (Yu-Ping Cheng)
Subject: Re: Cacheing Hard Disk Controllers
Date: 1995/08/08
Message-ID: <408nqk$hjf@aimnet1.aimnet.com>
X-Deja-AN: 107751790
distribution: world
references: <3vn231$7fp@cleese.apana.org.au>        <3vu9tr$2er@aimnet1.aimnet.com> <5rPFb5roUjB@irata.Jena.Thur.De>
content-type: text/plain; charset=us-ascii
organization: Advanced System Products Inc.
mime-version: 1.0
newsgroups: comp.sys.ibm.pc.hardware.misc,aus.computers.ibm-pc,comp.sys.ibm.pc.hardware.storage