From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Derek Gatherer Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: swapon and memory Date: Mon, 23 Feb 2004 09:35:21 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.2.1.1.1.20040223091938.00abe758@udcf.gla.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: sea.gmane.org 1077528961 18634 80.91.224.253 (23 Feb 2004 09:36:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2004 09:36:01 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Feb 23 10:35:55 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AvCVH-0000UA-00 for ; Mon, 23 Feb 2004 10:35:55 +0100 Original-Received: (qmail 29028 invoked by uid 5); 23 Feb 2004 09:35:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29013 invoked by uid 49493); 23 Feb 2004 09:35:19 -0000 Original-Received: from d.gatherer@vir.gla.ac.uk 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.978335 secs); 23 Feb 2004 09:35:19 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 23 Feb 2004 09:35:18 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTJ00AHY6MTMM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Feb 2004 04:35:17 -0500 (EST) Original-Received: from lenzie.cent.gla.ac.uk (lenzie.cent.gla.ac.uk [130.209.34.18]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HTJ00E4O6MMQ8@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Feb 2004 04:35:15 -0500 (EST) Original-Received: from avon.vir.gla.ac.uk (134pc80.vir.gla.ac.uk [130.209.134.80]) by lenzie.cent.gla.ac.uk (8.11.7/8.11.2) with ESMTP id i1N9Z3l00691 for ; Mon, 23 Feb 2004 09:35:03 +0000 (GMT) X-Sender: dgath001@udcf.gla.ac.uk Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Xref: main.gmane.org gmane.os.tru64.managers:6492 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6492 This was solved using dxkernaltuner. Thanks to Thomas Blinn, Alan Rollow, Yogesh Bhanu, Thomas Sjolshagen, Alan Davis, Kevin Raubenolt and Nicola Milutiniovic (I think that's all, sorry if anybody is missing), for many suggestions as to which parameters to tune and how. The old config that won't run: > ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 131072 stack(kbytes) 8192 memory(kbytes) 243792 coredump(blocks) unlimited nofiles(descriptors) 4096 vmemory(kbytes) 4194304 the new config that does run: > ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 248260 stack(kbytes) 8192 memory(kbytes) 243896 coredump(blocks) unlimited nofiles(descriptors) 4096 vmemory(kbytes) 4194304 The crucial kernal variable seems to be per_proc_data_size = 254217728 which was previously: per_proc_data_size = 134217728 Also max_per_proc_data_size was tuned to be the difference between max_per_proc_address_space and max_per_proc_stack_size, ubc.maxpercent was reduced to 50%, gh_chuks was turned on, as was vm_bigp_enabled, maxusers was reduced from 256 to 128, vm_swap_eager was turned off, and max_proc_per_user was increased to 512. Some of these may be non-essential to solving the problem, but the machine seems to be happy. Thanks again to all Derek _________________________ Derek Gatherer Ph.D. Cert.Ed. Computer Officer Institute of Virology Church St. Glasgow G11 5JR Phone: +44 141 330 6268 Fax: +44 141 337 2236 Email: d.gatherer@vir.gla.ac.uk Website: http://www.vir.gla.ac.uk