Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Subject: Re: Wanted: System tune-up hints for Decsystem 2100
Date: 22 Sep 92 18:37:44 GMT	[thread overview]
Message-ID: <1992Sep22.183744.6212@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 1992Sep22.103058.20970@monu6.cc.monash.edu.au


In article <1992Sep22.103058.20970@monu6.cc.monash.edu.au>, anthony@yoyo.cc.monash.edu.au (Anthony Baxter) writes:
>
> [ Offered a whole bunch of good suggestions on where to look for
>   more ways to improve the performance of this overloaded DECstation
>   2100.  His comments were retained are preceded by >>. ]
>
>hirai@cc.swarthmore.edu (Eiji Hirai) writes:
>
> [ This customer responded with commentary on the suggestions. ]
>

I don't know who originated comments preceded by >>>.

>>Another performance gain can be had by editing /usr/sys/conf/mips/param.c
>>and enabling cache_bufcache:

>>> int     cache_bufcache = 1;

>What does this do? I saw something about 'enables hardware buffer caching',
>but how is this different to 'not enabled buffer caching'?
>

If you have a copy of "mips RISC ARCHITECTURE", by Gerry Kane, handy
turn to the Memory Management chapter.  I'll do a quick, hopefully
accurate, summary for those that don't have the book handy.  When
the MIPS CPU is in kernel mode it has access to four distinct virtual
address spaces.  One of these is the area that maps the 2 GB address
space available to user processes (kuseg).  The other three are kseg0
and kseg1 that directly map the first 512 MB of physical memory.  Accesses
to kseg1 are uncached, while accesses to kseg0 are cached.  The 4th
segment is kseg2 which can be cached and is mapped by the TLB.

At this point I'm not sure where the buffer cache is accessed.  There
are two choices.

1.  Kseg1 when cache_bufcache is turned off.

2.  Kseg2 with caching turned off when cache_bufcache is turned off
    and caching turned on when cache_bufcache is turned on.

The detailed benefits of using the hardware cache for the buffer
cache probably depend on the size of the cache and whether there
is any cache prefetch.

>
>As a 'Hey DEC, could this be fixed', I'll add the following postscript:
>This decsystem 2100 had recently been up for nearly two months. The swap
>fragmentation amount (aka the 'wasted' number in pstat -s) was over 
>25 gigabytes. Not bad, considering we only had 24M real and 128M virtual
>memory. Is this (minor, but initially worrying) bug fixed in Ultrix 4.3?

I've never been able to exercise this particular bug myself, so I haven't
been able to see whether or not it is fixed in V4.3.  I've got the release
notes around somewhere, so I can look through the list of things that
were fixed...  I went through the list of kernel fixes and didn't see
this one mentioned.  If you still see it upon upgrading to V4.3, please
submit an SPR.

Finally a potential performance suggestion.  The next time you have
the system down, check the microcode version of the RZ55s.  You should
be able to get this from the "scsi pb" command of the console monitor.
If the version is 700 or less, contact DEC Field Service to see if you
can get the microcode update (V900).  This microcode changes enables
the read-ahead cache in the RZ55.  It was previously disabled.

>
>Anthony
>-- 
>           anthony baxter                  rdt : anthony@rdt.monash.edu.au.
> gaunix : anthony@yoyo.cc.monash.edu.au.  work : anthony@aaii.oz.au
>     digital technology  /  general access unix group  /  a a i i
>           monash university     melbourne,  australia
>
--
Alan Rollow				alan@nabeth.cxo.dec.com


  parent reply	other threads:[~1992-09-22 18:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-09-18 17:52 Wanted: System tune-up hints for Decsystem 2100 Anthony Baxter
1992-09-21 17:50 ` Eiji Hirai
1992-09-22 10:30   ` Anthony Baxter
1992-09-22 18:10     ` Eiji Hirai
1992-09-22 19:28       ` Mike Iglesias
1992-09-23  5:29       ` Anthony Baxter
1992-09-23 15:38         ` Terry Gray
1992-09-22 18:37     ` Alan Rollow - Alan's Home for Wayward Tumbleweeds. [this message]
1992-09-23  5:35       ` Anthony Baxter
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox