From owner-freebsd-current@FreeBSD.ORG Thu May 27 16:21:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB9AB16A4CE for ; Thu, 27 May 2004 16:21:50 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D1743D31 for ; Thu, 27 May 2004 16:21:50 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i4RNLRDv098211 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 28 May 2004 01:21:30 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i4RNKCUi052379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 May 2004 01:20:12 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i4RNKBqH021418; Fri, 28 May 2004 01:20:11 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i4RNKAcs021417; Fri, 28 May 2004 01:20:10 +0200 (CEST) (envelope-from ticso) Date: Fri, 28 May 2004 01:20:10 +0200 From: Bernd Walter To: Ivan Voras Message-ID: <20040527232009.GA63479@cicely12.cicely.de> References: <40B4ECC8.50808@fer.hr> <20040526202849.GA37162@freebie.xs4all.nl> <40B519DA.7000708@fer.hr> <20040527120819.B8434@gamplex.bde.org> <40B5DE26.4040901@fer.hr> <20040527124512.GV63479@cicely12.cicely.de> <40B5E66F.7000507@fer.hr> <20040527140744.GW63479@cicely12.cicely.de> <40B60D2E.3050003@fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B60D2E.3050003@fer.hr> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: current@freebsd.org Subject: Re: Softupdates a mount option? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 23:21:50 -0000 On Thu, May 27, 2004 at 05:45:50PM +0200, Ivan Voras wrote: > Bernd Walter wrote: > > >>>SU makes perfectly sense for swap backed md drives. > >> > >>I always thought the "swap backed" meant the memory is allocated from the > >>same pool as for userland applications, e.g. they only get swapped out if > >>memory is scarce. Is this wrong? > > > > > >You are right, but md(4) doesn't know about the filesystem and therefor > >can't know which blocks have content to keep and which are unused. > >SU now allows files that are deleted quite fast to never touch the > >block device and md never need to write those blocks into swap storage > >as they never got dirty. > > As opposed to the 'async' mode? I think all async mode files get writen sooner or later even if already deleted, but I'm not shure. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de