Caching disk controllers and 386 multiprocessor

Piercarlo Grandi pcg at aber-cs.UUCP
Wed Jun 14 01:57:07 AEST 1989


In article <134 at unifax.UUCP> sl at unifax.UUCP (Stuart Lynne) writes:
    
    It seems obvious that adding 2MB of buffers is going to help somewhat. 
    But where is the best place to put the memory, on the controller or in the 
    kernel?

Extensive research (on mainframes, mostly) shows that caching is better done
by the os in main memory. Also, it is vastly more flexible. Even more
important, caching controllers become married to their discs, and need (if
safety has any importance) battery backup of the cache.
    
    I get the impression from the articles I read that the reviewer simply puts
    in the caching controller steps back and marvels at the improved response
    :-)

Precisely, even reviewers are often just glorified naive users, and don't
bother twiddling the cache size. I remember reading that on a "tipical mini"
a unix buffer cache of 2 megs gives you a hit rate of almost 90%. Using large
buffer caches in NFS clients (25% of memory) *and* servers (I have configured
cache of up to 6 megs) cuts network traffic and clients response time
wonderfully.
-- 
Piercarlo "Peter" Grandi           | ARPA: pcg%cs.aber.ac.uk at nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth        | UUCP: ...!mcvax!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg at cs.aber.ac.uk



More information about the Comp.unix.xenix mailing list