From owner-freebsd-questions@FreeBSD.ORG Tue Nov 1 15:13:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4D77B16A41F for ; Tue, 1 Nov 2005 15:13:15 +0000 (GMT) (envelope-from npacemo@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C111A43D46 for ; Tue, 1 Nov 2005 15:13:14 +0000 (GMT) (envelope-from npacemo@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1061854nzo for ; Tue, 01 Nov 2005 07:13:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dhgp2JhsmnVX8dcz9cuZ3VpBBCEeZrklv0ikhMO6mrEd1XH3MSRlZqE7HS/4KeQcGQG0OeHPOl6e1dhLScXm8p2bP/2GIlFLgt/NgdkT6khqu9V3LxcIfT98Ew+ia86cA8vbaa8JMkflDW8euq5cAOstrJh/vNSWGvpq+LLzXjc= Received: by 10.37.2.33 with SMTP id e33mr4204576nzi; Tue, 01 Nov 2005 07:13:13 -0800 (PST) Received: by 10.36.250.38 with HTTP; Tue, 1 Nov 2005 07:13:13 -0800 (PST) Message-ID: <666bdb140511010713x1374bde5n@mail.gmail.com> Date: Tue, 1 Nov 2005 17:13:13 +0200 From: Vladimir Tsvetkov To: Ian Lord In-Reply-To: <6.2.3.4.2.20051101094812.030e2d20@pop.msdi.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.3.4.2.20051101094812.030e2d20@pop.msdi.ca> Cc: freebsd-questions@freebsd.org Subject: Re: Swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 15:13:15 -0000 > Hi, > > I just bought 4 servers with 4 gigs of ram, the documentation > proposes to use 2 to 3 times the amount of ram for swap... I don't > think 12 gigs of swap would be useful lol, but do I really need to > put 4 gigs of ram. (It might be useful for kernel dump but...) > > What do you guys do with swap space in this scenario ? It depends on how big is the address space for your machines. 32-bit machines can address 4GB of memory, so it's reasonable to use 2 or 3 times the amount of RAM space (if you hawe 256MB or 512MB - the swap should be 768MB or 1GB), but if you have 32bit machines with 4GB of memory there is no need to use more than 4GB for swap. 64-bit machines can address 2^64 bytes which is a very big address space, so you should use the guidelines in the documentation (FreeBSD Handbook). Best regards, Vladimir