From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jreed@appliedtheory.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: What is meant by "significcantly less than the address space limit"? (fwd) Date: Thu, 03 Oct 2002 10:18:15 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200210031418.g93EIFw7027330@franklin.appliedtheory.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033655014 30062 127.0.0.1 (3 Oct 2002 14:23:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 14:23:34 +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 17x6sy-0007o6-00 for ; Thu, 03 Oct 2002 16:23:28 +0200 Original-Received: (qmail 19664 invoked by uid 5); 3 Oct 2002 14:23:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19626 invoked by uid 49493); 3 Oct 2002 14:23:39 -0000 Original-Received: from jreed@appliedtheory.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-0.4/5.0):. Processed in 0.674474 secs); 03 Oct 2002 14:23:39 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 3 Oct 2002 14:23:38 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3E00CPBTBDZZ@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Oct 2002 10:23:38 -0400 (EDT) Original-Received: from franklin.appliedtheory.com (franklin.appliedtheory.com [204.168.16.151]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3E00EE0TB631@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Oct 2002 10:23:31 -0400 (EDT) Original-Received: from appliedtheory.com (athena.appliedtheory.com [204.168.26.44]) by franklin.appliedtheory.com (MYOB/0.0.0) with ESMTP id g93EIFw7027330 for ; Thu, 03 Oct 2002 10:18:15 -0400 Original-To: tru64-unix-managers@ornl.gov X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 X-VirusScanner: Found to be clean Xref: main.gmane.org gmane.os.tru64.managers:1943 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1943 I asked: ----------------------------------------------------------------- On Tru64 v5.1a systems with 8GB memory running internet servers and oracle database, I'm trying to increase various memory parameters, going thru tuning docs, on both: [max_]per_proc_stack_size and [max_]per_proc_data_size the documentation says: "Choose values that are significantly less than the address space limit" What do they mean by "significantly less"?? Half of it? 3/4 of it? That's a very relative sort of statement. Defaults Recommended (for internet server) max_per_proc_stack_size = 33,554,432 bytes per_proc_stack_size = 8,388,608 bytes max_per_proc_data_size = 1GB 10GB per_proc_data_size = 134,217,728 bytes [max_]per_proc_address_space = 4GB 10GB How can max_per_proc_data_size be recommended at 10GB, yet still "significantly less than" max_per_proc_address_space" which is also recommended to be set to 10GB?????????????? ------------------------------------------------------------------- I got 2 responses: >From Joerg Bruehe: IMHO, "significantly less" depends on the intended usage of the system: The more processes with high memory usage you want to support simultaneously, the larger the distance between the individual requirement ("...per_proc_..._size") and your available RAM should be. IOW: A single large process might use all available RAM (or even more address space causing some paging), but several similar concurrent ones would not make much progress, let alone leave capacity for other parallel use. >From alan@nabeth (who will be missed on this list!): I don't know the full context of the suggestion, but my guess that it has to do with ways to avoid paging or how to save on memory used for page tables. From the paging perspective, if you allow users to take a significant part of the total system virtual address space, you increase the chance that the system will page. If users don't need access to that much memory, then limiting the -per-proc parameters will limit virtual memory usage and paging. Limiting those parameters may also reduce the number of page table entries that the kernel needs for each process, which may also limit kernel memory usage some. It could also be that the recommendation is wrong. Often the people that should review documentation don't, or don't do a good job and less than ideal recommendations slip in. The writing group has an e-mail address that is published (or used to be) on the Reader's Comments page of each printed document. You might try forwarding the question directly to them. They can get a clarification may be able to include that in some future document. I ended up making a best guess, setting per_proc_data_size to 1GB, max_per_proc_data_size to 4GB, max_per_proc_address_space to 10GB. Thanks much to those who responded! JR