From owner-freebsd-performance@FreeBSD.ORG Thu May 1 18:01:28 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90D0837B401 for ; Thu, 1 May 2003 18:01:28 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C9743F85 for ; Thu, 1 May 2003 18:01:28 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0223.cvx40-bradley.dialup.earthlink.net ([216.244.42.223] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19BOvV-0006qp-00; Thu, 01 May 2003 18:01:26 -0700 Message-ID: <3EB1C059.2BF994B7@mindspring.com> Date: Thu, 01 May 2003 17:48:25 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: User DERO References: <20030501190036.1111A37B401@hub.freebsd.org> <20030501202719.W356@bluhayz.homeunix.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a471bbe19c0c546b4a2f85523bb5f8e5a62601a10902912494350badd9bab72f9c350badd9bab72f9c cc: freebsd-performance@freebsd.org Subject: Re: freebsd-performance Digest, Vol 3, Issue 1 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 01:01:28 -0000 User DERO wrote: > Ok, a whole lot of talk about swapping and all, but any of you who have > seen a new computer magazine knows that even common desktop PCs are > capable of a couple GB of RAM. SO, if I am building a high powered > desktop, or a medium sized server. With between 2-4GB of RAM, should I be > partitioning my precious server space with a 4-10GB partition of SWAP? No,you shopuld be swapping to a fileint FS that gets expanded automatically, as needed, just like Windows and MacOS X. Too bad it's not supported, and too bad that, if it was, the overhead would be too high because there's not VOP to get the FS block offsets, so you would have to go trouh the FS code to swap, and it would be much, much slower. > Since it is a large load LAN server, with about 2GB of RAM, should I have > a good 5GB SWAP partition. > And another question, since buying a couple gigs of RAM upfront isn't an > option, but adding on later is, can FreeBSD handle a multiple GB SwapFile? Yes, sort of. Swap gets page mappings, and the total of all page mappings is 4G on Intel (32 bit) architectures. -- Terry