From owner-freebsd-current@FreeBSD.ORG Thu Jun 23 21:38:21 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28D351065670 for ; Thu, 23 Jun 2011 21:38:21 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A8B628FC13 for ; Thu, 23 Jun 2011 21:38:20 +0000 (UTC) Received: by fxm11 with SMTP id 11so2306244fxm.13 for ; Thu, 23 Jun 2011 14:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ys3h5cDeNosy6Ue1eAXhdXC+iSQugR6Zdhvl1GVzGf8=; b=vZmLV7YpXHKHpfeRVZWplRoycmtwBDihClsKK7SHvQN99E2lZS6GSemQ1/ItoWRwEB FcZIxGLCiayQrVRdFnKsQ1KKHG4LPkqzgpOfVIGEjeF4gQysJpngX/ccGPykPwoBC0e+ ZM5Hvc866mdhsWX6/KxFkCBsy7KfUGMaLt3C4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=K9LCyvxOoMMpVYI8oAkaayST6ZduXlidpiXUw0QxbEDANXtTvQuxhvjdiUNKwegavo 7IXCB3kURMtCmp4BsMU7NkpintZlX/4XigQSptxK6da2JN1OwdnffoDx7j89qKUJRBED zwPMcsFh1i8Wjz7zR+6g2a/8jJBp0GfJFq4KI= Received: by 10.223.99.85 with SMTP id t21mr3292152fan.102.1308863299214; Thu, 23 Jun 2011 14:08:19 -0700 (PDT) Received: from localhost (lan-78-157-92-5.vln.skynet.lt [78.157.92.5]) by mx.google.com with ESMTPS id h28sm1230974faj.5.2011.06.23.14.08.17 (version=SSLv3 cipher=OTHER); Thu, 23 Jun 2011 14:08:18 -0700 (PDT) Date: Fri, 24 Jun 2011 00:08:02 +0300 From: Gleb Kurtsou To: Olivier Smedts Message-ID: <20110623210802.GA12046@tops> References: <20110623163109.GA508@dragon.NUXI.org> <4E038357.6030505@ipfw.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, mj@feral.com, "Alexander V. Chernikov" Subject: Re: Thoughts on TMPFS no longer being considered "highly experimental" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 21:38:21 -0000 On (23/06/2011 20:44), Olivier Smedts wrote: > 2011/6/23 Alexander V. Chernikov : > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Matthew Jacob wrote: > >> > >> I gave up on using it after a brief try earlier this year. I can't > >> remember the details, but it did lock up my amd64 system. > >> > >> On Thu, 23 Jun 2011, David O'Brien wrote: > >> > >>> Does anyone object to this patch? > >>> > >>> David Wolfskill and I have run TMPFS on a number of machines for two > >>> years with no problems. > >>> > >>> I may have missed something, but I'm not aware of any serious PRs on > >>> TMPFS either. > > > > There was some issues with sendfile(2) and mmap(2) causing kernel hangs > > in some cases. vim triggers such hangs for me. However, those problems > > were fixed and MFCed (afair). > > > > I'm using tmpfs on several machines in production without any problems. > > Maybe being _highly_ experimental for nearly 4 years is enough? :) > > I think there are still problems with high wired memory consumers like > ZFS. I've got 0-sized tmpfs with 8GB RAM + ZFS with 4GB ARC + 4GB > swap. There is a patch to make tmpfs memory management more strict (more aggressive), and set default partition size to half of all memory. http://marc.info/?l=freebsd-fs&m=129747362722933&w=2