From owner-freebsd-stable@FreeBSD.ORG Tue Apr 5 14:09:31 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B05E41065673 for ; Tue, 5 Apr 2011 14:09:31 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 504868FC0A for ; Tue, 5 Apr 2011 14:09:31 +0000 (UTC) Received: (qmail 30657 invoked from network); 5 Apr 2011 14:09:30 -0000 Received: from unknown (HELO ?10.50.50.234?) (spawk@64.147.100.2) by acm.poly.edu with CAMELLIA256-SHA encrypted SMTP; 5 Apr 2011 14:09:30 -0000 Message-ID: <4D9B229C.1050103@acm.poly.edu> Date: Tue, 05 Apr 2011 10:09:32 -0400 From: Boris Kochergin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101106 Thunderbird/3.1.6 MIME-Version: 1.0 To: Pete French References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org, freebsd@jdc.parodius.com, avg@FreeBSD.org Subject: Re: Kernel memory leak in 8.2-PRERELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2011 14:09:31 -0000 On 04/05/11 10:04, Pete French wrote: >> Adding some swap would help a lot more. > So, I run a lot of systems without swap - basically my > thinking at the time I set them up went like this. > > "I have 4 gig of memory, and 4 gig of swap. Surely running 8 gig of > memory and no swap will be just as good ?" > > but, is that actually true ? Is real RAM as good as an equivalent amount > of swap, or is there smething special about swap which means you shoud > have some no matter how much RAM you have ? > > -pete. I guess swap is special since I assume memory used by the kernel will never be offloaded to it (could be wrong), but userspace memory will, so it is guaranteed to be available to userspace processes only. -Boris