From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bc629884c9a218b9 X-Google-Attributes: gidfee84,public From: john@avante.WPI.EDU (John Stoffel) Subject: Re: tuning/monitoring advfs and the Universal Buffer Cache Date: 1995/05/17 Message-ID: #1/1 X-Deja-AN: 102838697 references: organization: Worcester Polytechnic Institute newsgroups: comp.unix.osf.osf1 >>>>> "Alan" == Alan Harder 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