From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "E. Richard Glazier" Newsgroups: gmane.os.tru64.managers Subject: vm / ubc questions Date: Thu, 05 Sep 2002 00:55:40 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1031187255 8251 127.0.0.1 (5 Sep 2002 00:54:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 00:54:15 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17mkuT-00028x-00 for ; Thu, 05 Sep 2002 02:54:13 +0200 Original-Received: (qmail 25440 invoked by uid 5); 5 Sep 2002 00:55:45 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25431 invoked by uid 49493); 5 Sep 2002 00:55:45 -0000 Original-Received: from erglazier@hotmail.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.406723 secs); 05 Sep 2002 00:55:45 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 5 Sep 2002 00:55:45 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1X00BRHX8WUY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Sep 2002 20:55:44 -0400 (EDT) Original-Received: from hotmail.com (f16.law4.hotmail.com [216.33.149.16]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1X00FEIX8S1W@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 04 Sep 2002 20:55:41 -0400 (EDT) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 04 Sep 2002 17:55:40 -0700 Original-Received: from 63.93.126.51 by lw4fd.law4.hotmail.msn.com with HTTP; Thu, 05 Sep 2002 00:55:40 +0000 (GMT) X-Originating-IP: [63.93.126.51] Original-To: tru64-unix-managers@ornl.gov X-OriginalArrivalTime: 05 Sep 2002 00:55:40.0614 (UTC) FILETIME=[F495FE60:01C25476] Xref: main.gmane.org gmane.os.tru64.managers:1583 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1583 Sorry for the barrage of questions, but I wanted some clarification on some of these memory / monitoring issues and I knew this would be the place to ask. Some of these I'm sure I have the correct understanding of, but there is some conflicting information out there (including old Tru64 manager lists), so anything you can provide would be great. I will summarize. TIA. Tru64 5.1 PK4 on a GS80- 8 cpu, 16GB mem. -------------------------------------------------------------------- If UBC is shared for filesystem cashing and VM, what is the rest of available physical memory used for? When I see free pages (from vmstat, collect, monitor, etc), is that free pages from UBC and otherwise? Does the fact UBC shares it's space with VM mean that UBC is for filesystem cache only, until VM free pages outside UBC are gone (ubc_max_percent is 55%) and it then borrows pages from UBC? Does "free memory" not include UBC, or is it just free pages anywhere? Is the shared memory segment(s) hard wired outside of UBC, or is it part of UBC? How is this reflected in vmstat / vmubc output? Is it part of "active pages"? Does "paging" mean page-out operations- i.e if I see 0 "page outs" in vmstat, does that mean I'm not paging? What is a page-in operation? Is that just brining a dirty page from the swap space to the free list? I have plenty of UBC (the hit rate is around 88%), plenty of free memory (around 2GB), and 0 page-outs, but I have roughly the same number of page-ins as I did before I added more memory. Do my vm_page* settings need to be changed? Are pages getting cleaned because of a time-out and not because there is a lack of available pages? Are page-ins CPU intensive operations? Does a UBC LRU or an "old" VM page that gets put to disk not constitute a page-out? Does my swap space need to be at least equal the amount of physical memory because in theory that many dirty pages could be put to disk (it currently is less than half, but I'm not paging or swapping)? Should swap_egar be 0 for best performance, if you have pleanty of free memory? Should my UBC hit rate be higher than 88%? Would increasing the ubc_min_percent (currently 10%) help this? It doesn't look like UBC gets close to the ubc_min_percent value. Is a hit rate of close to 100% unrealistic because there are always going to be new i/o fetches for data that's never been cashed before? What are granularity hints? Do we need Direct I/O to take advantage of this? How would I set this up having an unpartitioned GS? Am I better of to use ssm_threshhold? _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com