From owner-freebsd-questions@FreeBSD.ORG Thu May 27 01:44:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D67E16A4CE for ; Thu, 27 May 2004 01:44:48 -0700 (PDT) Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB26743D39 for ; Thu, 27 May 2004 01:44:47 -0700 (PDT) (envelope-from kantsg@netscape.net) Received: from kantsg@netscape.net by imo-d01.mx.aol.com (mail_out_v37_r1.3.) id n.7.d62990d (16239); Thu, 27 May 2004 04:44:04 -0400 (EDT) Received: from netscape.net ([203.196.221.154]) by air-in03.mx.aol.com (v99_r4.3) with ESMTP id MAILININ33-3f6f40b5aa4f92; Thu, 27 May 2004 04:44:03 -0400 Message-ID: <40B5AB8F.8080908@netscape.net> Date: Thu, 27 May 2004 14:19:19 +0530 From: "T. Srikanth" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Jamie Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 203.196.221.154 X-Mailer: Unknown (No Version) Subject: Re: Swap space - max size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 08:44:48 -0000 Jamie, Run the following script on your system under maximum load. #!/bin/sh - ps -o vsz -o rss | grep '[0123456789]' | \ awk '{ i += $1; j += $2; } END { printf("VSZ=%dK, RSS=%dK\n", i, j); }' If you see VSZ is very close to the swap size and RSS is getting closer to the available physical memory, you should have to tune your system by increasing the swap. A process that is swapped out is not necessarily swapped in immediately, so you can pick your choice of the swap size that meets the requirements of VSZ (above). --Srikanth -- >From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 19:10:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F12116A4CE for ; Tue, 2 Mar 2004 19:10:18 -0800 (PST) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id C891B43D1D for ; Tue, 2 Mar 2004 19:10:17 -0800 (PST) (envelope-from jamie@gnulife.org) Received: from floyd.gnulife.org (localhost.gnulife.org [127.0.0.1]) by floyd.gnulife.org (8.12.11/8.12.11) with ESMTP id i2349Lvt072292 for ; Tue, 2 Mar 2004 22:09:21 -0600 (CST) (envelope-from jamie@gnulife.org) Received: from localhost (jamie@localhost)i2349Lml072289 for ; Tue, 2 Mar 2004 22:09:21 -0600 (CST) (envelope-from jamie@gnulife.org) X-Authentication-Warning: floyd.gnulife.org: jamie owned process doing -bs Date: Tue, 2 Mar 2004 22:09:21 -0600 (CST) From: Jamie To: freebsd-questions@freebsd.org Message-ID: <20040302220558.R72279@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 Subject: Swap space - max size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 03:10:18 -0000 Is there any point in adding more than 2 Gb of swap space on an x86 if you have 2 Gb of ram? From what I've read, x86 can address 4 Gb of memory, so it would seem that more than 4 Gigs of combined memory and swap space would be wasted. Am I right? Thanks, - Jamie Greetings from Minneapolis, MN, United States "A friend is someone who lets you have total freedom to be yourself."