From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,8141fa624eb2eb0 X-Google-Attributes: gid10b612,public X-Google-Thread: 140334,b2449966b1bb6a26 X-Google-Attributes: gid140334,public X-Google-Thread: 1164f8,8141fa624eb2eb0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-09-22 04:04:42 PST Xref: sparky comp.sys.dec:5132 comp.unix.ultrix:7080 Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nabeth!alan From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Newsgroups: comp.sys.dec,comp.unix.ultrix,gaunix.system Subject: Re: Wanted: System tune-up hints for Decsystem 2100 Message-ID: <1992Sep22.183744.6212@nntpd2.cxo.dec.com> Date: 22 Sep 92 18:37:44 GMT References: <1992Sep18.175210.584@monu6.cc.monash.edu.au> <1992Sep22.103058.20970@monu6.cc.monash.edu.au> Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Organization: Digital Equipment Corporation 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