From owner-freebsd-stable@FreeBSD.ORG Tue Apr 5 14:28:49 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 3F62B106564A for ; Tue, 5 Apr 2011 14:28:49 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED2258FC12 for ; Tue, 5 Apr 2011 14:28:48 +0000 (UTC) Received: by iwn33 with SMTP id 33so496690iwn.13 for ; Tue, 05 Apr 2011 07:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=eDiAexLXpY7tYuJD1IjApT1WICd4/GdBCVNCxs/59LU=; b=bPibjgLeDoftsfT2tE/mWhrMKrAaHjNKWLFfaUWnEE4fAyUcM5r0jYH5wiID3Jj4hr gYEFN5pI2xGVGPFHsde49Kwy5mje9x4QKD15IwIRf0sIl9mtVF1frRs5S8jlL8H5BoNo 496RHNnlhqaiKetdmBiEhUzffkVJDiMe65v6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vp4oROSgueXSuIZwddYp3SdBVXI+NMbwJuvYW0LRk7bfYFw+PNE6mjISIAXRWLgx1E vsL/GEu16WotLy1671hShZxUTNpoa6yuciVtbbXzvMF+EQK7NedyACyRRn9K5GL4d97K 4K3iKOsUX2aQ5AzAv0C201C3Zv2hwAhQojkks= MIME-Version: 1.0 Received: by 10.231.34.4 with SMTP id j4mr5239705ibd.83.1302013728213; Tue, 05 Apr 2011 07:28:48 -0700 (PDT) Received: by 10.231.11.196 with HTTP; Tue, 5 Apr 2011 07:28:48 -0700 (PDT) In-Reply-To: <4D9B229C.1050103@acm.poly.edu> References: <4D9B229C.1050103@acm.poly.edu> Date: Tue, 5 Apr 2011 17:28:48 +0300 Message-ID: From: George Kontostanos To: Pete French , freebsd-stable@freebsd.org, freebsd@jdc.parodius.com, avg@freebsd.org, Boris Kochergin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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:28:49 -0000 Years ago when RAM was expensive swap a necessary workaround. That doesn't mean that swap is useless. It all depends on what a server is doing. If you are using a database server then it is absolutely normal and expected to cache. Also, unlike other OS FreeBSD tends to make use of the ram. Swaping recently used data is not bad and it is the way it works. Regards On Tue, Apr 5, 2011 at 5:09 PM, Boris Kochergin wrote: > 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- George Kontostanos aisecure.net