From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Reed, Judith" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: "collect" utility swap use reporting inaccurate? Date: Wed, 08 Oct 2003 08:59:32 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1065618002 13416 80.91.224.253 (8 Oct 2003 13:00:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2003 13:00:02 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Oct 08 14:59:59 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1A7Dv5-0003xg-00 for ; Wed, 08 Oct 2003 14:59:59 +0200 Original-Received: (qmail 21492 invoked by uid 5); 8 Oct 2003 12:59:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21477 invoked by uid 49493); 8 Oct 2003 12:59:52 -0000 Original-Received: from jreed@navisite.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 0.662959 secs); 08 Oct 2003 12:59:52 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 8 Oct 2003 12:59:51 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMF00D9FW3QCB@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Oct 2003 08:59:50 -0400 (EDT) Original-Received: from SYEEXC.corp.int.com (medusa.appliedtheory.com [204.168.65.3]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMF007B8W38OM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 08 Oct 2003 08:59:33 -0400 (EDT) Original-To: "Reed, Judith" , tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: SUMMARY: "collect" utility swap use reporting inaccurate? Thread-Index: AcN5KjfSm2/ycpqLT76pRUbz8qihzQItOfhQAF95xcACXf5bYAAxDJhw content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:5528 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5528 I asked about the accuracy of what "collect -s pm" is reporting for swap utilization (T64 5.1a, PK2), as man page says the swap figure is total free, but on our system which doesn't appear to be swapping at all, that value is sitting at 67 (MB?) when there is 8GB total swap. I rec'd several responses, thanks to all. Fred N. van Kempen speculates that collect may be reporting pure overhead space used (data structures) - the actual amount of disk space used (in blocks), not the number of pages swapped=20 Dr. Tom Blinn advises: * check vmstat "pout" output on first line - total # of pages swapped since last reboot - if this number is low, you have not swapped many pages. * check "swapon -s" output for available space - "If you have lazy swap as the policy, then you may have almost all your swap available and none of it allocated (since the only time pages get allocated with lazy swap will be when you actually have to swap things out, and even then, the pages get freed if the process that owns them terminates)" and further notes "I really have to run the system out of physical memory to get it to swap, since most of the time the VM subsystem will free up the clean pages (and write back the dirty pages) from the universal buffer cache (UBC) and free up enough memory, and also discard clean pages from process' address spaces that are mapped to the file system (e.g., code pages from parts of the programs that are no longer needed in their active working sets since they are no longer executing in that part of the code)." Alan Rollow says=20 "67 MB is 8,576 pages, which is a value that doesn't show up in the swapon listing. If the value is what is claiming to be then it should be consistent with something seen from swapon -s. Looks to me like Collect has a bug." and finally, Jesper Frank Nemholt (HP) says: "It's a bug in Collect.If you upgrade to the latest patchkit you'll get a collect that reports correctly."