From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Bryant Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Shared memory Date: Wed, 05 Mar 2003 09:19:29 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1046877580 32297 80.91.224.249 (5 Mar 2003 15:19:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 15:19:40 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Mar 05 16:19:36 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18qagC-0008OK-00 for ; Wed, 05 Mar 2003 16:19:36 +0100 Original-Received: (qmail 11280 invoked by uid 5); 5 Mar 2003 15:19:55 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11271 invoked by uid 49493); 5 Mar 2003 15:19:55 -0000 Original-Received: from Chris.Bryant@DTAG.Com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.9/5.0):. Processed in 0.413575 secs); 05 Mar 2003 15:19:55 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 5 Mar 2003 15:19:54 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HBA0037Q7X2BU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Mar 2003 10:19:54 -0500 (EST) Original-Received: from tfyfw.thrifty.com ([65.64.34.2]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HBA00BP97WPST@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Mar 2003 10:19:43 -0500 (EST) Original-Received: by tfyfw.thrifty.com; id JAA07603; Wed, 05 Mar 2003 09:11:59 -0600 (CST) Original-Received: from unknown(172.23.116.35) by tfyfw.thrifty.com via csmap (V1.5) id srcAAA0QO6oF; Wed, 05 Mar 2003 09:11:54 -0600 Original-Received: by dtagimc.thrifty.com with Internet Mail Service (5.5.2653.19) id ; Wed, 05 Mar 2003 09:19:32 -0600 Original-To: "Tru64 Unix \(tru64-unix-managers@ornl.gov\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3536 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3536 Thanks to Alan Rollow - Dr. File System's Home for Wayward Inodes. [alan@desdra.cxo.cpqcorp.net], Dr. Thomas Blinn, and Peter Gergen for their responses. Here are their responses Alan Rollow - The shared memory is virtual memory. It can be paged, just like all other virtual memory. And, OSF/1 (*) being lazy about allocating pages to virtual memory, if it hasn't ever been touched, it may not have ever had pages allocated to it. I don't know that this is the case, but seems the most plausible to me. (*) OSF/1 -> DEC OSF/1 -> Digital UNIX -> Tru64 UNIX Dr. Thomas Blinn - Are you assuming that shared memory is "wired" (can't be paged in and out)? That's not so.. it is demand paged like process private memory unless you programmatically lock it into physical memory, and doing so is messy with shared memory segments because you would also have to explicitly release it when all the applications exit, unless you want to tie up physical memory. This whole thing is probably not broken, so you might be well advised to not try to "fix it". Peter Gergen - Sounds like there is an inclusion of your swap space in the calculation for virtual memory. I am gathering from these responses that it can be paged so my vmstat -P still is correct with regards to virtual memory being used. Chris -----Original Message----- From: Chris Bryant Sent: Tuesday, March 04, 2003 11:10 AM To: Tru64 Unix (tru64-unix-managers@ornl.gov) Subject: Shared memory Admins, We have a GS140 6 cpu's and 20 GB of memory running oracle 8.1.7.4 with SGA set to 11 GB. When executing ipcs -b, shared memory adds up to 11 GB however when executing a vmstat -P it is showing about 2000000 free pages ( approx 16 GB free ). This does not seem consitant to me. Could anyone point me in the right direction as to why my shared memory adds up to 11 GB and I have 16 GB free. I will summarize. TIA, Chris Bryant Unix Administrator Dollar Thrifty Automotive Group (918) 669-3213