Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: john@avante.WPI.EDU (John Stoffel)
Subject: Re: tuning/monitoring advfs and the Universal Buffer Cache
Date: 1995/05/17	[thread overview]
Message-ID: <JOHN.95May17181754@avante.WPI.EDU> (raw)
In-Reply-To: ASH.95May16145923@mr4.mr.ams.org

>>>>> "Alan" == Alan Harder <ash@math.ams.org> writes:

You've asked a question near and dear to my heart, tuning Advfs on
Digital Unix for the best performance.  The best place to look that I
know of is the "System Tuning & Performance Management" guide which is
on the "DEC OSF/1 Online Documentation V3.2" CD.  Part # AG-QDWBA-XE,
disk 2 of 2.   BUT!  This guide is pretty poor at describing how the
various IO sections layer ontop of one another.  I know CAM is on the
bottom, and VFS should be on the top, but how does it all connect to
each other in the middle?

Alan> How can you find out the hit rate from UBC?
 
If you get the program vmubc from gatekeeper.dec.com and the latest
version I have is 1.33.

Alan> How can you find out how much of virtual memory the UBC is using?

The UBC doesn't use virtual memory, it competes with it for physical
memory and swap space.  If you use the command 'sysconfig -q vm' you
will see what the current values are for ubc-* and vm-* parameters.

Alan> What is the effect of raising UBCMINPERCENT?

This tells the system to always give a certain percentage of the
system's memory and swap space to be used for UFS, CDFS and MFS IO
buffers.   But not for Advfs IO, which isn't really explained well.  

So if your system is primarly a compute server, then you probably
don't want to raise the UBCMINPERCENT too high.  But if you are a file
server, you probably do want to raise this number higher.  If you are
using UFS filesystems. :[

Alan> Are there any other parameters that can be twiddled, such as
Alan> UBCBUFFERS?

Another parameter to twiddle is 'AdvfsCacheMaxPercent' which is set by
default to 7%, and which I've bumped to 30% on my NFS server.  This
seems to help, but in general it hasn't helped as much as I would
like.   We're even running a PrestoServe board and it's not helping
either.  

The other thing to do is to run 'defragment' on all your Advfs domains
once a week for a few hours, to cut down on fragmentation, which does
slow down access.  This is one of the few tuning options given in the
guide for Advfs filesystems.

If you don't have any UFS filesystems, you can drop the VFS bufcache
parameter from 3% down to 0 if you like, since you aren't using any of
those buffers.

My personal problem is that filesystem metadata isn't being cached as
well as I would like.  NFS traffic on our system falls into three big
areas, getattr @ 35%, lookup @ 33% and read @ 9%.  So what I want to
minimize is the lookup and getattr times on my system.

As I understand it, the major problem with Advfs performance tuning is
the relative newness of the filesystem.  DEC has spents alot of time
tuning UFS and offering options so that you can tune the UFS to handle
the load you are placing on it.  For exmaple, if you have Prestoserve
on UFS filesystems, you can tell the Presto board to cache Metadata
requests only.  As of now, you can't do so much tuning with Advfs
filesystems.

Hope this helps.  And while I'm not happy with the performance, I'm
never going back to UFS, just the drop in reboot time has been worth
it.  Say no to fsck!

John

         John F. Stoffel - john@wpi.edu - 508-831-5512 - FL 111F
 Workstation Specialist - Worcester Polytechnic Institute College Computer Ctr.
			Kill your television



  parent reply	other threads:[~1995-05-17  4:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-16  4:00 tuning/monitoring advfs and the Universal Buffer Cache Alan Harder
1995-05-16  4:00 ` oberman
1995-05-17  4:00 ` John Stoffel [this message]
1995-05-18  4:00   ` cherkus
1995-05-19  4:00   ` John Stoffel
1995-05-19  4:00   ` g0daeniken
1995-05-20  4:00   ` Saul Tannenbaum
1995-06-01  4:00     ` Saul Tannenbaum
1995-05-22  4:00   ` Torbj|rn Lindgren
1995-05-23  4:00   ` John Stoffel
1995-05-23  4:00   ` John Stoffel
1995-05-24  4:00   ` John Kohl
1995-05-18  4:00 ` g0daeniken
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